Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,772 for user2 (0.03 sec)

  1. 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():
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	typedef [v1_enum] enum {
    		ACB_DISABLED               = 0x00000001, /* 1 = User account disabled */
    		ACB_HOMDIRREQ              = 0x00000002, /* 1 = Home directory required */
    		ACB_PWNOTREQ               = 0x00000004, /* 1 = User password not required */
    		ACB_TEMPDUP                = 0x00000008, /* 1 = Temporary duplicate account */
    		ACB_NORMAL                 = 0x00000010, /* 1 = Normal user account */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/TestProperties.java

        static final String TEST_SHARE_GUEST = "test.share.guest";
    
        static final String TEST_USER_NAME = "test.user.name";
        static final String TEST_USER_PASSWORD = "test.user.password";
        static final String TEST_USER_DOMAIN = "test.user.domain";
        static final String TEST_USER_DOMAIN_SHORT = "test.user.sdomain";
        static final String TEST_SERVER = "test.server";
    
        static final String TEST_DOMAIN = "test.domain";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Feb 29 16:38:58 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. docs_src/graphql/tutorial001.py

    import strawberry
    from fastapi import FastAPI
    from strawberry.asgi import GraphQL
    
    
    @strawberry.type
    class User:
        name: str
        age: int
    
    
    @strawberry.type
    class Query:
        @strawberry.field
        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQL(schema)
    
    app = FastAPI()
    app.add_route("/graphql", graphql_app)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 03 18:00:28 UTC 2021
    - 446 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                    localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[0]));
            assertEquals(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Shorts.java

    public final class Shorts extends ShortsMethodsForWeb {
      private Shorts() {}
    
      /**
       * The number of bytes required to represent a primitive {@code short} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Short#BYTES} instead.
       */
      public static final int BYTES = Short.SIZE / Byte.SIZE;
    
      /**
       * The largest power of two that can be represented as a {@code short}.
       *
       * @since 10.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

    public final class Shorts extends ShortsMethodsForWeb {
      private Shorts() {}
    
      /**
       * The number of bytes required to represent a primitive {@code short} value.
       *
       * <p><b>Java 8+ users:</b> use {@link Short#BYTES} instead.
       */
      public static final int BYTES = Short.SIZE / Byte.SIZE;
    
      /**
       * The largest power of two that can be represented as a {@code short}.
       *
       * @since 10.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. clause/insert_test.go

    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Insert{}},
    			"INSERT INTO `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Insert{Modifier: "LOW_PRIORITY"}},
    			"INSERT LOW_PRIORITY INTO `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Insert{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 737 bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial003.py

    from fastapi.testclient import TestClient
    
    from docs_src.response_model.tutorial003 import app
    
    client = TestClient(app)
    
    
    def test_post_user():
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial002.py

    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    # Don't do this in production!
    @app.post("/user/")
    async def create_user(user: UserIn) -> UserIn:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 350 bytes
    - Viewed (0)
Back to top