- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NoneType (0.04 sec)
-
tests/test_params_repr.py
def test_body_repr_list(): assert repr(Body([])) == "Body([])" def test_depends_repr(): assert repr(Depends()) == "Depends(NoneType)" assert repr(Depends(get_user)) == "Depends(get_user)" assert repr(Depends(use_cache=False)) == "Depends(NoneType, use_cache=False)" assert ( repr(Depends(get_user, use_cache=False)) == "Depends(get_user, use_cache=False)"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.3K bytes - Viewed (0) -
internal/s3select/progress.go
} scannedReader := newCountUpReader(rc) pr := progressReader{ rc: rc, scannedReader: scannedReader, } var r io.Reader switch compType { case noneType: r = scannedReader case gzipType: gzr, err := gzip.NewReader(scannedReader) if err != nil { if errors.Is(err, gzip.ErrHeader) || errors.Is(err, gzip.ErrChecksum) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 4.3K bytes - Viewed (0)