Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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")
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] fields = { "field1", "field2" };
            item.setFields(fields);
            assertArrayEquals(fields, item.getFields());
    
            // Test tags
            String[] tags = { "tag1", "tag2" };
            item.setTags(tags);
            assertArrayEquals(tags, item.getTags());
    
            // Test roles
            String[] roles = { "admin", "user" };
            item.setRoles(roles);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            readings2[1] = new String[] { "kensaku", "fuga" };
            String[] tags2 = new String[] { "tag3" };
            String[] roles2 = new String[] { SuggestConstants.DEFAULT_ROLE, "role4" };
            queryItems[1] = new SuggestItem(new String[] { "全文", "検索" }, readings2, new String[] { "content" }, 1, 0, -1, tags2, roles2, null,
                    SuggestItem.Kind.DOCUMENT);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 37.4K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            List<String> fields = new ArrayList<>();
            fields.add("field1");
            List<String> tags = new ArrayList<>();
            tags.add("tag1");
            List<String> roles = new ArrayList<>();
            roles.add("role1");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
            // Check that we get the same references
            assertTrue(readings == elevateWord.getReadings());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top