Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 467 for modulu (0.07 sec)

  1. docs/pt/docs/advanced/additional-responses.md

    ## Retorno Adicional com `model`
    
    Você pode fornecer o parâmetro `responses` aos seus *decoradores de caminho*.
    
    Este parâmetro recebe um `dict`, as chaves são os códigos de status para cada retorno, como por exemplo `200`, e os valores são um outro `dict` com a informação de cada um deles.
    
    Cada um desses `dict` de retorno pode ter uma chave `model`, contendo um modelo do Pydantic, assim como o `response_model`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts

    import gradlebuild.commons.configureJavaToolChain
    import org.jetbrains.kotlin.gradle.dsl.JvmTarget
    
    plugins {
        id("java-library")
        kotlin("jvm")
        id("gradlebuild.module-jar")
        id("gradlebuild.reproducible-archives")
        id("gradlebuild.repositories")
        id("gradlebuild.code-quality")
        id("gradlebuild.detekt")
        id("gradlebuild.test-retry")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.private-javadoc")
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 948 bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.html

    			};
    		}
    
    		const go = new Go();
    		let mod, inst;
    		WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => {
    			mod = result.module;
    			inst = result.instance;
    			document.getElementById("runButton").disabled = false;
    		}).catch((err) => {
    			console.error(err);
    		});
    
    		async function run() {
    			console.clear();
    			await go.run(inst);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  5. tests/test_tutorial/test_events/test_tutorial002.py

    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.events.tutorial002 import app
        yield app
    
    
    def test_events(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/items/")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. docs/debugging/inspect/go.mod

    module github.com/minio/minio/docs/debugging/inspect
    
    go 1.21
    
    require (
    	github.com/klauspost/compress v1.17.8
    	github.com/klauspost/filepathx v1.1.1
    	github.com/minio/colorjson v1.0.7
    	github.com/minio/madmin-go/v3 v3.0.52
    	github.com/secure-io/sio-go v0.3.1
    	github.com/tinylib/msgp v1.1.9
    )
    
    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.17.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 09:27:44 UTC 2024
    - 668 bytes
    - Viewed (0)
  7. mockwebserver-junit4/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "mockwebserver3.junit4")
      }
    }
    
    dependencies {
      api(projects.mockwebserver3)
      api(libs.junit)
    
      testImplementation(libs.assertk)
    }
    
    mavenPublishing {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 510 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_params/test_tutorial005.py

    client = TestClient(app)
    
    
    def test_get_enums_alexnet():
        response = client.get("/models/alexnet")
        assert response.status_code == 200
        assert response.json() == {"model_name": "alexnet", "message": "Deep Learning FTW!"}
    
    
    def test_get_enums_lenet():
        response = client.get("/models/lenet")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/body-fields.md

    ```
    
    /// warning | "Aviso"
    
    Note que `Field` é importado diretamente do `pydantic`, não do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare atributos do modelo
    
    Você pode então utilizar `Field` com atributos do modelo:
    
    ```Python hl_lines="11-14"
    {!../../docs_src/body_fields/tutorial001.py!}
    ```
    
    `Field` funciona da mesma forma que `Query`, `Path` e `Body`, ele possui todos os mesmos parâmetros, etc.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body.md

    {!../../docs_src/body/tutorial001.py!}
    ```
    
    ## Crie seu modelo de dados
    
    Então você declara seu modelo de dados como uma classe que herda `BaseModel`.
    
    Utilize os tipos Python padrão para todos os atributos:
    
    ```Python hl_lines="7-11"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top