- Sort Score
- Num 10 results
- Language All
Results 1041 - 1050 of 4,691 for Done (0.02 seconds)
-
tests/test_response_model_as_return_annotation.py
@app.get("/response_model_none-annotation-return_same_model", response_model=None) def response_model_none_annotation_return_same_model() -> User: return User(name="John", surname="Doe") @app.get("/response_model_none-annotation-return_exact_dict", response_model=None) def response_model_none_annotation_return_exact_dict() -> User: return {"name": "John", "surname": "Doe"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
cmd/handler-utils.go
return errorResponseHandler } // If none of the http routes match respond with appropriate errors func errorResponseHandler(w http.ResponseWriter, r *http.Request) { if r.Method == http.MethodOptions { return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
fastapi/_compat/shared.py
) -> TypeGuard[type[_T]]: try: return isinstance(cls, type) and issubclass(cls, class_or_tuple) # type: ignore[arg-type] except TypeError: # pragma: no cover if isinstance(cls, WithArgsTypes): return False raise # pragma: no cover def _annotation_is_sequence(annotation: type[Any] | None) -> bool:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/webapp/css/style.css
} #result .site cite { color: #093; font-style: normal; } #result .more { display: none; } #result .info { font-size: 80%; } #result .url-copy { color: #007bff; } #result .url-copied { color: #2c974b; } #result .favorited { display: none; } #result .favorited i { color: #fab005; } #result .thumbnail { width: 100px;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 2K bytes - Click Count (0) -
docs/sts/client_grants/sts_element.py
elt = self.element.find('sts:{}'.format(name), _STS_NS) return STSElement(self.root_name, elt) if elt is not None else None def get_child_text(self, name, strict=True): """Extract text of a child element. If strict, and child element is not present, raises InvalidXMLError and otherwise returns None. """ if strict: try:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 2.5K bytes - Click Count (0) -
tests/test_param_class.py
app = FastAPI() @app.get("/items/") def read_items(q: str | None = Param(default=None)): # type: ignore return {"q": q} client = TestClient(app) def test_default_param_query_none(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == {"q": None} def test_default_param_query(): response = client.get("/items/?q=foo")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 604 bytes - Click Count (0) -
scripts/sponsors.py
sponsors_token: SecretStr pr_token: SecretStr github_repository: str httpx_timeout: int = 30 def get_graphql_response( *, settings: Settings, query: str, after: str | None = None, ) -> dict[str, Any]: headers = {"Authorization": f"token {settings.sponsors_token.get_secret_value()}"} variables = {"after": after} response = httpx.post( github_graphql_url,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 6.1K bytes - Click Count (0) -
tests/test_custom_middleware_exception.py
Args: app (ASGI application): ASGI application max_content_size (optional): the maximum content size allowed in bytes, None for no limit """ def __init__(self, app: APIRouter, max_content_size: int | None = None): self.app = app self.max_content_size = max_content_size def receive_wrapper(self, receive): received = 0 async def inner():Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.8K bytes - Click Count (0) -
docs_src/server_sent_events/tutorial004_py310.py
] @app.get("/items/stream", response_class=EventSourceResponse) async def stream_items( last_event_id: Annotated[int | None, Header()] = None, ) -> AsyncIterable[ServerSentEvent]: start = last_event_id + 1 if last_event_id is not None else 0 for i, item in enumerate(items): if i < start: continue
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 795 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
/** * SAX event handler called when an XML start element is encountered. * Processes collection definitions and tracks the element hierarchy. * * @param uri the namespace URI, or empty string if none * @param localName the local name without prefix, or empty string if namespace processing is not performed * @param qName the qualified name with prefix, or empty string if qualified names are not availableCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0)