- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 1,062 for python (0.04 seconds)
-
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
Object result = jobExecutor.execute("javascript", "console.log('test')"); assertEquals("Executed: javascript console.log('test')", result); result = jobExecutor.execute("python", "print('test')"); assertEquals("Executed: python print('test')", result); result = jobExecutor.execute("groovy", "println 'test'"); assertEquals("Executed: groovy println 'test'", result); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/first-steps.md
この`entrypoint`は、`fastapi`コマンドに対して、次のようにアプリをインポートすべきであることを伝えます: ```python from main import app ``` もしコード構成が次のようになっている場合: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` このときは`entrypoint`を次のように設定します: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` これは次と同等です: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 15.9K bytes - Click Count (0) -
docs/ko/docs/tutorial/body-multiple-params.md
## 다중 본문 매개변수와 쿼리 { #multiple-body-params-and-query } 물론, 필요할 때마다 어떤 본문 매개변수에 추가로 쿼리 매개변수도 선언할 수 있습니다. 기본적으로 단일 값은 쿼리 매개변수로 해석되므로, 명시적으로 `Query`를 추가할 필요 없이 이렇게 하면 됩니다: ```Python q: str | None = None ``` 예를 들어: {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *} /// info | 정보Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial001_py310.py hl[1] *} ### Raise an `HTTPException` in your code { #raise-an-httpexception-in-your-code } `HTTPException` is a normal Python exception with additional data relevant for APIs. Because it's a Python exception, you don't `return` it, you `raise` it.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params.md
But when you declare them with Python types (in the example above, as `int`), they are converted to that type and validated against it. All the same process that applied for path parameters also applies for query parameters: * Editor support (obviously) * Data <dfn title="converting the string that comes from an HTTP request into Python data">"parsing"</dfn> * Data validation * Automatic documentation
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/middleware.md
一般來說,ASGI 中介軟體是類別,預期第一個參數接收一個 ASGI 應用程式。 因此,在第三方 ASGI 中介軟體的文件中,通常會指示你這樣做: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` 但 FastAPI(實際上是 Starlette)提供了一種更簡單的方式,確保內部中介軟體能處理伺服器錯誤,且自訂例外處理器可正常運作。 為此,你可以使用 `app.add_middleware()`(如同 CORS 範例)。 ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware app = FastAPI()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/ko/docs/fastapi-cli.md
``` 이 `entrypoint`는 `fastapi` 명령어에 다음과 같이 앱을 임포트하라고 알려줍니다: ```python from main import app ``` 코드 구조가 다음과 같다면: ``` . ├── backend │ ├── main.py │ ├── __init__.py ``` `entrypoint`를 다음과 같이 설정합니다: ```toml [tool.fastapi] entrypoint = "backend.main:app" ``` 이는 다음과 동일합니다: ```python from backend.main import app ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/sts/client-grants.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import logging import boto3 from boto3.session import Session from botocore.session import get_session from client_grants import ClientGrantsCredentialProvider boto3.set_stream_logger('boto3.resources', logging.DEBUG) bc_session = get_session() bc_session.get_component('credential_provider').insert_before( 'env', ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.2K bytes - Click Count (0) -
ci/official/libtensorflow.sh
tfrun nvidia-smi fi # Update the version numbers for Nightly only if [[ "$TFCI_NIGHTLY_UPDATE_VERSION_ENABLE" == 1 ]]; then python_bin=python3 # TODO(belitskiy): Add a `python3` alias/symlink to Windows Docker image. if [[ $(uname -s) = MSYS_NT* ]]; then python_bin="python" fi tfrun "$python_bin" tensorflow/tools/ci_build/update_version.py --nightly fi if [[ $(uname -s) != MSYS_NT* ]]; then
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Jan 24 20:17:08 GMT 2025 - 2K bytes - Click Count (0) -
docs/ja/docs/deployment/docker.md
Dockerは、**コンテナ・イメージ**と**コンテナ**を作成・管理するための主要なツールの1つです。 そして、多くのツールや環境、データベース、アプリケーションに対応している予め作成された**公式のコンテナ・イメージ**をパブリックに提供している [Docker Hub](https://hub.docker.com/) というものがあります。 例えば、公式イメージの1つに [Python Image](https://hub.docker.com/_/python) があります。 その他にも、データベースなどさまざまなイメージがあります: * [PostgreSQL](https://hub.docker.com/_/postgres) * [MySQL](https://hub.docker.com/_/mysql) * [MongoDB](https://hub.docker.com/_/mongo)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 36.8K bytes - Click Count (0)