Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pyproject.toml

    warn_unused_ignores = false
    ignore_missing_imports = true
    
    [[tool.mypy.overrides]]
    module = "fastapi.tests.*"
    ignore_missing_imports = true
    check_untyped_defs = true
    
    [[tool.mypy.overrides]]
    module = "docs_src.*"
    disallow_incomplete_defs = false
    disallow_untyped_defs = false
    disallow_untyped_calls = false
    
    [tool.pytest.ini_options]
    addopts = [
      "--strict-config",
      "--strict-markers",
      "--ignore=docs_src",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        ref: Optional[str] = Field(default=None, alias="$ref")
        dynamicRef: Optional[str] = Field(default=None, alias="$dynamicRef")
        defs: Optional[Dict[str, "SchemaOrBool"]] = Field(default=None, alias="$defs")
        comment: Optional[str] = Field(default=None, alias="$comment")
        # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-a-vocabulary-for-applying-s
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. tests/test_validate_response_recursive/app_pv1.py

        name: str
    
    
    RecursiveItem.update_forward_refs()
    
    
    class RecursiveSubitemInSubmodel(BaseModel):
        sub_items2: List["RecursiveItemViaSubmodel"] = []
        name: str
    
    
    class RecursiveItemViaSubmodel(BaseModel):
        sub_items1: List[RecursiveSubitemInSubmodel] = []
        name: str
    
    
    RecursiveSubitemInSubmodel.update_forward_refs()
    
    
    @app.get("/items/recursive", response_model=RecursiveItem)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  4. fastapi/_compat.py

                else:
                    use_errors.append(error)
            return use_errors
    
        def _model_rebuild(model: Type[BaseModel]) -> None:
            model.update_forward_refs()
    
        def _model_dump(
            model: BaseModel, mode: Literal["json", "python"] = "json", **kwargs: Any
        ) -> Any:
            return model.dict(**kwargs)
    
        def _get_model_config(model: BaseModel) -> Any:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top