Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 533 for union_ (0.06 sec)

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

    The same would happen if you had something like a <abbr title='A union between multiple types means "any of these types".'>union</abbr> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="8"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		POLICY_INFO_PRIMARY_DOMAIN = 3,
    		POLICY_INFO_ACCOUNT_DOMAIN = 5,
    		POLICY_INFO_SERVER_ROLE    = 6,
    		POLICY_INFO_MODIFICATION   = 9,
    		POLICY_INFO_DNS_DOMAIN     = 12
    	};
    
    	typedef [switch_type(short)] union {
    		[case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain;
    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		POLICY_INFO_PRIMARY_DOMAIN = 3,
    		POLICY_INFO_ACCOUNT_DOMAIN = 5,
    		POLICY_INFO_SERVER_ROLE    = 6,
    		POLICY_INFO_MODIFICATION   = 9,
    		POLICY_INFO_DNS_DOMAIN     = 12
    	};
    
    	typedef [switch_type(short)] union {
    		[case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain;
    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  4. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.closedOpen(5, 10))
                .add(Range.closedOpen(12, 15))
                .add(Range.openClosed(15, 17))
                .add(Range.open(19, 20))
                .build();
    
        assertThat(RANGE_SET_ONE.union(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testIntersection() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body.md

    * 🚥 🔢 **⭐ 🆎** (💖 `int`, `float`, `str`, `bool`, ♒️) ⚫️ 🔜 🔬 **🔢** 🔢.
    * 🚥 🔢 📣 🆎 **Pydantic 🏷**, ⚫️ 🔜 🔬 📨 **💪**.
    
    /// note
    
    FastAPI 🔜 💭 👈 💲 `q` 🚫 ✔ ↩️ 🔢 💲 `= None`.
    
     `Union` `Union[str, None]` 🚫 ⚙️ FastAPI, ✋️ 🔜 ✔ 👆 👨‍🎨 🤝 👆 👍 🐕‍🦺 &amp; 🔍 ❌.
    
    ///
    
    ## 🍵 Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/response-model.md

    Das gleiche wird passieren, wenn Sie eine <abbr title='Eine Union mehrerer Typen bedeutet: „Irgendeiner dieser Typen“'>Union</abbr> mehrerer Typen haben, und einer oder mehrere sind nicht gültige Pydantic-Typen. Zum Beispiel funktioniert folgendes nicht 💥:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="8"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/body.md

    /// note | "Hinweis"
    
    FastAPI weiß, dass der Wert von `q` nicht erforderlich ist, wegen des definierten Defaultwertes `= None`
    
    Das `Union` in `Union[str, None]` wird von FastAPI nicht verwendet, aber es erlaubt Ihrem Editor, Sie besser zu unterstützen und Fehler zu erkennen.
    
    ///
    
    ## Ohne Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body.md

    /// note | "Observação"
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    O `Union` em `Union[str, None]` não é utilizado pelo FastAPI, mas permite ao seu editor de texto lhe dar um suporte melhor e detectar erros.
    
    ///
    
    ## Sem o Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
                this.level = _src.dec_ndr_long();
                _src.dec_ndr_long(); /* union discriminant */
                int _infop = _src.dec_ndr_long();
                if ( _infop != 0 ) {
                    if ( this.info == null ) { /* YOYOYO */
                        this.info = new ShareInfoCtr0();
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 19.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body.md

    /// note
    
    FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    The `str | None` (Python 3.10+) or `Union` in `Union[str, None]` (Python 3.8+) is not used by FastAPI to determine that the value is not required, it will know it's not required because it has a default value of `= None`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top