Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 200 for 00009 (0.02 sec)

  1. tests/test_tutorial/test_encoder/test_tutorial001.py

            json={
                "title": "Foo",
                "timestamp": "2023-01-01T12:00:00",
                "description": "An optional description",
            },
        )
        assert response.status_code == 200
        assert "123" in fake_db
        assert fake_db["123"] == {
            "title": "Foo",
            "timestamp": "2023-01-01T12:00:00",
            "description": "An optional description",
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/debugging.md

    </div>
    
    alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`.
    
    Ainsi, la section :
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    va s'exécuter.
    
    ---
    
    Cela ne se produira pas si vous importez ce module (fichier).
    
    Par exemple, si vous avez un autre fichier `importer.py` qui contient :
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/debugging.md

    ```
    
    </div>
    
    então a variável interna `__name__` no seu arquivo, criada automaticamente pelo Python, terá como valor a string `"__main__"`.
    
    Então, a seção:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    vai executar.
    
    ---
    
    Isso não acontecerá se você importar esse módulo (arquivo).
    
    Então, se você tiver outro arquivo `importer.py` com:
    
    ```Python
    from myapp import app
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. cmd/erasure-encode_test.go

    	b.Run(" 0000|X000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 1, size, b) })
    	b.Run(" X000|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 1, 0, size, b) })
    	b.Run(" 0000|XXX0 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 0, 3, size, b) })
    	b.Run(" XXX0|0000 ", func(b *testing.B) { benchmarkErasureEncode(4, 4, 3, 0, size, b) })
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/main/resources/fess_indices/fess/fa/mapping.txt

    \u0009 => \u0020
    \u000A => \u0020
    \u000B => \u0020
    \u000C => \u0020
    \u000D => \u0020
    \u001C => \u0020
    \u001D => \u0020
    \u001E => \u0020
    \u001F => \u0020
    \u00A0 => \u0020
    \u1680 => \u0020
    \u180E => \u0020
    \u2000 => \u0020
    \u2001 => \u0020
    \u2002 => \u0020
    \u2003 => \u0020
    \u2004 => \u0020
    \u2005 => \u0020
    \u2006 => \u0020
    \u2007 => \u0020
    \u2008 => \u0020
    \u2009 => \u0020
    \u200A => \u0020
    \u200B => \u0020
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri May 20 11:30:45 UTC 2022
    - 771 bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/debugging.md

    ```
    
    </div>
    
    dann hat in Ihrer Datei die interne Variable `__name__`, die von Python automatisch erstellt wird, als Wert den String `"__main__"`.
    
    Daher wird der Abschnitt:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ausgeführt.
    
    ---
    
    Dies wird nicht passieren, wenn Sie das Modul (die Datei) importieren.
    
    Wenn Sie also eine weitere Datei `importer.py` mit folgendem Inhalt haben:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. docs_src/debugging/tutorial001_py39.py

    import uvicorn
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def root():
        a = "a"
        b = "b" + a
        return {"hello world": b}
    
    
    if __name__ == "__main__":
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 223 bytes
    - Viewed (0)
  8. docs/features/events.md

      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    ```
    
    And the listener prints the corresponding events:
    
    ```
    REQUEST 1 (new connection)
    0.000 callStart
    0.010 dnsStart
    0.017 dnsEnd
    0.025 connectStart
    0.117 secureConnectStart
    0.586 secureConnectEnd
    0.586 connectEnd
    0.587 connectionAcquired
    0.588 requestHeadersStart
    0.590 requestHeadersEnd
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/debugging.md

    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    will run.
    
    ---
    
    This won't happen if you import that module (file).
    
    So, if you have another file `importer.py` with:
    
    ```Python
    from myapp import app
    
    # Some more code
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/debugging.md

    所以,下面这部分代码才会运行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    ---
    
    如果你是导入这个模块(文件)就不会这样。
    
    因此,如果你的另一个文件 `importer.py` 像这样:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。
    
    所以,下面这一行不会被执行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    /// info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top