Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 217 for tags4 (0.02 seconds)

  1. tests/multi_primary_keys_test.go

    		t.Fatalf("Blog should has three tags after Replace")
    	}
    
    	// Delete
    	DB.Model(&blog).Association("Tags").Delete(tag5)
    	var tags3 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags3)
    	if !compareTags(tags3, []string{"tag6"}) {
    		t.Fatalf("Should find 1 tags after Delete")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 1 {
    		t.Fatalf("Blog should has three tags after Delete")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            transformer.putResultDataBody(dataMap, "tags", "tag1");
    
            // Second addition with array
            String[] tags2 = new String[] { "tag2", "tag3" };
            transformer.putResultDataBody(dataMap, "tags", tags2);
    
            // Third addition with another array
            String[] tags3 = new String[] { "tag4", "tag5" };
            transformer.putResultDataBody(dataMap, "tags", tags3);
    
            Object result = dataMap.get("tags");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. 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. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String[] tags1 = { "tag1", "tag2" };
            String[] tags2 = { "tag2", "tag1" };
            String[] roles = { "role1" };
            String[] fields = { "field1" };
            String[] excludes = { "exclude1" };
    
            String result1 = popularWordHelper.getCacheKey(seed, tags1, roles, fields, excludes);
            String result2 = popularWordHelper.getCacheKey(seed, tags2, roles, fields, excludes);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

        @Test
        public void test_parse() {
            PrunedTag[] tags = PrunedTag.parse("");
            assertEquals(0, tags.length);
    
            tags = PrunedTag.parse("a");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=null, css=null, attrName=null, attrValue=null]", tags[0].toString());
    
            tags = PrunedTag.parse("a#test");
            assertEquals(1, tags.length);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. 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_py310.py hl[21,26] *}
    
    /// info
    
    Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. docs_src/path_operation_configuration/tutorial002b_py310.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():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 323 bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/metadata.md

    /// tip | Astuce
    
    Vous n’avez pas à ajouter des métadonnées pour tous les tags que vous utilisez.
    
    ///
    
    ### Utiliser vos tags { #use-your-tags }
    
    Utilisez le paramètre `tags` avec vos *chemins d'accès* (et `APIRouter`s) pour les affecter à différents tags :
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[21,26] *}
    
    /// info
    
    En savoir plus sur les tags dans [Configuration de chemins d'accès](path-operation-configuration.md#tags).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  10. 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() == {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
Back to Top