- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 2,994 for class (0.01 seconds)
-
docs/zh/docs/tutorial/request-files.md
* 这种方式更适于处理图像、视频、二进制文件等大型文件,好处是不会占用所有内存; * 可获取上传文件的元数据; * 自带 <a href="https://docs.python.org/zh-cn/3/glossary.html#term-file-like-object" class="external-link" target="_blank">file-like</a> `async` 接口; * 暴露的 Python <a href="https://docs.python.org/zh-cn/3/library/tempfile.html#tempfile.SpooledTemporaryFile" class="external-link" target="_blank">`SpooledTemporaryFile`</a> 对象,可直接传递给其他预期「file-like」对象的库。 ### `UploadFile` `UploadFile` 的属性如下:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.3K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`: {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Nov 13 07:37:15 GMT 2025 - 9.1K bytes - Click Count (0) -
docs/de/docs/advanced/generate-clients.md
* <a href="https://speakeasy.com/editor?utm_source=fastapi+repo&utm_medium=github+sponsorship" class="external-link" target="_blank">Speakeasy</a> * <a href="https://www.stainless.com/?utm_source=fastapi&utm_medium=referral" class="external-link" target="_blank">Stainless</a> * <a href="https://developers.liblab.com/tutorials/sdk-for-fastapi?utm_source=fastapi" class="external-link" target="_blank">liblab</a>
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/pt/docs/advanced/generate-clients.md
* <a href="https://speakeasy.com/editor?utm_source=fastapi+repo&utm_medium=github+sponsorship" class="external-link" target="_blank">Speakeasy</a> * <a href="https://www.stainless.com/?utm_source=fastapi&utm_medium=referral" class="external-link" target="_blank">Stainless</a> * <a href="https://developers.liblab.com/tutorials/sdk-for-fastapi?utm_source=fastapi" class="external-link" target="_blank">liblab</a>
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
* concurrently. * * @since 4.0.0 */ public final class SimplexTransferListener extends AbstractTransferListener implements AutoCloseable { private static final Logger LOGGER = LoggerFactory.getLogger(SimplexTransferListener.class); private static final int QUEUE_SIZE = 1024; private static final int BATCH_MAX_SIZE = 500;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0) -
tests/test_request_params/test_form/test_optional_str.py
# Without aliases @app.post("/optional-str", operation_id="optional_str") async def read_optional_str(p: Annotated[Optional[str], Form()] = None): return {"p": p} class FormModelOptionalStr(BaseModel): p: Optional[str] = None @app.post("/model-optional-str", operation_id="model_optional_str") async def read_model_optional_str(p: Annotated[FormModelOptionalStr, Form()]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.9K bytes - Click Count (0) -
tests/test_request_params/test_query/test_optional_list.py
# Without aliases @app.get("/optional-list-str") async def read_optional_list_str( p: Annotated[Optional[list[str]], Query()] = None, ): return {"p": p} class QueryModelOptionalListStr(BaseModel): p: Optional[list[str]] = None @app.get("/model-optional-list-str") async def read_model_optional_list_str( p: Annotated[QueryModelOptionalListStr, Query()], ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.1K bytes - Click Count (0) -
tests/test_request_params/test_query/test_required_str.py
# ===================================================================================== # Without aliases @app.get("/required-str") async def read_required_str(p: str): return {"p": p} class QueryModelRequiredStr(BaseModel): p: str @app.get("/model-required-str") async def read_model_required_str(p: Annotated[QueryModelRequiredStr, Query()]): return {"p": p.p} @pytest.mark.parametrize(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedback.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package promotion import common.VersionedSettingsBranch class PublishNightlySnapshotFromQuickFeedback( branch: VersionedSettingsBranch, ) : PublishGradleDistributionFullBuild( promotedBranch = branch.branchName, prepTask = branch.prepNightlyTaskName(),
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Mar 20 06:13:56 GMT 2025 - 1.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
import org.apache.maven.model.validation.DefaultModelValidator; import org.apache.maven.model.validation.ModelValidator; /** * A factory to create model builder instances when no dependency injection is available. Note: This class is * only meant as a utility for developers that want to employ the model builder outside of the Maven build system, Maven
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.2K bytes - Click Count (0)