Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for tags4 (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

     */
    internal sealed class Tags {
      /**
       * Returns a tags instance that maps [key] to [value]. If [value] is null, this returns a tags
       * instance that does not have any mapping for [key].
       */
      abstract fun <T : Any> plus(
        key: KClass<T>,
        value: T?,
      ): Tags
    
      abstract operator fun <T : Any> get(key: KClass<T>): T?
    }
    
    /** An empty tags. This is always the tail of a [LinkedTags] chain. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

            .plus(Boolean::class, null)
        assertThat(tags).isEqualTo(EmptyTags)
        assertThat(tags.toString()).isEqualTo("{}")
      }
    
      @Test
      fun removeAbsentFromEmpty() {
        val tags = EmptyTags.plus(String::class, null)
        assertThat(tags).isEqualTo(EmptyTags)
        assertThat(tags.toString()).isEqualTo("{}")
      }
    
      @Test
      fun removeAbsentFromNonEmpty() {
        val tags =
          EmptyTags
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

                                        "required": ["name", "tags"],
                                        "type": "object",
                                        "properties": {
                                            "name": {"title": "Name", "type": "string"},
                                            "tags": {
                                                "title": "Tags",
                                                "type": "array",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/metadata.md

    /// tip
    
    You don't have to add metadata for all the tags that you use.
    
    ///
    
    ### Use your tags { #use-your-tags }
    
    Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags:
    
    {* ../../docs_src/metadata/tutorial004_py39.py hl[21,26] *}
    
    /// info
    
    Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. docs_src/path_operation_configuration/tutorial002b_py39.py

    from enum import Enum
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    class Tags(Enum):
        items = "items"
        users = "users"
    
    
    @app.get("/items/", tags=[Tags.items])
    async def get_items():
        return ["Portal gun", "Plumbus"]
    
    
    @app.get("/users/", tags=[Tags.users])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 323 bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/common/common.jsp

    <%@taglib prefix="c" uri="jakarta.tags.core"%><%--
     --%><%@taglib prefix="fmt" uri="jakarta.tags.fmt"%><%--
     --%><%@taglib prefix="fn" uri="jakarta.tags.functions" %><%--
     --%><%@taglib prefix="la" uri="http://lastaflute.org/latags" %><%--
     --%><%@taglib prefix="f" uri="http://lastaflute.org/functions" %><%--
     --%><%@taglib prefix="fe" uri="fess.tags.functions" %><%--
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 446 bytes
    - Viewed (0)
  7. docs_src/path_operation_configuration/tutorial002_py39.py

        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, tags=["items"])
    async def create_item(item: Item):
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 575 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_query_param_model_defaults(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body_updates/test_tutorial002.py

            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_patch_all(client: TestClient):
        response = client.patch(
            "/items/foo",
            json={
                "name": "Fooz",
                "description": "Item description",
                "price": 3,
                "tax": 10.5,
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.json() == {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

         */
        public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles,
                final String[] fields, final String[] excludes) {
            final String baseSeed = seed != null ? seed : fessConfig.getSuggestPopularWordSeed();
            final String[] baseTags = tags != null ? tags : fessConfig.getSuggestPopularWordTagsAsArray();
            final String[] baseRoles = roles != null ? roles
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top