Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Osipov (0.12 sec)

  1. docs_src/query_params_str_validations/tutorial015_an_py310.py

    from pydantic import AfterValidator
    
    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
            raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"')
        return id
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-03-01 22:02
    - 768 bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial015_an.py

    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
            raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"')
        return id
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-03-01 22:02
    - 810 bytes
    - Viewed (0)
  3. docs_src/query_params_str_validations/tutorial015_an_py39.py

    from pydantic import AfterValidator
    
    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
            raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"')
        return id
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-03-01 22:02
    - 781 bytes
    - Viewed (0)
  4. internal/s3select/sql/jsonpath_test.go

    		{"s.authorInfo.yearRange", []interface{}{[]interface{}{1890.0, 1976.0}, []interface{}{1920.0, 1992.0}, []interface{}{1881.0, 1975.0}}},
    		{"s.authorInfo.name", []interface{}{"Agatha Christie", "Isaac Asimov", "P. G. Wodehouse"}},
    		{"s.authorInfo.yearRange[0]", []interface{}{1890.0, 1920.0, 1881.0}},
    		{"s.publicationHistory[0].pages", []interface{}{256.0, 336.0, Missing{}}},
    	}
    	for i, tc := range cases {
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-09-23 19:35
    - 2.8K bytes
    - Viewed (0)
Back to top