Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for deflate (0.12 sec)

  1. docs/en/docs/reference/dependencies.md

    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`.
    
    But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`.
    
    You can import `Security()` directly from `fastapi`:
    
    ```python
    from fastapi import Security
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## Dependencies errors and return values
    
    You can use the same dependency *functions* you use normally.
    
    ### Dependency requirements
    
    They can declare request requirements (like headers) or other sub-dependencies:
    
    === "Python 3.9+"
    
        ```Python hl_lines="8  13"
        {!> ../../../docs_src/dependencies/tutorial006_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. docs/en/docs/reference/websockets.md

    # WebSockets
    
    When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it.
    
    It is provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi import WebSocket
    ```
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Declare como um parâmetro
    
    Para adicionar o corpo na *função de operação de rota*, declare-o da mesma maneira que você declarou parâmetros de rota e consulta:
    
    ```Python hl_lines="18"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    ...E declare o tipo como o modelo que você criou, `Item`.
    
    ## Resultados
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/InternalTransformer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal;
    
    /**
     * Equivalent to {@code Transformer}, but does not declare nullability due to Java 6 restrictions.
     *
     * <p>A {@code Transformer} transforms objects of type.</p>
     *
     * <p>Implementations are free to return new objects or mutate the incoming value.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinForwardDeclarationProviderFactory.kt

    public abstract class KotlinForwardDeclarationProviderFactory : KotlinOptionalPlatformComponent {
        /**
         * Create a Kotlin/Native declaration provider for [ktModule].
         *
         * Generally, only Kotlin/Native KLIB libraries can declare forward declarations.
         * For other types of [KtModule]s the provider normally shouldn't be created.
         *
         * @return a declaration provider for [ktModule] or `null` if the module cannot contain forward declarations
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

    These functions can be declared with `async def` or normal `def`.
    
    ### `startup` event
    
    To add a function that should be run before the application starts, declare it with the event `"startup"`:
    
    ```Python hl_lines="8"
    {!../../../docs_src/events/tutorial001.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

            );
        }
    
        private String missingScopeMessage(Class<?> serviceType) {
            return String.format(
                "The service '%s' is registered in the '%s' scope but does not declare it. " +
                    "Add the '@ServiceScope()' annotation on '%s' with the '%s' scope.",
                serviceType.getName(), scope.getSimpleName(), serviceType.getSimpleName(), scope.getSimpleName()
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/features/kube_features.go

    	// across UPDATE/PATCH requests.
    	CRDValidationRatcheting featuregate.Feature = "CRDValidationRatcheting"
    
    	// owner: @jpbetz
    	// alpha: v1.30
    	//
    	// CustomResourceDefinitions may include SelectableFields to declare which fields
    	// may be used as field selectors.
    	CustomResourceFieldSelectors featuregate.Feature = "CustomResourceFieldSelectors"
    )
    
    func init() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top