Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for names (0.14 sec)

  1. docs/language_names.yml

    清靈語 <******@****.***> 1705952573 +0800
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:42:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. tests/test_operations_signatures.py

    import inspect
    
    from fastapi import APIRouter, FastAPI
    
    method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"]
    
    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 bytes
    - Viewed (0)
  3. scripts/docs.py

        new_alternate: List[Dict[str, str]] = []
        # Language names sourced from https://quickref.me/iso-639-1
        # Contributors may wish to update or change these, e.g. to fix capitalization.
        language_names_path = Path(__file__).parent / "../docs/language_names.yml"
        local_language_names: Dict[str, str] = mkdocs.utils.yaml_load(
            language_names_path.read_text(encoding="utf-8")
        )
        for lang_path in get_lang_paths():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  4. docs/en/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image06.png">
    
    In this case you have:
    
    * `ItemsService`
    * `UsersService`
    
    ### Client Method Names
    
    Right now the generated method names like `createItemItemsPost` don't look very clean:
    
    ```TypeScript
    ItemsService.createItemItemsPost({name: "Plumbus", price: 5})
    ```
    
    ...that's because the client generator uses the OpenAPI internal **operation ID** for each *path operation*.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-multiple-params.md

    So, it will then use the parameter names as keys (field names) in the body, and expect a body like:
    
    ```JSON
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        },
        "user": {
            "username": "dave",
            "full_name": "Dave Grohl"
        }
    }
    ```
    
    !!! note
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  6. fastapi/dependencies/utils.py

            return True
        elif lenient_issubclass(type_annotation, Response):
            dependant.response_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, StarletteBackgroundTasks):
            dependant.background_tasks_param_name = param_name
            return True
        elif lenient_issubclass(type_annotation, SecurityScopes):
            dependant.security_scopes_param_name = param_name
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. tests/test_response_by_alias.py

                        "title": "ModelNoAlias",
                        "required": ["name"],
                        "type": "object",
                        "properties": {"name": {"title": "Name", "type": "string"}},
                        "description": "response_model_by_alias=False is basically a quick hack, to support proper OpenAPI use another model with the correct field names",
                    },
                }
            },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  8. .github/actions/people/app/main.py

                if author_time > one_month_ago:
                    last_month_commenters[author_name] += 1
                if author_time > three_months_ago:
                    three_months_commenters[author_name] += 1
                if author_time > six_months_ago:
                    six_months_commenters[author_name] += 1
                if author_time > one_year_ago:
                    one_year_commenters[author_name] += 1
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  9. docs/en/docs/python-types.md

    ```
    
    That's it.
    
    Those are the "type hints":
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    We are using colons (`:`), not equals (`=`).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    ```Python hl_lines="2  6-8"
    {!../../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    The following arguments are supported:
    
    * `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top