Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 384 for declares (0.06 seconds)

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

  1. docs/de/docs/tutorial/dependencies/index.md

    ### `Depends` importieren { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Die Abhängigkeit im <abbr title="Das Abhängige, der Verwender der Abhängigkeit">„Dependant“</abbr> deklarieren { #declare-the-dependency-in-the-dependant }
    
    So wie auch `Body`, `Query`, usw., verwenden Sie `Depends` mit den Parametern Ihrer *Pfadoperation-Funktion*:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. docs/ru/docs/advanced/security/oauth2-scopes.md

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## Объявление scopes в *обработчиках путей* и зависимостях { #declare-scopes-in-path-operations-and-dependencies }
    
    Теперь объявим, что операция пути для `/users/me/items/` требует scope `items`.
    
    Для этого импортируем и используем `Security` из `fastapi`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  4. docs/zh/docs/features.md

    如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。
    
    编写带有类型标注的标准 Python:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/settings.md

    ///
    
    ### Crear el objeto `Settings` { #create-the-settings-object }
    
    Importa `BaseSettings` de Pydantic y crea una sub-clase, muy similar a un modelo de Pydantic.
    
    De la misma forma que con los modelos de Pydantic, declaras atributos de clase con anotaciones de tipos, y posiblemente, valores por defecto.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        }
    
        /**
         * Test all fields are public and accessible
         */
        @Test
        @DisplayName("Test all fields are public")
        public void testAllFieldsArePublic() {
            // Get all declared fields
            Field[] fields = ServerData.class.getDeclaredFields();
    
            // Verify we have the expected number of fields
            assertEquals(19, fields.length);
    
            // Verify all fields are public
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  7. docs/pt/docs/features.md

    Você escreve Python padrão com tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare uma variável como str
    # e obtenha suporte do editor dentro da função
    def main(user_id: str):
        return user_id
    
    
    # Um modelo do Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *       module path, but is also compatible with placement on the class path. Compatibility can
         *       be achieved, for example, by repeating in the {@code META-INF/services/} directory the services
         *       that are declared in the {@code module-info.class} file. In that case, the path type can be chosen
         *       by the plugin.</li>
         *   <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module path,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
                       * we read one of the fields declared in that class.
                       */
                      Set<Integer> unused = graph.successors(first);
                      return null;
                    }
                  }));
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/query-params-str-validations.md

    Имейте в виду, что в этом случае FastAPI не будет проверять содержимое списка.
    
    Например, `list[int]` проверит (и задокументирует), что элементы списка — целые числа. А просто `list` — нет.
    
    ///
    
    ## Больше метаданных { #declare-more-metadata }
    
    Можно добавить больше информации о параметре.
    
    Эта информация будет включена в сгенерированную OpenAPI-схему и использована интерфейсами документации и внешними инструментами.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 26.2K bytes
    - Click Count (0)
Back to Top