Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 472 for sltr (0.03 sec)

  1. docs/de/docs/tutorial/query-params.md

    Aber wenn Sie wollen, dass ein Query-Parameter erforderlich ist, vergeben Sie einfach keinen Defaultwert:
    
    {* ../../docs_src/query_params/tutorial005.py hl[6:7] *}
    
    Hier ist `needy` ein erforderlicher Query-Parameter vom Typ `str`.
    
    Wenn Sie in Ihrem Browser eine URL wie:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ... öffnen, ohne den benötigten Parameter `needy`, dann erhalten Sie einen Fehler wie den folgenden:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/path-params-numeric-validations.md

    /// note
    
    ➡ 🔢 🕧 ✔ ⚫️ ✔️ 🍕 ➡.
    
    , 👆 🔜 📣 ⚫️ ⏮️ `...` ™ ⚫️ ✔.
    
    👐, 🚥 👆 📣 ⚫️ ⏮️ `None` ⚖️ ⚒ 🔢 💲, ⚫️ 🔜 🚫 📉 🕳, ⚫️ 🔜 🕧 🚚.
    
    ///
    
    ## ✔ 🔢 👆 💪
    
    ➡️ 💬 👈 👆 💚 📣 🔢 🔢 `q` ✔ `str`.
    
    & 👆 🚫 💪 📣 🕳 🙆 👈 🔢, 👆 🚫 🤙 💪 ⚙️ `Query`.
    
    ✋️ 👆 💪 ⚙️ `Path` `item_id` ➡ 🔢.
    
    🐍 🔜 😭 🚥 👆 🚮 💲 ⏮️ "🔢" ⏭ 💲 👈 🚫 ✔️ "🔢".
    
    ✋️ 👆 💪 🏤-✔ 👫, & ✔️ 💲 🍵 🔢 (🔢 🔢 `q`) 🥇.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            write.setParam(0x1234, 100L, 50, new byte[10], 0, 10);
    
            String str = write.toString();
            assertNotNull(str);
            assertTrue(str.contains("SmbComWrite"), "Should contain class name");
            assertTrue(str.contains("fid="), "Should contain fid");
            assertTrue(str.contains("count="), "Should contain count");
            assertTrue(str.contains("offset="), "Should contain offset");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. docs/pl/docs/index.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

        }
    
        String readString(final byte[] src, final int srcIndex, int len) {
            String str = null;
            try {
                if (useUnicode) {
                    // should Unicode alignment be corrected for here?
                    str = new String(src, srcIndex, len, UNI_ENCODING);
                } else {
    
                    /* On NT without Unicode the fileNameLength
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/UnicodeString.java

        /**
         * Constructs a UnicodeString from a Java String.
         *
         * @param str
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final String str, final boolean zterm) {
            this.zterm = zterm;
    
            final int len = str.length();
            final int zt = zterm ? 1 : 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. docs/uk/docs/features.md

    ```Python
    from datetime import date
    from pydantic import BaseModel
    
    # Оголошення змінної як str
    # з підтримкою автодоповнення у редакторі
    def main(user_id: str):
        return user_id
    
    # Модель Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Приклад використання цієї моделі:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:08:49 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x02; // count = 512 in little-endian
            resp.readParameterWordsWireFormat(buf, 0);
            String str = resp.toString();
            assertTrue(str.contains("count=512"), "toString should include numeric count");
        }
    
        @Test
        public void testReturnFromReadParameterWordsWireFormatIs8() {
            // ensure the method returns 8 as claimed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/encoder.md

    В данном примере она преобразует Pydantic модель в `dict`, а `datetime` - в `str`.
    
    Результатом её вызова является объект, который может быть закодирован с помощью функции из стандартной библиотеки Python – <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

         *
         * @see jcifs.SmbResourceLocator#getParent()
         */
        @Override
        public String getParent() {
            String str = this.url.getAuthority();
    
            if (str != null && !str.isEmpty()) {
                final StringBuilder sb = new StringBuilder("smb://");
    
                sb.append(str);
    
                final String urlpath = getURLPath();
                if (urlpath.length() > 1) {
                    sb.append(urlpath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top