Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 68 for catching (0.08 seconds)

  1. tests/test_dependency_after_yield_raise.py

    
    app = FastAPI()
    
    
    @app.get("/catching")
    def catching(d: Annotated[str, Depends(catching_dep)]) -> Any:
        raise CustomError("Simulated error during streaming")
    
    
    @app.get("/broken")
    def broken(d: Annotated[str, Depends(broken_dep)]) -> Any:
        return {"message": "all good?"}
    
    
    client = TestClient(app)
    
    
    def test_catching():
        response = client.get("/catching")
        assert response.status_code == 418
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. CHANGELOG.md

    _2025-07-07_
    
     *  New: `Response.peekTrailers()`. When we changed `Response.trailers()` to block instead of
        throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
        (by catching the `IllegalStateException` if they weren't available). This new API restores that
        capability.
    
     *  Fix: Don't crash on `trailers()` if the response doesn't have a body. We broke [Retrofit] users
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  3. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

         * @param fields array of fields to search in
         * @param excludes array of words to exclude from results
         * @return list of popular words matching the criteria
         */
        public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles,
                final String[] fields, final String[] excludes) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

         * @param available whether to filter only available configurations
         * @param idList the list of configuration IDs to retrieve, or null for no ID filtering
         * @return a list of WebConfig objects matching the criteria
         */
        public List<WebConfig> getAllWebConfigList(final boolean withLabelType, final boolean withRoleType, final boolean available,
                final List<String> idList) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

        /**
         * Returns the most specific directive matching the given user agent.
         * The method finds the longest matching user agent pattern in the directives,
         * excluding the general "*" pattern which matches all bots.
         *
         * @param userAgent the user agent string to match against directives,
         *                 can be null (treated as empty string)
         * @return the most specific matching directive, or null if no directive matches
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

         * Applies fuzzy matching configuration including edit distance, expansions, and prefix length.
         *
         * @param context the query context containing field mappings
         * @param fuzzyQuery the Lucene FuzzyQuery to convert
         * @param boost the boost factor to apply
         * @return OpenSearch QueryBuilder configured for fuzzy matching
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        /** Cache key for cache message */
        protected static final String CACHE_MSG = "cache_msg";
    
        /** Pattern for matching local file paths */
        protected static final Pattern LOCAL_PATH_PATTERN = Pattern.compile("^file:/+[a-zA-Z]:");
    
        /** Pattern for matching shared folder paths */
        protected static final Pattern SHARED_FOLDER_PATTERN = Pattern.compile("^file:/+[^/]\\.");
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  8. docs/uk/llm-prompt.md

    ### Headings
    
    1) Follow existing Ukrainian heading style; keep headings short and instructional.
    2) Do not add trailing punctuation to headings.
    
    ### Quotes
    
    1) Prefer Ukrainian guillemets «…» for quoted terms in prose, matching existing Ukrainian docs.
    2) Never change quotes inside inline code, code blocks, URLs, or file paths.
    
    ### Ellipsis
    
    1) Keep ellipsis style consistent with existing Ukrainian docs.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 19 12:51:53 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. CLAUDE.md

    - **`org.codelibs.curl.CurlResponse`**: Response wrapper implementing `Closeable` for proper resource management
    - **`org.codelibs.curl.CurlException`**: Unchecked exception for HTTP errors
    
    ### I/O Layer
    
    - **`org.codelibs.curl.io.ContentCache`**: Handles automatic in-memory or on-disk caching of request/response bodies
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. .github/workflows/build.yml

            id: avd-cache
            with:
              path: |
                ~/.android/avd/*
                ~/.android/adb*
              key: avd-${{ matrix.api-level }}
    
          - name: Create AVD and generate snapshot for caching
            if: steps.avd-cache.outputs.cache-hit != 'true'
            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 12 04:49:37 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top