- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Barnes (0.18 sec)
-
tests/test_regex_deprecated_body.py
from fastapi import FastAPI, Form from fastapi.testclient import TestClient from typing_extensions import Annotated from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(DeprecationWarning): @app.post("/items/") async def read_items( q: Annotated[str | None, Form(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 6.2K bytes - Viewed (0) -
ci/official/utilities/extract_resultstore_links.py
class InvokeStatus: tests_failed = 'tests_failed' build_failed = 'build_failed' passed = 'passed' def parse_args() -> argparse.Namespace: """Parses the commandline args.""" parser = argparse.ArgumentParser( description='Extracts ResultStore links from a build log.\n' 'These can be then printed out, and/or output into a '
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Viewed (0) -
tests/test_regex_deprecated_params.py
from fastapi import FastAPI, Query from fastapi.testclient import TestClient from typing_extensions import Annotated from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(DeprecationWarning): @app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 5.5K bytes - Viewed (0)