- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for 0010 (0.01 seconds)
-
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.toArray(none)).isEqualTo(EMPTY); List<Double> one = Arrays.asList(1.0); assertThat(Doubles.toArray(one)).isEqualTo(ARRAY1); double[] array = {0.0, 1.0, Math.PI}; List<Double> three = Arrays.asList(0.0, 1.0, Math.PI); assertThat(Doubles.toArray(three)).isEqualTo(array); assertThat(Doubles.toArray(Doubles.asList(array))).isEqualTo(array); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
tests/test_tutorial/test_response_directly/test_tutorial001.py
"/items/1", json={ "title": "Foo", "timestamp": "2023-01-01T12:00:00", "description": "A test item", }, ) assert response.status_code == 200, response.text assert response.json() == { "description": "A test item", "timestamp": "2023-01-01T12:00:00", "title": "Foo", } def test_openapi_schema_pv2(client: TestClient):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 5.1K bytes - Click Count (0) -
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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.7K bytes - Click Count (0) -
docs_src/debugging/tutorial001_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 223 bytes - Click Count (0) -
pyproject.toml
standard = [ "fastapi-cli[standard] >=0.0.8", # For the test client "httpx >=0.23.0,<1.0.0", # For templates "jinja2 >=3.1.5", # For forms and file uploads "python-multipart >=0.0.18", # To validate email fields "email-validator >=2.0.0", # Uvicorn with uvloop "uvicorn[standard] >=0.12.0", # # Settings management "pydantic-settings >=2.0.0",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.3K bytes - Click Count (0) -
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", }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 6.7K bytes - Click Count (0) -
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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/debugging.md
то встроенная переменная `__name__`, автоматически создаваемая Python в вашем файле, будет иметь значение строкового типа `"__main__"`. Тогда выполнится условие и эта часть кода: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` будет запущена. --- Но этого не произойдет, если вы импортируете этот модуль (файл). Таким образом, если у вас есть файл `importer.py` с таким импортом: ```Python
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/es/docs/tutorial/debugging.md
``` </div> entonces la variable interna `__name__` en tu archivo, creada automáticamente por Python, tendrá como valor el string `"__main__"`. Así que, la sección: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` se ejecutará. --- Esto no ocurrirá si importas ese módulo (archivo). Entonces, si tienes otro archivo `importer.py` con: ```Python from myapp import app
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_tutorial/test_debugging/test_tutorial001.py
uvicorn_run_mock.assert_called_once_with( unittest.mock.ANY, host="0.0.0.0", port=8000 ) def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "get": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.8K bytes - Click Count (0)