Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,120 for Default (0.15 sec)

  1. docs_src/additional_status_codes/tutorial001.py

    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: Union[str, None] = Body(default=None),
        size: Union[int, None] = Body(default=None),
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 684 bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    ///
    
    ## Override the default exception handlers
    
    **FastAPI** has some default exception handlers.
    
    These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data.
    
    You can override these exception handlers with your own.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. .github/workflows/stale-issues.yml

              exempt-pr-labels: "override-stale"
              #Limit the No. of API calls in one run default value is 30.
              operations-per-run: 1000
              days-before-issue-stale: 7
              days-before-issue-close: 7
              stale-issue-label: "stale"
              # reason for closed the issue default value is not_planned
              close-issue-reason: completed
              # List of labels to remove when issues/PRs unstale. 
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jun 26 15:41:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial002_py39.py

    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class HeroBase(SQLModel):
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        secret_name: str
    
    
    class HeroPublic(HeroBase):
        id: int
    
    
    class HeroCreate(HeroBase):
        secret_name: str
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

     * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingSortedSetMultimap}.
     *
     * @author Kurt Alfred Kluever
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. docs/en/docs/reference/openapi/docs.md

    # OpenAPI `docs`
    
    Utilities to handle OpenAPI automatic UI documentation, including Swagger UI (by default at `/docs`) and ReDoc (by default at `/redoc`).
    
    ::: fastapi.openapi.docs.get_swagger_ui_html
    
    ::: fastapi.openapi.docs.get_redoc_html
    
    ::: fastapi.openapi.docs.get_swagger_ui_oauth2_redirect_html
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 360 bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        public abstract SetFeature[] value() default {};
    
        public abstract SetFeature[] absent() default {};
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. docs_src/sql_databases/tutorial001_an_py310.py

    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. helm-releases/minio-3.6.4.tgz

    kubernetes cluster domain where minio is running ## clusterDomain: cluster.local ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the ## image: repository: quay.io/minio/minio tag: RELEASE.2022-04-09T15-09-52Z pullPolicy: IfNotPresent imagePullSecrets: [] # - name: "image-pull-secret" ## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio ## client used to create a default bucket). ## mcImage: repository: quay.io/minio/mc tag: RELEASE.2022-04-07T21-43-27Z...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  10. internal/config/notify/help.go

    			Key:         target.AmqpMandatory,
    			Description: "quietly ignore undelivered messages when set to 'off', default is 'on'",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.AmqpDurable,
    			Description: "persist queue across broker restarts when set to 'on', default is 'off'",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top