Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,562 for example (0.07 sec)

  1. docs/ja/docs/tutorial/extra-models.md

    `user_in`は`UserIn`クラスのPydanticモデルです。
    
    Pydanticモデルには、モデルのデータを含む`dict`を返す`.dict()`メソッドがあります。
    
    そこで、以下のようなPydanticオブジェクト`user_in`を作成すると:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="john.doe@example.com")
    ```
    
    そして呼び出すと:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    これで変数`user_dict`のデータを持つ`dict`ができました。(これはPydanticモデルのオブジェクトの代わりに`dict`です)。
    
    そして呼び出すと:
    
    ```Python
    print(user_dict)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

      // that is used when creating the resources.
      // +optional
      optional string apiGroup = 1;
    
      // Resource is the type of resource being referenced, for example "pods".
      optional string resource = 3;
    
      // Name is the name of resource being referenced.
      optional string name = 4;
    
      // UID identifies exactly one incarnation of the resource.
      optional string uid = 5;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. docs/sts/README.md

    2018/12/26 17:49:36 listening on http://localhost:8888/
    ```
    
    This will open the login page of keycloak, upon successful login, STS credentials along with any buckets discovered using the credentials will be printed on the screen, for example:
    
    ```
    {
      "buckets": [
        "bucket-x"
      ],
      "credentials": {
        "AccessKeyID": "6N2BALX7ELO827DXS3GK",
        "SecretAccessKey": "23JKqAD+um8ObHqzfIh+bfqwG9V8qs9tFY6MqeFR+xxx",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. docs/kms/IAM.md

    At any point in time you can switch from `MINIO_KMS_SECRET_KEY` to a full KMS
    deployment. You just need to import the generated key into KES - for example via
    the KES CLI once you have successfully setup KES:
    
    ```sh
    kes key create my-minio-key OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * Builder} constructor.
       */
      public static <B> Builder<B> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for creating immutable class-to-instance maps. Example:
       *
       * <pre>{@code
       * static final ImmutableClassToInstanceMap<Handler> HANDLERS =
       *     new ImmutableClassToInstanceMap.Builder<Handler>()
       *         .put(FooHandler.class, new FooHandler())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/handling-errors.md

    {!../../docs_src/handling_errors/tutorial001.py!}
    ```
    
    ### Возвращаемый ответ
    
    Если клиент запросит `http://example.com/items/foo` (`item_id` `"foo"`), то он получит статус-код 200 и ответ в формате JSON:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Но если клиент запросит `http://example.com/items/bar` (несуществующий `item_id` `"bar"`), то он получит статус-код 404 (ошибка "не найдено") и JSON-ответ в виде:
    
    ```JSON
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. docs/multi-user/README.md

    - `jwt:profile`
    - `jwt:picture`
    - `jwt:website`
    - `jwt:email`
    - `jwt:gender`
    - `jwt:birthdate`
    - `jwt:phone_number`
    - `jwt:address`
    - `jwt:scope`
    - `jwt:client_id`
    
    Following example shows OpenID users with full programmatic access to a OpenID user-specific directory (their own "home directory") in MinIO.
    
    ```
    {
      "Version": "2012-10-17",
      "Statement": [
    	{
    	  "Action": ["s3:ListBucket"],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        }
      }
    }
    
    fun main() {
      // Call this before anything else initialises the JSSE stack.
      WireSharkListenerFactory.register()
    
      val example = WiresharkExample(tlsVersions = listOf(TLS_1_2), launch = CommandLine)
      example.run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

    That's why, as said in the official website:
    
    > Requests is one of the most downloaded Python packages of all time
    
    The way you use it is very simple. For example, to do a `GET` request, you would write:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/behind-a-proxy.md

        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top