Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for informal (0.16 sec)

  1. tests/test_jsonable_encoder.py

        def __iter__(self):
            raise NotImplementedError()
    
        @property
        def __dict__(self):
            raise NotImplementedError()
    
    
    class RoleEnum(Enum):
        admin = "admin"
        normal = "normal"
    
    
    class ModelWithConfig(BaseModel):
        role: Optional[RoleEnum] = None
    
        if PYDANTIC_V2:
            model_config = {"use_enum_values": True}
        else:
    
            class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/symbolDeclarationRenderer/Fe10IdeNormalAnalysisSourceModuleSymbolRenderingByReferenceTestGenerated.java

        return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
          new AnalysisApiTestConfiguratorFactoryData(
            FrontendKind.Fe10,
            TestModuleKind.Source,
            AnalysisSessionMode.Normal,
            AnalysisApiMode.Ide
          )
        );
      }
    
      @Test
      public void testAllFilesPresentInSymbolRenderingByReference() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 22 12:44:13 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/scopeProvider/Fe10IdeNormalAnalysisSourceModulePackageScopeTestGenerated.java

        return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
          new AnalysisApiTestConfiguratorFactoryData(
            FrontendKind.Fe10,
            TestModuleKind.Source,
            AnalysisSessionMode.Normal,
            AnalysisApiMode.Ide
          )
        );
      }
    
      @Test
      public void testAllFilesPresentInPackageScope() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    ```Python hl_lines="2  12  15-18"
    {!../../../docs_src/app_testing/tutorial001.py!}
    ```
    
    !!! tip
        Notice that the testing functions are normal `def`, not `async def`.
    
        And the calls to the client are also normal calls, not using `await`.
    
        This allows you to use `pytest` directly without complications.
    
    !!! note "Technical Details"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. manifests/charts/gateways/istio-ingress/templates/injected-deployment.yaml

         Any settings from values.gateways should be here - these are options specific to the gateway.
         Global settings, like the image, various env vars and volumes, etc will be injected.
         The normal Deployment is not suitable for this, as the original pod spec will override the injection template. */}}
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: {{ $gateway.name | default "istio-ingressgateway" }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. manifests/charts/gateways/istio-egress/templates/injected-deployment.yaml

         Any settings from values.gateways should be here - these are options specific to the gateway.
         Global settings, like the image, various env vars and volumes, etc will be injected.
         The normal Deployment is not suitable for this, as the original pod spec will override the injection template. */}}
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: {{ $gateway.name | default "istio-egressgateway" }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/annotations/Fe10IdeNormalAnalysisSourceModuleAnalysisApiAnnotationsOnDeclarationsTestGenerated.java

        return AnalysisApiFe10TestConfiguratorFactory.INSTANCE.createConfigurator(
          new AnalysisApiTestConfiguratorFactoryData(
            FrontendKind.Fe10,
            TestModuleKind.Source,
            AnalysisSessionMode.Normal,
            AnalysisApiMode.Ide
          )
        );
      }
    
      @Test
      public void testAllFilesPresentInAnnotationsOnDeclaration() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  9"
    {!../../../docs_src/custom_response/tutorial006c.py!}
    ```
    
    ### `StreamingResponse`
    
    Takes an async generator or a normal generator/iterator and streams the response body.
    
    ```Python hl_lines="2  14"
    {!../../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

    As dependencies will also be called by **FastAPI** (the same as your *path operation functions*), the same rules apply while defining your functions.
    
    You can use `async def` or normal `def`.
    
    And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc.
    
    It doesn't matter. **FastAPI** will know what to do.
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/behind-a-proxy.md

    But if you go with your browser to <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000/app</a> you will see the normal response:
    
    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    So, it won't expect to be accessed at `http://127.0.0.1:8000/api/v1/app`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
Back to top