Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for state (0.03 sec)

  1. tests/test_dependency_contextmanager.py

        finally:
            state["context_a"] = "finished a"
    
    
    async def context_b(state: dict = Depends(context_a)):
        state["context_b"] = "started b"
        try:
            yield state
        finally:
            state["context_b"] = f"finished b with a: {state['context_a']}"
    
    
    @app.get("/async")
    async def get_async(state: str = Depends(asyncgen_state)):
        return state
    
    
    @app.get("/sync")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. tests/test_router_events.py

            assert request.state.app
            assert request.state.router
            assert request.state.sub_router
            return {"message": "Hello World"}
    
        assert state.app_startup is False
        assert state.router_startup is False
        assert state.sub_router_startup is False
        assert state.app_shutdown is False
        assert state.router_shutdown is False
        assert state.sub_router_shutdown is False
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

            }
        }
    
        /**
         * Validates the OAuth2 state parameter.
         * @param session The HTTP session containing stored state data.
         * @param state The state parameter to validate.
         * @return The validated state data.
         */
        protected StateData validateState(final HttpSession session, final String state) {
            if (StringUtils.isNotEmpty(state)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
  4. scripts/contributors.py

                url
              }
              title
              createdAt
              lastEditedAt
              updatedAt
              state
              reviews(first:100) {
                nodes {
                  author {
                    login
                    avatarUrl
                    url
                  }
                  state
                }
              }
            }
          }
        }
      }
    }
    """
    
    
    class Author(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. .github/workflows/deploy-docs.yml

              RUN_ID: ${{ github.run_id }}
              STATE: "error"
          - name: Comment Deploy
            run: python ./scripts/deploy_docs_status.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              DEPLOY_URL: ${{ steps.deploy.outputs.deployment-url }}
              COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
              RUN_ID: ${{ github.run_id }}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            // Verify field accessibility is restored to its original state
            boolean finalAccessibility = field.canAccess(bean);
            assertEquals(
                    initialAccessibility,
                    finalAccessibility,
                    "Field accessibility should be restored to its original state after setting value");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. lib/hg/goreposum.py

    # computes a hash of a remote repo's tag state.
    # Tag definitions can come from the .hgtags file stored in
    # any head of any branch, and the server protocol does not
    # expose the tags directly. However, the protocol does expose
    # the hashes of all the branch heads, so we can use a hash of
    # all those branch names and heads as a conservative snapshot
    # of the entire remote repo state, and use that as the tag sum.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 11 15:21:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. fastapi/openapi/docs.py

                            level: "warning",
                            message: "Authorization may be unsafe, passed state was changed in server. The passed state wasn't returned from auth server."
                        });
                    }
    
                    if (qp.code) {
                        delete oauth2.state;
                        oauth2.auth.code = qp.code;
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                        final String code = request.getParameter("code");
                        final String reqState = request.getParameter("state");
                        if (logger.isDebugEnabled()) {
                            logger.debug("code: {}, state(request): {}, state(session): {}", code, reqState, sesState);
                        }
                        if (sesState.equals(reqState) && StringUtil.isNotBlank(code)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Dec 14 01:18:25 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/QueryProcessor.java

        public void init() {
            createFilterChain();
        }
    
        /**
         * Executes query processing through the filter chain.
         *
         * @param context the query context containing search parameters and state
         * @param query the Lucene query to be processed
         * @param boost the boost factor to apply to the query
         * @return the processed OpenSearch QueryBuilder
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top