Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 243 for DEF (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          Request(
            url = server.url("/"),
            body = "def".toRequestBody("text/plain".toMediaType()),
          )
        executeSynchronously(request)
          .assertCode(200)
          .assertBody("abc")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.method).isEqualTo("POST")
        assertThat(recordedRequest.body?.utf8()).isEqualTo("def")
        assertThat(recordedRequest.headers["Content-Length"]).isEqualTo("3")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  2. docs/tr/docs/index.md

    app = FastAPI()
    
    
    @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}
    ```
    
    <details markdown="1">
    <summary>Ya da <code>async def</code>...</summary>
    
    EฤŸer kodunuzda `async` / `await` varsa, `async def` kullanalฤฑm:
    
    ```Python hl_lines="9  14"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. ci/official/utilities/extract_resultstore_links.py

    BAZEL_COMMAND_RE = re.compile(
        r'(^| )(?P<command>bazel (.*? )?(?P<type>test|build) .+)')
    
    
    class InvokeStatus:
      tests_failed = 'tests_failed'
      build_failed = 'build_failed'
      passed = 'passed'
    
    
    def parse_args() -> argparse.Namespace:
      """Parses the commandline args."""
      parser = argparse.ArgumentParser(
          description='Extracts ResultStore links from a build log.\n'
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

        }
    
        @Override
        public int getHeaderFieldInt(final String header, final int def) {
            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getHeaderFieldInt(header, def);
        }
    
        @Override
        public long getHeaderFieldDate(final String header, final long def) {
            try {
                handshake();
            } catch (final IOException ex) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/background-tasks.md

    **FastAPI** ๐Ÿ”œ โœ ๐ŸŽš ๐Ÿ†Ž `BackgroundTasks` ๐Ÿ‘† &amp; ๐Ÿšถโ€โ™€๏ธ โšซ๏ธ ๐Ÿ‘ˆ ๐Ÿ”ข.
    
    ## โœ ๐Ÿ“‹ ๐Ÿ”ข
    
    โœ ๐Ÿ”ข ๐Ÿƒ ๐Ÿ–ฅ ๐Ÿ“‹.
    
    โšซ๏ธ ๐Ÿฉ ๐Ÿ”ข ๐Ÿ‘ˆ ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ”ข.
    
    โšซ๏ธ ๐Ÿ’ช `async def` โš–๏ธ ๐Ÿ˜ `def` ๐Ÿ”ข, **FastAPI** ๐Ÿ”œ ๐Ÿ’ญ โ” ๐Ÿต โšซ๏ธ โ˜‘.
    
    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ“‹ ๐Ÿ”ข ๐Ÿ”œ โœ ๐Ÿ“ (โš– ๐Ÿ“จ ๐Ÿ“ง).
    
    &amp; โœ ๐Ÿ› ๏ธ ๐Ÿšซ โš™๏ธ `async` &amp; `await`, ๐Ÿ‘ฅ ๐Ÿ”ฌ ๐Ÿ”ข โฎ๏ธ ๐Ÿ˜ `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## ๐Ÿšฎ ๐Ÿ–ฅ ๐Ÿ“‹
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/it/docs/index.md

    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str = Optional[None]):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Oppure usa <code>async def</code>...</summary>
    
    Se il tuo codice usa `async` / `await`, allora usa `async def`:
    
    ```Python hl_lines="7  12"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. docs/de/docs/index.md

    app = FastAPI()
    
    
    @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}
    ```
    
    <details markdown="1">
    <summary>Oder verwenden Sie <code>async def</code> ...</summary>
    
    Wenn Ihr Code `async` / `await` verwendet, benutzen Sie `async def`:
    
    ```Python hl_lines="9  14"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/background-tasks.md

    **FastAPI** ใฏใ€`BackgroundTasks` ๅž‹ใฎใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใ‚’ไฝœๆˆใ—ใ€ใใฎใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใซๆธกใ—ใพใ™ใ€‚
    
    ## ใ‚ฟใ‚นใ‚ฏ้–ขๆ•ฐใฎไฝœๆˆ
    
    ใƒใƒƒใ‚ฏใ‚ฐใƒฉใ‚ฆใƒณใƒ‰ใ‚ฟใ‚นใ‚ฏใจใ—ใฆๅฎŸ่กŒใ•ใ‚Œใ‚‹้–ขๆ•ฐใ‚’ไฝœๆˆใ—ใพใ™ใ€‚
    
    ใ“ใ‚Œใฏใ€ใƒ‘ใƒฉใƒกใƒผใ‚ฟใƒผใ‚’ๅ—ใ‘ๅ–ใ‚‹ใ“ใจใŒใงใใ‚‹ๅ˜ใชใ‚‹ๆจ™ๆบ–็š„ใช้–ขๆ•ฐใงใ™ใ€‚
    
    ใ“ใ‚Œใฏ `async def` ใพใŸใฏ้€šๅธธใฎ `def` ้–ขๆ•ฐใงใ‚ใ‚Šใ€**FastAPI** ใฏใ“ใ‚Œใ‚’ๆญฃใ—ใๅ‡ฆ็†ใ—ใพใ™ใ€‚
    
    ใ“ใ“ใงใ€ใ‚ฟใ‚นใ‚ฏ้–ขๆ•ฐใฏใƒ•ใ‚กใ‚คใƒซๆ›ธใ่พผใฟใ‚’ๅฎŸ่กŒใ—ใพใ™ (ใƒกใƒผใƒซ้€ไฟกใฎใ‚ทใƒŸใƒฅใƒฌใƒผใ‚ทใƒงใƒณ)ใ€‚
    
    ใพใŸใ€ๆ›ธใ่พผใฟๆ“ไฝœใงใฏ `async` ใจ `await` ใ‚’ไฝฟ็”จใ—ใชใ„ใŸใ‚ใ€้€šๅธธใฎ `def` ใง้–ขๆ•ฐใ‚’ๅฎš็พฉใ—ใพใ™ใ€‚
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## ใƒใƒƒใ‚ฏใ‚ฐใƒฉใ‚ฆใƒณใƒ‰ใ‚ฟใ‚นใ‚ฏใฎ่ฟฝๅŠ 
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. .github/workflows/CheckBadMerge.groovy

            String stdout
            String stderr
            int returnCode
        }
    
        static ExecResult exec(String command) {
            Process process = command.execute()
            def stdoutFuture = readStreamAsync(process.inputStream)
            def stderrFuture = readStreamAsync(process.errorStream)
    
            int returnCode = process.waitFor()
            String stdout = stdoutFuture.get()
            String stderr = stderrFuture.get()
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. docs/em/docs/index.md

    app = FastAPI()
    
    
    @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}
    ```
    
    <details markdown="1">
    <summary>โš–๏ธ โš™๏ธ <code>async def</code>...</summary>
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“Ÿ โš™๏ธ `async` / `await`, โš™๏ธ `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top