- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 210 for Startup (0.07 sec)
-
docs/pt/docs/fastapi-cli.md
<font color="#4E9A06">INFO</font>: Started server process [<font color="#06989A">2265873</font>] <font color="#4E9A06">INFO</font>: Waiting for application startup. <font color="#4E9A06">INFO</font>: Application startup complete. ``` </div> Aquele commando por linha de programa chamado `fastapi` é o **FastAPI CLI**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001.py
def create_db_and_tables(): SQLModel.metadata.create_all(engine) def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero: session.add(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py310.py
def create_db_and_tables(): SQLModel.metadata.create_all(engine) def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero: session.add(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/build-constants.go
// MinioStoreName - MinIO store name. MinioStoreName = "MinIO" // MinioUAName - MinIO user agent name. MinioUAName = "MinIO" // MinioBannerName - MinIO banner name for startup message. MinioBannerName = "MinIO Object Storage Server" // MinioLicense - MinIO server license. MinioLicense = "GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 2.2K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_an_py39.py
def get_session(): with Session(engine) as session: yield session SessionDep = Annotated[Session, Depends(get_session)] app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/", response_model=HeroPublic) def create_hero(hero: HeroCreate, session: SessionDep): db_hero = Hero.model_validate(hero)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
protected AbstractService() {} /** * This method is called by {@link #startAsync} to initiate service startup. The invocation of * this method should cause a call to {@link #notifyStarted()}, either during this method's run, * or after it has returned. If startup fails, the invocation should cause a call to {@link * #notifyFailed(Throwable)} instead. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.4K bytes - Viewed (0) -
docs/zh-hant/docs/fastapi-cli.md
<font color="#4E9A06">INFO</font>: Started server process [<font color="#06989A">2265873</font>] <font color="#4E9A06">INFO</font>: Waiting for application startup. <font color="#4E9A06">INFO</font>: Application startup complete. ``` </div> `fastapi` 命令列程式就是 **FastAPI CLI**。 FastAPI CLI 接收你的 Python 程式路徑(例如 `main.py`),並自動檢測 FastAPI 實例(通常命名為 `app`),確定正確的引入模組流程,然後運行該應用程式。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 18 12:12:01 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/index.md
<span style="color: green;">INFO</span>: Started server process [28722] <span style="color: green;">INFO</span>: Waiting for application startup. <span style="color: green;">INFO</span>: Application startup complete. ``` </div> 强烈建议你在本地编写或复制代码,对其进行编辑并运行。 在编辑器中使用 FastAPI 会真正地展现出它的优势:只需要编写很少的代码,所有的类型检查,代码补全等等。 --- ## 安装 FastAPI 第一个步骤是安装 FastAPI。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 2.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py39.py
def create_db_and_tables(): SQLModel.metadata.create_all(engine) def get_session(): with Session(engine) as session: yield session app = FastAPI() @app.on_event("startup") def on_startup(): create_db_and_tables() @app.post("/heroes/") def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero: session.add(hero) session.commit()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
<span style="color: green;">INFO</span>: Started server process [28722] <span style="color: green;">INFO</span>: Waiting for application startup. <span style="color: green;">INFO</span>: Application startup complete. ``` </div> /// note | "Технические детали" Команда `uvicorn main:app` обращается к: * `main`: файл `main.py` (модуль Python).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0)