Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 191 for custom (0.34 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

    But recent versions of Pydantic allow providing a custom class that inherits from `pydantic.utils.GetterDict`, to provide the functionality used when using the `orm_mode = True` to retrieve the values for ORM model attributes.
    
    We are going to create a custom `PeeweeGetterDict` class and use it in all the same Pydantic *models* / schemas that use `orm_mode`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/middleware.md

    # Advanced Middleware
    
    In the main tutorial you read how to add [Custom Middleware](../tutorial/middleware.md){.internal-link target=_blank} to your application.
    
    And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}.
    
    In this section we'll see how to use other middlewares.
    
    ## Adding ASGI middlewares
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/extensions.kt

    const val pluginPortalUrlOverride = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%"
    
    fun BuildSteps.customGradle(init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit): GradleBuildStep =
        GradleBuildStep(init)
            .apply(custom)
            .also {
                step(it)
            }
    
    /**
     * Adds a [Gradle build step](https://confluence.jetbrains.com/display/TCDL/Gradle)
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  4. pyproject.toml

    "docs_src/dependencies/tutorial009.py" = ["F821"]
    "docs_src/dependencies/tutorial010.py" = ["F821"]
    "docs_src/custom_response/tutorial007.py" = ["B007"]
    "docs_src/dataclasses/tutorial003.py" = ["I001"]
    "docs_src/path_operation_advanced_configuration/tutorial007.py" = ["B904"]
    "docs_src/path_operation_advanced_configuration/tutorial007_pv1.py" = ["B904"]
    "docs_src/custom_request_and_route/tutorial002.py" = ["B904"]
    "docs_src/dependencies/tutorial008_an.py" = ["F821"]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/README.md

    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() {
      @Override public void log(String message) {
        Timber.tag("OkHttp").d(message);
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/BUILD

    # Build a shared library (DLL) by cc_binary from tf_custom_op_library_additional_deps_impl,
    # it contains all object code from its dependencies.
    # This target is only used for parsing the symbols to be exported in tensorflow.dll.
    # Do NOT depend on it.
    tf_native_cc_binary(
        name = "tf_custom_op_library_additional_deps.dll",
        linkshared = 1,
        linkstatic = 1,
        deps = tf_custom_op_library_additional_deps_impl(),
    )
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  7. docs/extensions/fan-out/README.md

    an S3 extension to the [PostUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) where in a special fan-out list is sent along with the TSB's for MinIO make multiple uploads from a single source stream. Optionally supports custom metadata, tags and other retention settings. All objects are also readable independently once upload is completed via the regular S3 [GetObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) API.
    
    ## How to enable Fan-Out...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 25 05:51:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. operator/README.md

    ```
    
    If you don't specify a configuration profile, Istio is installed using the `default` configuration profile. All
    profiles listed in istio.io are available by default, or `profile:` can point to a local file path to reference a custom
    profile base to use as a starting point for customization. See the [API reference](https://github.com/istio/api/blob/master/operator/v1alpha1/operator.proto)
    for details.
    
    ## Developer quick start
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/certificates/v1/generated.proto

    //
    // This API can be used to request client certificates to authenticate to kube-apiserver
    // (with the "kubernetes.io/kube-apiserver-client" signerName),
    // or to obtain certificates from custom non-Kubernetes signers.
    message CertificateSigningRequest {
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // spec contains the certificate request, and is immutable after creation.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    We see that we are going to need some dependencies used in several places of the application.
    
    So we put them in their own `dependencies` module (`app/dependencies.py`).
    
    We will now use a simple dependency to read a custom `X-Token` header:
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8" title="app/dependencies.py"
        {!> ../../../docs_src/bigger_applications/app_an_py39/dependencies.py!}
        ```
    
    === "Python 3.8+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top