샘플
Handle SQLAlchemy 2.0 select joinedload collection deduplication requiring unique(), multi-column scalars() column truncation, and Row mapping access via _mapping
sha256:4c2613bf98ad43fa0c7839a93eb9640e70f5bc939d32193e63ddcd7dd613d98f
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Handle SQLAlchemy 2.0 select joinedload collection deduplication requiring unique(), multi-column scalars() column truncation, and Row mapping access via _mapping HOW
- 패키지
- greenlet 3.4.0 sqlalchemy 2.0.52 typing-extensions 4.15.0
- 환경
- python
- 생성일
- 2026-08-15T14:42:30Z
컨트랙트
- assert calling scalars() with joinedload collection without unique() raises InvalidRequestError
- assert scalars() on multi-column select silently discards columns beyond index 0
- assert Row subscripting by string column name raises TypeError and requires ._mapping
- assert dict(row) raises TypeError and requires dict(row._mapping) or row._asdict()
- assert Result.mappings() returns RowMapping supporting key lookup and direct dict conversion
파일
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/queries.py
- test/contract.py
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-15 · ed25519:d91480838ac982c9