Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 150 for isActive (0.14 sec)

  1. docs_src/security/tutorial003_an_py39.py

            )
        return user
    
    
    async def get_current_active_user(
        current_user: Annotated[User, Depends(get_current_user)],
    ):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs_src/security/tutorial003_an_py310.py

            )
        return user
    
    
    async def get_current_active_user(
        current_user: Annotated[User, Depends(get_current_user)],
    ):
        if current_user.disabled:
            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    inactiveProfilePlugins,
                    "only-inactive-profile",
                    "Inactive only ||${project.basedir}||",
                    "<plugin-in-inactive-only>Inactive only ||${project.basedir}||</plugin-in-inactive-only>");
        }
    
        private void checkReportPluginWithArtifactId(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_sql_databases/test_sql_databases.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py

                        "title": "User",
                        "required": ["email", "id", "is_active"],
                        "type": "object",
                        "properties": {
                            "email": {"title": "Email", "type": "string"},
                            "id": {"title": "Id", "type": "integer"},
                            "is_active": {"title": "Is Active", "type": "boolean"},
                            "items": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUError.h

      CUE_SCLEAN_FAILED     = 23,  /**< Suite cleanup failed. */
      CUE_DUP_SUITE         = 24,  /**< Duplicate suite name not allowed. */
      CUE_SUITE_INACTIVE    = 25,  /**< Test run initiated for an inactive suite. */
    
      /* Test Case Level Errors */
      CUE_NOTEST            = 30,  /**< A required CU_pTest or CU_TestFunc pointer was NULL. */
      CUE_NO_TESTNAME       = 31,  /**< Required CU_Test name not provided. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top