Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 86 for Decorator (0.07 seconds)

  1. tests/test_dependency_overrides.py

        response = client.get("/decorator-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {"in": "decorator-depends"}
    
    
    def test_decorator_depends_q_foo_skip_100_limit_200():
        response = client.get("/decorator-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
        assert response.json() == {"in": "decorator-depends"}
    
    
    def test_router_depends():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/first-steps.md

    /// info | `@decorator` Bilgisi
    
    Python'daki `@something` söz dizimi "decorator" olarak adlandırılır.
    
    Onu bir fonksiyonun üstüne koyarsınız. Güzel, dekoratif bir şapka gibi (sanırım terim de buradan geliyor).
    
    Bir "decorator", altındaki fonksiyonu alır ve onunla bir şey yapar.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/first-steps.md

    You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from).
    
    A "decorator" takes the function below and does something with it.
    
    In our case, this decorator tells **FastAPI** that the function below corresponds to the **path** `/` with an **operation** `get`.
    
    It is the "**path operation decorator**".
    
    ///
    
    You can also use the other operations:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/first-steps.md

    /// info | Información sobre `@decorator`
    
    Esa sintaxis `@algo` en Python se llama un "decorador".
    
    Lo pones encima de una función. Como un bonito sombrero decorativo (supongo que de ahí viene el término).
    
    Un "decorador" toma la función de abajo y hace algo con ella.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *}
    
    ## HTML Response { #html-response }
    
    To return a response with HTML directly from **FastAPI**, use `HTMLResponse`.
    
    * Import `HTMLResponse`.
    * Pass `HTMLResponse` as the parameter `response_class` of your *path operation decorator*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/response-model.md

    In those cases, you can use the *path operation decorator* parameter `response_model` instead of the return type.
    
    You can use the `response_model` parameter in any of the *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    `@app.get("/")` сообщает **FastAPI**, что функция прямо под ним отвечает за обработку запросов, поступающих:
    
    * по пути `/`
    * с использованием <dfn title="метод HTTP GET"><code>get</code> операции</dfn>
    
    /// info | Информация о `@decorator`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    ## `Security` in decorator `dependencies` { #security-in-decorator-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return (list instanceof RandomAccess)
            ? new RandomAccessWrappedList(key, list, ancestor)
            : new WrappedList(key, list, ancestor);
      }
    
      /**
       * Collection decorator that stays in sync with the multimap values for a key. There are two kinds
       * of wrapped collections: full and subcollections. Both have a delegate pointing to the
       * underlying collection class.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return (list instanceof RandomAccess)
            ? new RandomAccessWrappedList(key, list, ancestor)
            : new WrappedList(key, list, ancestor);
      }
    
      /**
       * Collection decorator that stays in sync with the multimap values for a key. There are two kinds
       * of wrapped collections: full and subcollections. Both have a delegate pointing to the
       * underlying collection class.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
Back to Top