Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,838 for inf2 (0.03 sec)

  1. docs/pt/docs/tutorial/request-files.md

    # Arquivos de Requisição
    
    Você pode definir arquivos para serem enviados pelo cliente usando `File`.
    
    /// info | Informação
    
    Para receber arquivos enviados, primeiro instale o <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Garanta que você criou um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, o ativou e então o instalou, por exemplo:
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/additional-responses.md

    例如,要声明另一个具有状态码 `404` 和`Pydantic`模型 `Message` 的响应,可以写:
    ```Python hl_lines="18  22"
    {!../../docs_src/additional_responses/tutorial001.py!}
    ```
    
    /// note
    
    请记住,您必须直接返回 `JSONResponse` 。
    
    ///
    
    /// info
    
    `model` 密钥不是OpenAPI的一部分。
    **FastAPI**将从那里获取`Pydantic`模型,生成` JSON Schema` ,并将其放在正确的位置。
    - 正确的位置是:
        - 在键 `content` 中,其具有另一个`JSON`对象( `dict` )作为值,该`JSON`对象包含:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      // name is the name of the API group whose discovery information is presented here.
      // name is allowed to be "" to represent the legacy, ungroupified resources.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. tests/test_security_api_key_cookie.py

    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. tests/test_security_api_key_cookie_description.py

    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/env/suggest/resources/log4j2.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <Configuration status="WARN">
    
    	<Properties>
    		<Property name="domain.name" value="${sys:fess.log.name:-fess}" />
    		<Property name="log.level" value="${sys:fess.log.level:-info}" />
    		<Property name="root.log.level" value="${sys:fess.log.level:-warn}" />
    		<Property name="log.pattern" value="%d [%t] %-5p %msg%n" />
    		<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 20 13:05:30 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/env/thumbnail/resources/log4j2.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <Configuration status="WARN">
    
    	<Properties>
    		<Property name="domain.name" value="${sys:fess.log.name:-fess}" />
    		<Property name="log.level" value="${sys:fess.log.level:-info}" />
    		<Property name="root.log.level" value="${sys:fess.log.level:-warn}" />
    		<Property name="log.pattern" value="%d [%t] %-5p %msg%n" />
    		<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 20 13:05:30 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial001.py

    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top