- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,312 for User (0.01 seconds)
-
tests/test_dependency_contextvars.py
): response = await call_next(request) response.headers["custom"] = "foo" return response @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)]) def get_user(): request_state = legacy_request_state_context_var.get() assert request_state return request_state["user"] client = TestClient(app) def test_dependency_contextvars(): """Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
tests/scopes_test.go
return d.Where("name in (?)", names) } } func TestScopes(t *testing.T) { users := []*User{ GetUser("ScopeUser1", Config{}), GetUser("ScopeUser2", Config{}), GetUser("ScopeUser3", Config{}), } DB.Create(&users) var users1, users2, users3 []User DB.Scopes(NameIn1And2).Find(&users1) if len(users1) != 2 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 3.3K bytes - Click Count (0) -
scripts/sponsors.py
if not updated: logging.info("The data hasn't changed, finishing.") return logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True) subprocess.run( ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"], check=True, ) branch_name = f"fastapi-people-sponsors-{secrets.token_hex(4)}"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 6.1K bytes - Click Count (0) -
tests/test_tutorial/test_response_model/test_tutorial003.py
mod = importlib.import_module(f"docs_src.response_model.{request.param}") client = TestClient(mod.app) return client def test_post_user(client: TestClient): response = client.post( "/user/", json={ "username": "foo", "password": "fighter", "email": "******@****.***", "full_name": "Grave Dohl", }, )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.9K bytes - Click Count (0) -
helm-releases/minio-4.0.15.tgz
echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 21 11:07:01 GMT 2022 - 20K bytes - Click Count (0) -
scripts/topic_repos.py
return repos_path.write_text(new_repos_content, encoding="utf-8") logging.info("Setting up GitHub Actions git user") subprocess.run(["git", "config", "user.name", "github-actions[bot]"], check=True) subprocess.run( ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"], check=True, ) branch_name = f"fastapi-topic-repos-{secrets.token_hex(4)}"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 2.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java
* * @author Benjamin Bentmann */ public class ModelProblemUtils { /** * Creates a user-friendly source hint for the specified model. * * @param model The model to create a source hint for, may be {@code null}. * @return The user-friendly source hint, never {@code null}. */ static String toSourceHint(Model model) { if (model == null) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.9K bytes - Click Count (0) -
docs/iam/access-management-plugin.md
## Quickstart To easily try out the feature, run the included demo Access Management Plugin program in this directory: ```sh go run access-manager-plugin.go ```
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Dec 13 22:28:48 GMT 2022 - 4.4K bytes - Click Count (1) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
relocation.global ? "User global relocation" : "User project relocation"); LOGGER.debug( "The artifact {} has been relocated to {}: {}", original, result, relocation.global ? "User global relocation" : "User project relocation"); return result; } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9K bytes - Click Count (0) -
helm-releases/minio-5.0.0.tgz
echo "credentials file is invalid" rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP return 1 fi USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) # Create the user if it does not exist if ! checkUserExists ; then echo "Creating user '$USER'" cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio else echo "User '$USER' already exists." fi #clean up credentials files. rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'"...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 25 10:20:22 GMT 2022 - 19.8K bytes - Click Count (0)