Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 7471 - 7480 of 7,804 for RETURN (0.1 seconds)

  1. CHANGELOG/CHANGELOG-1.17.md

    - Kubectl set resources will no longer return an error if passed an empty change for a resource. kubectl set subject will no longer return an error if passed an empty change for a resource. ([#85490](https://github.com/kubernetes/kubernetes/pull/85490), [@sallyom](https://github.com/sallyom))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jan 28 10:44:33 GMT 2021
    - 346.2K bytes
    - Click Count (1)
  2. docs/es/docs/advanced/response-directly.md

    # Devolver una Response Directamente { #return-a-response-directly }
    
    Cuando creas una *path operation* en **FastAPI**, normalmente puedes devolver cualquier dato desde ella: un `dict`, una `list`, un modelo de Pydantic, un modelo de base de datos, etc.
    
    Si declaras un [Response Model](../tutorial/response-model.md) FastAPI lo usará para serializar los datos a JSON, usando Pydantic.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image02.png">
    
    ## Andere Rückgabetyp-Annotationen { #other-return-type-annotations }
    
    Es kann Fälle geben, bei denen Sie etwas zurückgeben, das kein gültiges Pydantic-Feld ist, und Sie annotieren es in der Funktion nur, um Unterstützung von Tools zu erhalten (Editor, mypy, usw.).
    
    ### Eine Response direkt zurückgeben { #return-a-response-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_experimental_test.cc

    namespace tensorflow {
    namespace {
    
    static bool HasSubstr(absl::string_view base, absl::string_view substr) {
      bool ok = absl::StrContains(base, substr);
      EXPECT_TRUE(ok) << base << ", expected substring " << substr;
      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0("test/counter", status, "description");
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image02.png">
    
    ## Інші анотації типів повернення { #other-return-type-annotations }
    
    Можуть бути випадки, коли ви повертаєте щось, що не є валідним полем Pydantic, і анотуєте це у функції лише для того, щоб отримати підтримку від інструментів (редактора, mypy тощо).
    
    ### Повернути Response напряму { #return-a-response-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image02.png">
    
    ## Другие аннотации возвращаемых типов { #other-return-type-annotations }
    
    Бывают случаи, когда вы возвращаете что-то, что не является валидным полем Pydantic, и аннотируете это в функции только ради поддержки инструментов (редактор кода, mypy и т.д.).
    
    ### Возврат Response напрямую { #return-a-response-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  7. tests/test_dependency_contextvars.py

    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
        request_state = legacy_request_state_context_var.get()
        assert request_state
        return request_state["user"]
    
    
    client = TestClient(app)
    
    
    def test_dependency_contextvars():
        """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_additional_responses/test_tutorial002.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.additional_responses.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_path_operation(client: TestClient):
        response = client.get("/items/foo")
        assert response.status_code == 200, response.text
    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)
  9. docs/pt/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image02.png">
    
    ## Outras anotações de tipo de retorno { #other-return-type-annotations }
    
    Pode haver casos em que você retorna algo que não é um campo Pydantic válido e anota na função, apenas para obter o suporte fornecido pelas ferramentas (o editor, mypy, etc).
    
    ### Retorne uma Response diretamente { #return-a-response-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    ## Помилки залежностей і значення, що повертаються { #dependencies-errors-and-return-values }
    
    Ви можете використовувати ті самі *функції* залежностей, що й зазвичай.
    
    ### Вимоги залежностей { #dependency-requirements }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top