Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,499 for game (0.06 sec)

  1. docs/pt/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # Um modelo do Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Que então pode ser usado como:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
       * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed
       * by end users and is too fine-grained for a builder.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public CacheStats(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheStats.java

      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
       * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed
       * by end users and is too fine-grained for a builder.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public CacheStats(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_using_request_directly/test_tutorial001.py

                    "get": {
                        "operationId": "read_root_items__item_id__get",
                        "parameters": [
                            {
                                "in": "path",
                                "name": "item_id",
                                "required": True,
                                "schema": {
                                    "title": "Item Id",
                                    "type": "string",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. tests/test_stringified_annotation_dependency.py

    async def get_client() -> AsyncGenerator[DummyClient, None]:
        client = DummyClient()
        yield client
        await client.close()
    
    
    Client = Annotated[DummyClient, Depends(get_client)]
    
    
    @pytest.fixture(name="client")
    def client_fixture() -> TestClient:
        app = FastAPI()
    
        @app.get("/")
        async def get_people(client: Client) -> list:
            return await client.get_people()
    
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/bsentity/dbmeta/UserDbm.java

                "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnName = cci("name", "name", null, null, String.class, "name", null, false, false, false, "keyword", 0,
                0, null, null, false, null, null, null, null, null, false);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/normalizer/Normalizer.java

     */
    public interface Normalizer {
        /**
         * Normalizes the given text.
         * @param text The text to normalize
         * @param field The field name
         * @param langs The language
         * @return The normalized text
         */
        String normalize(String text, String field, String... langs);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. tests/test_dependency_contextvars.py

    
    def test_dependency_contextvars():
        """
        Check that custom middlewares don't affect the contextvar context for dependencies.
    
        The code before yield and the code after yield should be run in the same contextvar
        context, so that request_state_context_var.reset(contextvar_token).
    
        If they are run in a different context, that raises an error.
        """
        response = client.get("/user")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_debugging/test_tutorial001.py

    import importlib
    import runpy
    import sys
    import unittest
    
    import pytest
    from fastapi.testclient import TestClient
    
    MOD_NAME = "docs_src.debugging.tutorial001_py39"
    
    
    @pytest.fixture(name="client")
    def get_client():
        mod = importlib.import_module(MOD_NAME)
        client = TestClient(mod.app)
        return client
    
    
    def test_uvicorn_run_is_not_called_on_import():
        if sys.modules.get(MOD_NAME):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    import importlib
    from types import ModuleType
    
    import pytest
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial008c_py39"),
            pytest.param("tutorial008c_an_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        return mod
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top