Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 671 for tag6 (0.02 seconds)

  1. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

            "tags": ["breater"],
        }
    
    
    client = TestClient(app)
    
    
    def test_annotations():
        response = client.get("/item")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "id": IsUUID(),
                "name": "Island In The Moon",
                "price": 12.99,
                "tags": ["breater"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. internal/logger/logger.go

    	API := "SYSTEM"
    	switch {
    	case req.API != "":
    		API = req.API
    	case subsystem != "":
    		API += "." + subsystem
    	}
    
    	// Copy tags. We hold read lock already.
    	tags := make(map[string]any, len(req.tags))
    	for _, entry := range req.tags {
    		tags[entry.Key] = entry.Val
    	}
    
    	// Get the cause for the Error
    	deploymentID := req.DeploymentID
    	if req.DeploymentID == "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. docs_src/bigger_applications/app_an_py310/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 407 bytes
    - Click Count (0)
  4. docs/uk/docs/tutorial/body-nested-models.md

    Отже, у нашому прикладі, ми можемо зробити `tags` саме «списком рядків»:
    
    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Типи множин { #set-types }
    
    Але потім ми подумали, що теги не повинні повторюватися, вони, ймовірно, повинні бути унікальними рядками.
    
    І Python має спеціальний тип даних для множин унікальних елементів — це `set`.
    
    Тому ми можемо оголосити `tags` як множину рядків:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. cmd/batch-replicate_gen.go

    				return
    			}
    		case "Tags":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Tags")
    				return
    			}
    			if cap(z.Tags) >= int(zb0002) {
    				z.Tags = (z.Tags)[:zb0002]
    			} else {
    				z.Tags = make([]BatchJobKV, zb0002)
    			}
    			for za0001 := range z.Tags {
    				err = z.Tags[za0001].DecodeMsg(dc)
    				if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.7K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/metadata.md

    ///
    
    ### Використовуйте свої теги { #use-your-tags }
    
    Використовуйте параметр `tags` зі своїми *операціями шляху* (і `APIRouter`s), щоб призначити їх до різних тегів:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[21,26] *}
    
    /// info | Інформація
    
    Детальніше про теги читайте в розділі [Конфігурація операції шляху](path-operation-configuration.md#tags).
    
    ///
    
    ### Перевірте документацію { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    # "Test if most recent tag update is replicated"
    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    
    sleep 10
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

        }
    
        @Test
        public void test_render_xss_scriptTag() {
            String malicious = "<script>alert('XSS')</script>";
            String result = markdownRenderer.render(malicious);
            // Script tags should be removed by sanitizer
            assertFalse(result.contains("<script>"));
            assertFalse(result.contains("</script>"));
        }
    
        @Test
        public void test_render_xss_onclickAttribute() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/metadata.md

    ///
    
    ### Usar tus etiquetas { #use-your-tags }
    
    Usa el parámetro `tags` con tus *path operations* (y `APIRouter`s) para asignarlas a diferentes etiquetas:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[21,26] *}
    
    /// info | Información
    
    Lee más sobre etiquetas en [Configuración de Path Operation](path-operation-configuration.md#tags).
    
    ///
    
    ### Revisa la documentación { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java

          .url(HttpUrl.get("https://square.com/"))
          .tag(Integer.class, 5)
          .tag(String.class, "hello")
          .build();
        Call call = client.newCall(request);
    
        assertEquals(5, call.tag(Integer.class));
        assertEquals("hello", call.tag(String.class));
        assertEquals(null, call.tag(Boolean.class));
        assertEquals(null, call.tag(Object.class));
      }
    
      @Test
      public void tagsCanBeComputed() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top