Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 2,183 for doAs (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_additional_responses/test_tutorial002.py

        assert response.status_code == 200, response.text
        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    @workdir_lock
    def test_path_operation_img(client: TestClient):
        shutil.copy("./docs/en/docs/img/favicon.png", "./image.png")
        response = client.get("/items/foo?img=1")
        assert response.status_code == 200, response.text
        assert response.headers["Content-Type"] == "image/png"
        assert len(response.content)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. docs/ja/docs/how-to/configure-swagger-ui.md

    既定では次の設定が含まれます:
    
    {* ../../fastapi/openapi/docs.py ln[9:24] hl[18:24] *}
    
    引数 `swagger_ui_parameters` に別の値を指定することで、これらを上書きできます。
    
    例えば、`deepLinking` を無効化するには、次の設定を `swagger_ui_parameters` に渡します:
    
    {* ../../docs_src/configure_swagger_ui/tutorial003_py310.py hl[3] *}
    
    ## その他の Swagger UI パラメータ { #other-swagger-ui-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

            val runningDocsTestTask: Property<Boolean>
        }
    
        override fun obtain(): String? = parameters.run {
            if (enableConfigurationCacheForDocsTests.getOrElse(false)) {
                // If the CC is enabled for docs tests, use a static dummy timestamp (the Epoch) so that we get hits,
                // otherwise we'll use the current timestamp by default and miss
                val formatter = SimpleDateFormat("yyyyMMddHHmmssZ").apply {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 05 17:24:26 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

        public void differentlyOverriddenNotAnnotatedInSubclass(Object o) {
          // the subclass overrides this and does *not* call super.dONAIS(o)
          differentlyOverriddenNotAnnotatedInSubclassBadEvents.add(o);
        }
    
        @Subscribe
        public void differentlyOverriddenAnnotatedInSubclass(Object o) {
          // the subclass overrides this and does *not* call super.dOAIS(o)
          differentlyOverriddenAnnotatedInSubclassBadEvents.add(o);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/header-param-models.md

    **FastAPI** **извлечёт** данные для **каждого поля** из **заголовков** запроса и выдаст заданную вами Pydantic-модель.
    
    ## Проверьте документацию { #check-the-docs }
    
    Вы можете посмотреть нужные header-параметры в графическом интерфейсе сгенерированной документации по пути `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. internal/kms/secret-key_test.go

    		Name:       key.KeyID,
    		Ciphertext: key.Ciphertext,
    	})
    	if err != nil {
    		t.Fatalf("Failed to decrypt key: %v", err)
    	}
    	if !bytes.Equal(key.Plaintext, plaintext) {
    		t.Fatalf("Decrypted key does not match generated one: got %x - want %x", key.Plaintext, plaintext)
    	}
    }
    
    func TestDecryptKey(t *testing.T) {
    	KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ForwardingObject.java

     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. The {@link
     * #delegate()} method must be overridden to return the instance being decorated.
     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
     * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/request-forms.md

    Si quieres leer más sobre estas codificaciones y campos de formulario, dirígete a las [<abbr title="Mozilla Developer Network - Red de Desarrolladores de Mozilla">MDN</abbr> web docs para `POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST).
    
    ///
    
    /// warning | Advertencia
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/how-to/conditional-openapi.md

    # 條件式 OpenAPI { #conditional-openapi }
    
    如果需要,你可以用設定與環境變數,依據執行環境有條件地調整 OpenAPI,甚至完全停用它。
    
    ## 關於安全性、API 與文件 { #about-security-apis-and-docs }
    
    在正式環境中隱藏文件 UI *不應該* 是用來保護 API 的方式。
    
    這並不會為你的 API 增添任何額外的安全性,*路徑操作* 仍舊照常可用。
    
    若你的程式碼有安全性缺陷,它依然會存在。
    
    隱藏文件只會讓他人更難理解如何與你的 API 互動,也可能讓你在正式環境除錯更困難。這通常僅被視為一種 [以隱匿求安全](https://en.wikipedia.org/wiki/Security_through_obscurity)。
    
    如果你想保護 API,有許多更好的作法,例如:
    
    - 確保針對請求本文與回應,具備定義良好的 Pydantic 模型。
    - 透過依賴設定所需的權限與角色。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  10. buildscripts/checkdeps.sh

    	GO_VERSION="1.16"
    	OSX_VERSION="10.8"
    	KNAME=$(uname -s)
    	ARCH=$(uname -m)
    	case "${KNAME}" in
    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    ## Once OSX has the option, below function is good enough.
    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:12:05 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top