Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 487 for str (0.02 sec)

  1. docs/en/docs/tutorial/response-model.md

    Your response model could have default values, like:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (or `str | None = None` in Python 3.10) has a default of `None`.
    * `tax: float = 10.5` has a default of `10.5`.
    * `tags: List[str] = []` has a default of an empty list: `[]`.
    
    but you might want to omit them from the result if they were not actually stored.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/response-model.md

    Seu modelo de resposta pode ter valores padrão, como:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (ou `str | None = None` no Python 3.10) tem um padrão de `None`.
    * `tax: float = 10.5` tem um padrão de `10.5`.
    * `tags: List[str] = []` tem um padrão de uma lista vazia: `[]`.
    
    mas você pode querer omiti-los do resultado se eles não foram realmente armazenados.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:51:05 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    }
    
    func TestWriter(t *testing.T) {
    	type (
    		testHeader struct { // WriteHeader(hdr) == wantErr
    			hdr     Header
    			wantErr error
    		}
    		testWrite struct { // Write(str) == (wantCnt, wantErr)
    			str     string
    			wantCnt int
    			wantErr error
    		}
    		testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr)
    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/request-files.md

    ### `UploadFile`
    
    `UploadFile` має такі атрибути:
    
    * `filename`: Рядок `str` з оригінальною назвою файлу, який був завантажений (наприклад, `myimage.jpg`).
    * `content_type`: Рядок `str` з MIME-типом (наприклад, `image/jpeg`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 22 22:01:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. lib/wasm/wasm_exec.js

    						sp >>>= 0;
    						const str = encoder.encode(String(loadValue(sp + 8)));
    						storeValue(sp + 16, str);
    						setInt64(sp + 24, str.length);
    					},
    
    					// valueLoadString(v ref, b []byte)
    					"syscall/js.valueLoadString": (sp) => {
    						sp >>>= 0;
    						const str = loadValue(sp + 8);
    						loadSlice(sp + 16).set(str);
    					},
    
    					// func valueInstanceOf(v ref, t ref) bool
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. schema/relationship.go

    	return
    }
    
    func (rel *Relationship) ParseConstraint() *Constraint {
    	str := rel.Field.TagSettings["CONSTRAINT"]
    	if str == "-" {
    		return nil
    	}
    
    	if rel.Type == BelongsTo {
    		for _, r := range rel.FieldSchema.Relationships.Relations {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  7. docs/es/docs/tutorial/path-operation-configuration.md

    ///
    
    ## Tags
    
    Puedes añadir tags a tu *path operation*, pasando el parámetro `tags` con un `list` de `str` (comúnmente solo una `str`):
    
    {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *}
    
    Serán añadidas al esquema de OpenAPI y usadas por las interfaces de documentación automática:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

    /// tip
    
    This is probably not as important or necessary if you use `Annotated`.
    
    ///
    
    Let's say that you want to declare the query parameter `q` as a required `str`.
    
    And you don't need to declare anything else for that parameter, so you don't really need to use `Query`.
    
    But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // When
                String str = response.toString();
    
                // Then
                assertNotNull(str, "toString should not return null");
                assertTrue(str.contains("SmbComTreeConnectAndXResponse"), "Should contain class name");
                assertTrue(str.contains("supportSearchBits=true"), "Should contain search bits flag");
                assertTrue(str.contains("shareIsInDfs=true"), "Should contain DFS flag");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          StringBuilder str = new StringBuilder();
          str.append(chars);
          return charactersOf(str);
        }
      }
    
      private abstract static class TestUnhashableListGenerator
          extends TestUnhashableCollectionGenerator<List<UnhashableObject>>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top