Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,466 for isInstance (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_inherited_custom_class.py

        from pydantic import field_serializer
    
        app = FastAPI()
    
        @app.get("/fast_uuid")
        def return_fast_uuid():
            asyncpg_uuid = MyUuid("a10ff360-3b1e-4984-a26f-d3ab460bdb51")
            assert isinstance(asyncpg_uuid, uuid.UUID)
            assert type(asyncpg_uuid) is not uuid.UUID
            with pytest.raises(TypeError):
                vars(asyncpg_uuid)
            return {"fast_uuid": asyncpg_uuid}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. fastapi/routing.py

        is_body_form = body_field and isinstance(body_field.field_info, params.Form)
        if isinstance(response_class, DefaultPlaceholder):
            actual_response_class: type[Response] = response_class.value
        else:
            actual_response_class = response_class
        is_sse_stream = lenient_issubclass(actual_response_class, EventSourceResponse)
        if isinstance(strict_content_type, DefaultPlaceholder):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

         */
        public OptionalEntity<KuromojiFile> getKuromojiFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(KuromojiFile.class::isInstance)
                    .map(file -> OptionalEntity.of((KuromojiFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
         * Get a Kuromoji item.
         *
         * @param dictId The dictionary ID.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

         */
        public OptionalEntity<StopwordsFile> getStopwordsFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(StopwordsFile.class::isInstance)
                    .map(file -> OptionalEntity.of((StopwordsFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
         * Retrieves a specific stopword item by its ID.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/service/SynonymService.java

         */
        public OptionalEntity<SynonymFile> getSynonymFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(SynonymFile.class::isInstance)
                    .map(file -> OptionalEntity.of((SynonymFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
         * Retrieves a specific synonym item by its ID.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());
       * }
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());
       * }
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  8. fastapi/params.py

                    stacklevel=4,
                )
            current_json_schema_extra = json_schema_extra or extra
            kwargs["deprecated"] = deprecated
    
            if serialization_alias in (_Unset, None) and isinstance(alias, str):
                serialization_alias = alias
            if validation_alias in (_Unset, None):
                validation_alias = alias
            kwargs.update(
                {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  9. MIGRATION.md

    fess_docs = []
    for doc in solr_data['response']['docs']:
        fess_doc = {
            "url": doc.get("id", ""),
            "title": doc.get("title", [""])[0] if isinstance(doc.get("title"), list) else doc.get("title", ""),
            "content": doc.get("content", [""])[0] if isinstance(doc.get("content"), list) else doc.get("content", ""),
            "mimetype": "text/html",
            "filetype": "html",
            # Map other fields
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * {@snippet :
       * @SuppressWarnings("unchecked") // safe because of ::isInstance check
       * ImmutableList<NewType> result =
       *     (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList());
       * }
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
Back to Top