- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 485 for pkpass (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_additional_responses_default_validationerror.py
from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() @app.get("/a/{id}") async def a(id): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == snapshot( {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.3K bytes - Click Count (0) -
tests/test_duplicate_models_openapi.py
from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() class Model(BaseModel): pass class Model2(BaseModel): a: Model class Model3(BaseModel): c: Model d: Model2 @app.get("/", response_model=Model3) def f(): return {"c": {}, "d": {"a": {}}} client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.4K bytes - Click Count (0) -
CONTRIBUTING.md
initiates CI/CD tests. - We can't move forward if these tests fail. - In such situations, we may request you to make further changes to your PR for the tests to pass. - Once the tests pass, we now bring all the code into the internal code base, using a job called "copybara". **5. Copy to Google Internal codebase and run internal CI**
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Jan 11 04:47:59 GMT 2025 - 15.9K bytes - Click Count (0) -
okhttp-logging-interceptor/README.md
logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`. To log to a custom location, pass a `Logger` instance to the constructor. ```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() { @Override public void log(String message) { Timber.tag("OkHttp").d(message); } }); ```
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/en/docs/tutorial/background-tasks.md
{* ../../docs_src/background_tasks/tutorial001_py310.py hl[1,13] *} **FastAPI** will create the object of type `BackgroundTasks` for you and pass it as that parameter. ## Create a task function { #create-a-task-function } Create a function to be run as the background task. It is just a standard function that can receive parameters.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.7K bytes - Click Count (0) -
tests/test_exception_handlers.py
@app.get("/http-exception") def route_with_http_exception(): raise HTTPException(status_code=400) @app.get("/request-validation/{param}/") def route_with_request_validation_exception(param: int): pass # pragma: no cover @app.get("/server-error") def route_with_server_error(): raise RuntimeError("Oops!") def test_override_http_exception(): response = client.get("/http-exception")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/flaking-test.yaml
labels: kind/flake body: - type: textarea id: jobs attributes: label: Which jobs are flaking? description: | Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI. Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Tue Oct 05 16:55:38 GMT 2021 - 1.4K bytes - Click Count (0) -
internal/mountinfo/mountinfo.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.1K bytes - Click Count (0) -
helm/minio/values.yaml
## is restarted. This can result in unnecessary restarts under GitOps tooling such as ## flux, so set to "true" to disable this behaviour. ignoreChartChecksums: false ## Additional arguments to pass to minio binary extraArgs: [] # example for enabling FTP: # - --ftp=\"address=:8021\" # - --ftp=\"passive-port-range=10000-10010\" ## Additional volumes to minio container extraVolumes: []
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 19.7K bytes - Click Count (1) -
docs/en/docs/tutorial/dependencies/index.md
This way you write shared code once and **FastAPI** takes care of calling it for your *path operations*. /// check Notice that you don't have to create a special class and pass it somewhere to **FastAPI** to "register" it or anything similar. You just pass it to `Depends` and **FastAPI** knows how to do the rest. /// ## Share `Annotated` dependencies { #share-annotated-dependencies }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0)