Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 694 for Kass (0.2 sec)

  1. docs/de/docs/advanced/additional-status-codes.md

    !!! warning "Achtung"
        Wenn Sie eine `Response` direkt zurückgeben, wie im obigen Beispiel, wird sie direkt zurückgegeben.
    
        Sie wird nicht mit einem Modell usw. serialisiert.
    
        Stellen Sie sicher, dass sie die gewünschten Daten enthält und dass die Werte gültiges JSON sind (wenn Sie `JSONResponse` verwenden).
    
    !!! note "Technische Details"
        Sie können auch `from starlette.responses import JSONResponse` verwenden.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 23 13:04:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. tests/test_response_model_sub_types.py

    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": List[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    @app.get("/valid4", responses={"500": {"model": List[Model]}})
    def valid4():
        pass
    
    
    client = TestClient(app)
    
    
    def test_path_operations():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    	}
    
    	// An SSH server is represented by a ServerConfig, which holds
    	// certificate details and handles authentication of ServerConns.
    	sshConfig := &ssh.ServerConfig{
    		PasswordCallback: func(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error) {
    			if globalIAMSys.LDAPConfig.Enabled() {
    				sa, _, err := globalIAMSys.getServiceAccount(context.Background(), c.User())
    				if err != nil && !errors.Is(err, errNoSuchServiceAccount) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs/de/docs/how-to/separate-openapi-schemas.md

    <img src="/img/tutorial/separate-openapi-schemas/image02.png">
    </div>
    
    Das bedeutet, dass es **immer einen Wert** hat, der Wert kann jedoch manchmal `None` sein (oder `null` in JSON).
    
    Das bedeutet, dass Clients, die Ihre API verwenden, nicht prüfen müssen, ob der Wert vorhanden ist oder nicht. Sie können davon ausgehen, dass das Feld immer vorhanden ist. In einigen Fällen hat es jedoch nur den Defaultwert `None`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:18:03 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. .github/workflows/mint/nginx-1-node.conf

                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                chunked_transfer_encoding off;
    
                proxy_pass http://minio;
            }
        }
    
        server {
            listen       9001;
            listen  [::]:9001;
            server_name  localhost;
    
            # To allow special characters in headers
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/async-tests.md

    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## Details
    
    Der Marker `@pytest.mark.anyio` teilt pytest mit, dass diese Testfunktion asynchron aufgerufen werden soll:
    
    ```Python hl_lines="7"
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    !!! tip "Tipp"
        Beachten Sie, dass die Testfunktion jetzt `async def` ist und nicht nur `def` wie zuvor, wenn Sie den `TestClient` verwenden.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:25:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

        synchronized (collection) { // to allow Collections.synchronized* tests to pass
          Helpers.assertEqualIgnoringOrder(
              getSampleElements(), Arrays.asList(collection.stream().toArray()));
        }
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testStreamToArrayKnownOrder() {
        synchronized (collection) { // to allow Collections.synchronized* tests to pass
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/configure-swagger-ui.md

    # Configure Swagger UI
    
    You can configure some extra <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI parameters</a>.
    
    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_distributed_test.cc

        return tensorflow::errors::Internal("Graph pass runs for more than once!");
      }
    
     private:
      bool first_call_ = true;
    };
    
    // After the graph pass is registered, it takes effect globally and can affect
    // other test cases. Define a static variable to switch it on and off.
    bool GraphErrorInjectionPass::enabled_ = false;
    
    // Test to ensure that a registered graph optimization pass is only executed
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx-8-node.conf

                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                chunked_transfer_encoding off;
    
                proxy_pass http://minio;
            }
        }
    
        server {
            listen       9001;
            listen  [::]:9001;
            server_name  localhost;
    
            # To allow special characters in headers
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top