Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,756 for gone (0.2 sec)

  1. cmd/object-handlers-common_test.go

    		expectedCode      int
    	}{
    		// If-None-Match(false) and If-Modified-Since(true)
    		{
    			name:            "If-None-Match1",
    			ifNoneMatch:     "aa",
    			ifModifiedSince: "Sun, 26 Aug 2024 02:01:00 GMT",
    			objInfo:         objInfo,
    			expectedFlag:    true,
    			expectedCode:    304,
    		},
    		// If-Modified-Since(false)
    		{
    			name:            "If-None-Match2",
    			ifNoneMatch:     "aaa",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. docs/pl/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

      }
    
      /**
       * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long,
       * TimeUnit)} overload in order to test that method.
       */
      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return getUninterruptibly(future, 0, SECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. cmd/shared-lock.go

    	ctx, cancel := context.WithCancel(context.Background())
    	go func() {
    		select {
    		case <-ctx1.Done():
    		case <-ctx2.Done():
    		// The lock acquirer decides to cancel, exit this goroutine
    		case <-ctx.Done():
    		}
    
    		cancel()
    	}()
    	return ctx, cancel
    }
    
    func (ld sharedLock) GetLock(ctx context.Context) (context.Context, context.CancelFunc) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. docs/es/docs/how-to/separate-openapi-schemas.md

    </div>
    
    Esto significa que **siempre tendrá un valor**, solo que a veces el valor podría ser `None` (o `null` en JSON).
    
    Eso significa que, los clientes que usan tu API no tienen que comprobar si el valor existe o no, pueden **asumir que el campo siempre estará allí**, pero solo que en algunos casos tendrá el valor por defecto de `None`.
    
    La forma de describir esto en OpenAPI es marcar ese campo como **requerido**, porque siempre estará allí.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. docs/sts/client_grants/__init__.py

            """
            if self.cid is not None:
                fetcher = self._create_credentials_fetcher()
                return RefreshableCredentials.create_from_metadata(
                    metadata=fetcher(),
                    refresh_using=fetcher,
                    method=self.METHOD,
                )
            else:
                return None
    
        def _create_credentials_fetcher(self):
            method = self.METHOD
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image02.png">
    
    ## 응답 모델 인코딩 매개변수
    
    응답 모델은 아래와 같이 기본값을 가질 수 있습니다:
    
    {* ../../docs_src/response_model/tutorial004.py hl[11,13:14] *}
    
    * `description: Optional[str] = None`은 기본값으로 `None`을 갖습니다.
    * `tax: float = 10.5`는 기본값으로 `10.5`를 갖습니다.
    * `tags: List[str] = []` 빈 리스트의 기본값으로: `[]`.
    
    그러나 실제로 저장되지 않았을 경우 결과에서 값을 생략하고 싶을 수 있습니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. docs/de/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  9. docs/pt/docs/how-to/separate-openapi-schemas.md

    </div>
    
    Isso significa que ele **sempre terá um valor**, só que às vezes o valor pode ser `None` (ou `null` em termos de JSON).
    
    Isso quer dizer que, os clientes que usam sua API não precisam verificar se o valor existe ou não, eles podem **assumir que o campo sempre estará lá**, mas que em alguns casos terá o valor padrão de `None`.
    
    A maneira de descrever isso no OpenAPI é marcar esse campo como **obrigatório**, porque ele sempre estará lá.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/response-model.md

    Ваша модель відповіді може мати значення за замовчуванням, наприклад:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (або `str | None = None` у Python 3.10) має значення за замовчуванням `None`.
    * `tax: float = 10.5` має значення за замовчуванням `10.5`.
    * `tags: List[str] = []` має значення за замовчуванням порожній список: `[]`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top