Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1561 - 1570 of 1,944 for field (0.02 seconds)

  1. tests/test_dependency_yield_except_httpexception.py

    initial_state = {"except": False, "finally": False}
    
    state = initial_state.copy()
    
    app = FastAPI()
    
    
    async def get_database():
        temp_database = fake_database.copy()
        try:
            yield temp_database
            fake_database.update(temp_database)
        except HTTPException:
            state["except"] = True
            raise
        finally:
            state["finally"] = True
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/body-nested-models.md

    ## Поля списку { #list-fields }
    
    Ви можете визначити атрибут як підтип. Наприклад, Python-список (`list`):
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Це зробить `tags` списком, хоча не визначається тип елементів списку.
    
    ## Поля списку з параметром типу { #list-fields-with-type-parameter }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  interruptee.interrupt();
                  Thread.yield();
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. internal/event/target/webhook.go

    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	ClientCert string          `json:"clientCert"`
    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    	if w.QueueDir != "" {
    		if !filepath.IsAbs(w.QueueDir) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

        // No data is returned in a successful reconnect response
    
        /**
         * Create a new durable handle reconnect response
         */
        public DurableHandleReconnectResponse() {
            // No data fields for reconnect response
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlog/EditForm.java

        public String id;
    
        /**
         * Default constructor for EditForm.
         */
        public EditForm() {
            // Default constructor
        }
    
        /**
         * Initializes the form by resetting all fields to their default values.
         */
        public void initialize() {
            id = null;
            logType = null;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/request-form-models.md

    Вы можете проверить это в интерфейсе документации по адресу `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Запрет дополнительных полей формы { #forbid-extra-form-fields }
    
    В некоторых случаях (не особо часто встречающихся) вам может понадобиться **ограничить** поля формы только теми, которые объявлены в Pydantic-модели. И **запретить** любые **дополнительные** поля.
    
    /// note | Заметка
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. cmd/data-usage-cache.go

    //msgp:tuple dataUsageEntryV2
    type dataUsageEntryV2 struct {
    	// These fields do no include any children.
    	Size     int64
    	Objects  uint64
    	ObjSizes sizeHistogram
    	Children dataUsageHashMap
    }
    
    //msgp:tuple dataUsageEntryV3
    type dataUsageEntryV3 struct {
    	// These fields do no include any children.
    	Size     int64
    	Objects  uint64
    	ObjSizes sizeHistogram
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  interruptee.interrupt();
                  Thread.yield();
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/stream-json-lines.md

    /// tip
    
    如果你想串流二進位資料,例如影像或音訊,請參考進階指南:[串流資料](../advanced/stream-data.md)。
    
    ///
    
    ## 使用 FastAPI 串流 JSON Lines { #stream-json-lines-with-fastapi }
    
    要用 FastAPI 串流 JSON Lines,你可以在你的*路徑操作函式*中改用 `yield` 逐一產生項目,而不是用 `return`。
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    如果你要回傳的每個 JSON 項目型別都是 `Item`(一個 Pydantic 模型),而且該函式是 async,你可以將回傳型別宣告為 `AsyncIterable[Item]`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top