- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 1,061 for user2 (0.01 seconds)
-
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) -
tests/test_security_scopes.py
call_counter["count"] += 1 return f"db_{call_counter['count']}" def get_user(db: Annotated[str, Depends(get_db)]): return "user" app = FastAPI() @app.get("/") def endpoint( db: Annotated[str, Depends(get_db)], user: Annotated[str, Security(get_user, scopes=["read"])], ): return {"db": db} return app @pytest.fixture(name="client")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1006 bytes - Click Count (0) -
docs/chroot/README.md
```sh # Build MinIO from source go install github.com/minio/minio@latest # Create the bin directory in your chroot mkdir -p /mnt/export/${USER}/bin # Copy the built binary to the chroot directory cp $(go env GOPATH)/bin/minio /mnt/export/${USER}/bin/minio chmod +x /mnt/export/${USER}/bin/minio ``` Alternatively, if you have an existing legacy binary, you can still use it, but note that it will not receive updates.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:29:55 GMT 2025 - 2.2K bytes - Click Count (0) -
docs_src/path_params/tutorial003b_py39.py
from fastapi import FastAPI app = FastAPI() @app.get("/users") async def read_users(): return ["Rick", "Morty"] @app.get("/users") async def read_users2():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 193 bytes - Click Count (0) -
api/go1.7.txt
pkg os/user, func LookupGroup(string) (*Group, error) pkg os/user, func LookupGroupId(string) (*Group, error) pkg os/user, method (*User) GroupIds() ([]string, error) pkg os/user, method (UnknownGroupError) Error() string pkg os/user, method (UnknownGroupIdError) Error() string pkg os/user, type Group struct pkg os/user, type Group struct, Gid string pkg os/user, type Group struct, Name string
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Jun 28 15:08:11 GMT 2016 - 13.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java
return userProperties; } /** * Sets the user properties to use for interpolation and profile activation. The user properties have been * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command * line. * * @param userProperties The user properties, may be {@code null}. * @return This context, never {@code null}. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 7.4K bytes - Click Count (0) -
docs/de/docs/tutorial/index.md
# Tutorial – Benutzerhandbuch { #tutorial-user-guide } Dieses Tutorial zeigt Ihnen Schritt für Schritt, wie Sie **FastAPI** mit den meisten seiner Funktionen verwenden können. Jeder Abschnitt baut schrittweise auf den vorhergehenden auf, ist jedoch in einzelne Themen gegliedert, sodass Sie direkt zu einem bestimmten Thema übergehen können, um Ihre spezifischen API-Anforderungen zu lösen.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 5.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
/** * Specifies that this parameter cannot be configured directly by the user (as in the case of POM-specified * configuration). This is useful when you want to force the user to use common POM elements rather than plugin * configurations, as in the case where you want to use the artifact's final name as a parameter. In this case, youCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Click Count (0) -
tests/tests_test.go
. "gorm.io/gorm/utils/tests" ) var DB *gorm.DB var ( mysqlDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local" postgresDSN = "user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" gaussdbDSN = "user=gaussdb password=Gaussdb@123 dbname=gorm host=localhost port=9950 sslmode=disable TimeZone=Asia/Shanghai"
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 3.7K bytes - Click Count (0) -
docs_src/dependencies/tutorial013_an_py310.py
class User(SQLModel, table=True): id: int | None = Field(default=None, primary_key=True) name: str app = FastAPI() def get_session(): with Session(engine) as session: yield session def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]): user = session.get(User, user_id) if not user:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 937 bytes - Click Count (0)