Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for tstr (0.02 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    The query parameter `q` is of type `str | None`, that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    /// note
    
    FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Having `str | None` will allow your editor to give you better support and detect errors.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.10+
    
    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    Тепер ми загорнемо її у `Annotated`, і отримаємо:
    
    //// tab | Python 3.10+
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:17:24 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/query-params-str-validations.md

    El parámetro de query `q` es del tipo `Union[str, None]` (o `str | None` en Python 3.10), lo que significa que es de tipo `str` pero también podría ser `None`, y de hecho, el valor por defecto es `None`, así que FastAPI sabrá que no es requerido.
    
    /// note | Nota
    
    FastAPI sabrá que el valor de `q` no es requerido por el valor por defecto `= None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/query-params-str-validations.md

    以下のアプリケーションを例にしてみましょう:
    
    {* ../../docs_src/query_params_str_validations/tutorial001.py hl[9] *}
    
    クエリパラメータ `q` は `Optional[str]` 型で、`None` を許容する `str` 型を意味しており、デフォルトは `None` です。そのため、FastAPIはそれが必須ではないと理解します。
    
    /// note | 備考
    
    FastAPIは、 `q` はデフォルト値が `=None` であるため、必須ではないと理解します。
    
    `Optional[str]` における `Optional` はFastAPIには利用されませんが、エディターによるより良いサポートとエラー検出を可能にします。
    
    ///
    
    ## バリデーションの追加
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/query-params-str-validations.md

    //// tab | Python 3.10+
    
    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    Вот что мы получим, если обернём это в `Annotated`:
    
    //// tab | Python 3.10+
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/query-params-str-validations.md

    Der Query-Parameter `q` hat den Typ `Union[str, None]` (oder `str | None` in Python 3.10), was bedeutet, er ist entweder ein `str` oder `None`. Der Defaultwert ist `None`, also weiß FastAPI, der Parameter ist nicht erforderlich.
    
    /// note | Hinweis
    
    FastAPI weiß nur dank des definierten Defaultwertes `=None`, dass der Wert von `q` nicht erforderlich ist
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	SYSL $285440, R12                          // 0c5b2cd5
    	TLBI VAE1IS, R1                            // 218308d5
    	TSTW $0x80000007, R9                       // TSTW $2147483655, R9          // 3f0d0172
    	TST $0xfffffff0, LR                        // TST $4294967280, R30          // df6f7cf2
    	TSTW R10@>21, R2                           // 5f54ca6a
    	TST R17<<11, R24                           // 1f2f11ea
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 24 01:11:41 UTC 2023
    - 43.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

            }
            if (domainName != null) {
                String str;
    
                if (type == SID_TYPE_DOMAIN) {
                    str = domainName;
                } else if (type == SID_TYPE_WKN_GRP || domainName.equals("BUILTIN")) {
                    if (type == SID_TYPE_UNKNOWN) {
                        str = toString();
                    } else {
                        str = acctName;
                    }
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) positiveAtoi(str string) int64 {
    	value, err := strconv.ParseInt(str, 0, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    	if value < 0 {
    		p.errorf("%s overflows int64", str)
    	}
    	return value
    }
    
    func (p *Parser) atoi(str string) uint64 {
    	value, err := strconv.ParseUint(str, 0, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         * @param locale the locale
         * @return the converted {@link Date}
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
                if (format == null) {
                    continue;
                }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top