Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 775 for userDNs (0.06 seconds)

  1. docs_src/metadata/tutorial001_py39.py

    from fastapi import FastAPI
    
    description = """
    ChimichangApp API helps you do awesome stuff. 🚀
    
    ## Items
    
    You can **read items**.
    
    ## Users
    
    You will be able to:
    
    * **Create users** (_not implemented_).
    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 805 bytes
    - Click Count (0)
  2. tests/test_security_api_key_header_optional.py

        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: Optional[User] = Depends(get_current_user)):
        if current_user is None:
            return {"msg": "Create an account first"}
        return current_user
    
    
    client = TestClient(app)
    
    
    def test_security_api_key():
        response = client.get("/users/me", headers={"key": "secret"})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Click Count (0)
  3. docs_src/path_params/tutorial003_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users/me")
    async def read_user_me():
        return {"user_id": "the current user"}
    
    
    @app.get("/users/{user_id}")
    async def read_user(user_id: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 236 bytes
    - Click Count (0)
  4. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                "summary": "Deadpool's favorite app. Nuff said.",
                "description": "\nChimichangApp API helps you do awesome stuff. 🚀\n\n## Items\n\nYou can **read items**.\n\n## Users\n\nYou will be able to:\n\n* **Create users** (_not implemented_).\n* **Read users** (_not implemented_).\n",
                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. .mailmap

    Ryan <******@****.***> <******@****.***>
    Rodrigo B. de Oliveira <******@****.***> <******@****.***>
    Sebastian Schuberth <******@****.***> <sschuberth@users.noreply.github.com>
    Stefan Oehme <******@****.***> <******@****.***>
    Sterling Greene <******@****.***> <big-guy@users.noreply.github.com>
    Sterling Greene <******@****.***> <******@****.***>
    Szczepan Faber <******@****.***>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 03 06:34:28 GMT 2017
    - 3.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

    /**
     * A comparator, with additional methods to support common operations. This is an "enriched" version
     * of {@code Comparator} for pre-Java-8 users, in the same sense that {@link FluentIterable} is an
     * enriched {@link Iterable} for pre-Java-8 users.
     *
     * <h3>Three types of methods</h3>
     *
     * Like other fluent types, there are three types of methods present: methods for <i>acquiring</i>,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

     * </ul>
     *
     * <p>If no backing thread factory is provided, a default backing thread factory is used as if by
     * calling {@code setThreadFactory(}{@link Executors#defaultThreadFactory()}{@code )}.
     *
     * <p><b>Java 21+ users:</b> consider using the {@code Thread.Builder} interface instead. E.g.,
     * instead of {@code new ThreadFactoryBuilder().setPriority(priority).setDaemon(false).build()}, use
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:35:26 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. tests/test_schema_compat_pydantic_v2.py

            username: str
            role: PlatformRole | OtherRole
    
        @app.get("/users")
        async def get_user() -> User:
            return {"username": "alice", "role": "admin"}
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_get(client: TestClient):
        response = client.get("/users")
        assert response.json() == {"username": "alice", "role": "admin"}
    
    
    @needs_py310
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. clause/set_test.go

    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    			},
    			"UPDATE `users` SET `users`.`id`=?",
    			[]interface{}{1},
    		},
    		{
    			[]clause.Interface{
    				clause.Update{},
    				clause.Set([]clause.Assignment{{clause.PrimaryColumn, 1}}),
    				clause.Set([]clause.Assignment{{clause.Column{Name: "name"}, "jinzhu"}}),
    			},
    			"UPDATE `users` SET `name`=?",
    			[]interface{}{"jinzhu"},
    		},
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 11:18:54 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. docs_src/path_operation_configuration/tutorial002_py39.py

    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 575 bytes
    - Click Count (0)
Back to Top