Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,186 for classe (0.23 sec)

  1. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    Em python, você pode criar Gerenciadores de Contexto ao <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank"> criar uma classe com dois métodos: `__enter__()` e `__exit__()`</a>.
    
    Você também pode usá-los dentro de dependências com `yield` do **FastAPI** ao utilizar `with` ou `async with` dentro da função da dependência:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. docs/pt/docs/alternatives.md

    * <a href="https://github.com/tiangolo/full-stack" class="external-link" target="_blank">https://github.com/tiangolo/full-stack</a>
    * <a href="https://github.com/tiangolo/full-stack-flask-couchbase" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-flask-couchbase</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                Interface12.class,
                Interface1.class,
                Interface2.class,
                Class1.class,
                Object.class);
        makeUnmodifiable(types.interfaces().rawTypes())
            .containsExactly(
                Interface3.class,
                Interface12.class,
                Interface1.class,
                Interface2.class,
                Iterable.class);
        makeUnmodifiable(types.classes().rawTypes())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. clause/clause.go

    package clause
    
    // Interface clause interface
    type Interface interface {
    	Name() string
    	Build(Builder)
    	MergeClause(*Clause)
    }
    
    // ClauseBuilder clause builder, allows to customize how to build clause
    type ClauseBuilder func(Clause, Builder)
    
    type Writer interface {
    	WriteByte(byte) error
    	WriteString(string) (int, error)
    }
    
    // Builder builder interface
    type Builder interface {
    	Writer
    	WriteQuoted(field interface{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    )
    
    // Standard constants for all storage class
    const (
    	// Reduced redundancy storage class
    	RRS = "REDUCED_REDUNDANCY"
    	// Standard storage class
    	STANDARD = "STANDARD"
    )
    
    // Standard constats for config info storage class
    const (
    	ClassStandard = "standard"
    	ClassRRS      = "rrs"
    	Optimize      = "optimize"
    	InlineBlock   = "inline_block"
    
    	// Reduced redundancy storage class environment variable
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.
    
    Eine Python-Klasse ist also auch ein **Callable**.
    
    Darum können Sie in **FastAPI** auch eine Python-Klasse als Abhängigkeit verwenden.
    
    Was FastAPI tatsächlich prüft, ist, ob es sich um ein „Callable“ (Funktion, Klasse oder irgendetwas anderes) handelt und ob die Parameter definiert sind.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. docs/en/docs/img/sponsors/classiq.png

    classiq.png...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 10 02:29:40 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    в таком случае он является "вызываемым".
    
    ## Классы как зависимости
    
    Вы можете заметить, что для создания экземпляра класса в Python используется тот же синтаксис.
    
    Например:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    В данном случае `fluffy` является экземпляром класса `Cat`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/cookie-params.md

    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9]*}
    
    /// note | "Detalles Técnicos"
    
    `Cookie` es una clase "hermana" de `Path` y `Query`. También hereda de la misma clase común `Param`.
    
    Pero recuerda que cuando importas `Query`, `Path`, `Cookie`  y otros de `fastapi`, en realidad son funciones que devuelven clases especiales.
    
    ///
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:33:43 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top