Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,772 for user2 (0.04 sec)

  1. docs_src/response_model/tutorial003_01.py

    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 349 bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

        }
    
    
        /**
         * Set the user name which is used to setup <code>GSSContext</code>. If null
         * is set, the default user will be used which is retrieved from the first
         * TGT found in <code>Subject</code> .
         *
         * @param name
         *            the user name used to setup <code>GSSContext</code>
         */
        public void setUser ( String name ) {
            this.user = name;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

        }
    
        protected HtmlResponse redirectByUser(final FessUserBean user) {
            if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) {
                return redirect(AdminDashboardAction.class);
            }
            final Class<? extends FessAdminAction> actionClass = AdminAction.getAdminActionClass(user);
            if (actionClass != null) {
                return redirect(actionClass);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. docs_src/path_params/tutorial003b.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users")
    async def read_users():
        return ["Rick", "Morty"]
    
    
    @app.get("/users")
    async def read_users2():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 16:16:16 UTC 2022
    - 193 bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    index = user.indexOf('\\');
                    if (index == -1) index = user.indexOf('/');
                    domain = (index != -1) ? user.substring(0, index) : domain;
                    user = (index != -1) ? user.substring(index + 1) : user;
                }
                if (user == null) {
                    if (!allowUserInteraction) return null;
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsRoleCA.java

     */
    package org.codelibs.fess.es.user.cbean.ca.bs;
    
    import org.codelibs.fess.es.user.allcommon.EsAbstractConditionAggregation;
    import org.codelibs.fess.es.user.allcommon.EsAbstractConditionQuery;
    import org.codelibs.fess.es.user.cbean.ca.RoleCA;
    import org.codelibs.fess.es.user.cbean.cq.RoleCQ;
    import org.codelibs.fess.es.user.cbean.cq.bs.BsRoleCQ;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_IE9() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_IE10() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_header_params/test_tutorial001_an.py

    
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            }
    
            @Override
            public String getAccountName() {
                return "Test User";
            }
    
            @Override
            public String getDomainName() {
                return "WORKGROUP";
            }
    
            @Override
            public String getTypeText() {
                return "User";
            }
    
            @Override
            public int getType() {
                return 1;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_metadata/test_tutorial001.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",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top