Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 177 for decoration (0.16 sec)

  1. fastapi/routing.py

            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_route(
                    path,
                    func,
                    methods=methods,
                    name=name,
                    include_in_schema=include_in_schema,
                )
                return func
    
            return decorator
    
        def add_api_route(
            self,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/first-steps.md

    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")` ๐Ÿ’ฌ **FastAPI** ๐Ÿ‘ˆ ๐Ÿ”ข โ–ถ๏ธ๏ธ ๐Ÿ”› ๐Ÿˆš ๐Ÿšš ๐Ÿ“จ ๐Ÿ‘ˆ ๐Ÿšถ:
    
    * โžก `/`
    * โš™๏ธ <abbr title="an HTTP GET method"><code>get</code> ๐Ÿ› ๏ธ</abbr>
    
    /// info | "`@decorator` โ„น"
    
    ๐Ÿ‘ˆ `@something` โ• ๐Ÿ ๐Ÿค™ "๐Ÿ‘จโ€๐ŸŽจ".
    
    ๐Ÿ‘† ๐Ÿšฎ โšซ๏ธ ๐Ÿ”› ๐Ÿ” ๐Ÿ”ข. ๐Ÿ’– ๐Ÿ“ถ ๐Ÿ“” ๐Ÿ‘’ (๐Ÿ‘ค ๐Ÿ’ญ ๐Ÿ‘ˆ ๐ŸŒโ” โš– ๐Ÿ‘Ÿ โšช๏ธโžก๏ธ).
    
     "๐Ÿ‘จโ€๐ŸŽจ" โœŠ ๐Ÿ”ข ๐Ÿ”› &amp; ๐Ÿ”จ ๐Ÿ•ณ โฎ๏ธ โšซ๏ธ.
    
    ๐Ÿ‘† ๐Ÿ’ผ, ๐Ÿ‘‰ ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ’ฌ **FastAPI** ๐Ÿ‘ˆ ๐Ÿ”ข ๐Ÿ”› ๐Ÿ”— **โžก** `/` โฎ๏ธ **๐Ÿ› ๏ธ** `get`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    +++ b/misc/sys/cdefs.h
    @@ -423,4 +423,14 @@
     # endif
     #endif
     
    +/* Undefine (also defined in libc-symbols.h).  */
    +#undef __attribute_copy__
    +#if __GNUC_PREREQ (9, 0)
    +/* Copies attributes from the declaration or type referenced by
    +   the argument.  */
    +# define __attribute_copy__(arg) __attribute__ ((__copy__ (arg)))
    +#else
    +# define __attribute_copy__(arg)
    +#endif
    +
     #endif	 /* sys/cdefs.h */
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

        "tax": 3.2,
        "tags": ["rock", "metal", "bar"],
        "image": {
            "url": "http://example.com/baz.jpg",
            "name": "The Foo live"
        }
    }
    ```
    
    Again, doing just that declaration, with **FastAPI** you get:
    
    * Editor support (completion, etc.), even for nested models
    * Data conversion
    * Data validation
    * Automatic documentation
    
    ## Special types and validation
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * override one or more methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingNavigableSet} forward <i>indiscriminately</i>
     * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. fastapi/applications.py

            ```
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_api_websocket_route(
                    path,
                    func,
                    name=name,
                    dependencies=dependencies,
                )
                return func
    
            return decorator
    
        def include_router(
            self,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMultiset.java

     * one or more methods to modify the behavior of the backing multiset as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMultiset} forward <b>indiscriminately</b> to
     * the methods of the delegate. For example, overriding {@link #add(Object, int)} alone <b>will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMap.java

    /**
     * A map which forwards all its method calls to another map. Subclasses should override one or more
     * methods to modify the behavior of the backing map as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMap} forward <i>indiscriminately</i> to the
     * methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/first-steps.md

    /// info | "`@decorador`"
    
    Essa sintaxe `@alguma_coisa` em Python รฉ chamada de "decorador".
    
    Vocรช o coloca em cima de uma funรงรฃo. Como um chapรฉu decorativo (acho que รฉ daรญ que vem o termo).
    
    Um "decorador" pega a funรงรฃo abaixo e faz algo com ela.
    
    Em nosso caso, este decorador informa ao **FastAPI** que a funรงรฃo abaixo corresponde a **rota** `/` com uma **operaรงรฃo** `get`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.Buffer
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    /**
     * Access every declaration that is deprecated with [DeprecationLevel.ERROR]. Although new Kotlin
     * code shouldn't use these, they're necessary for clients migrating from OkHttp 3.x and this test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top