- Sort Score
- Num 10 results
- Language All
Results 1241 - 1250 of 8,924 for Switch (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_custom_middleware_exception.py
def test_custom_middleware_exception(tmp_path: Path): default_pydantic_max_size = 2**16 path = tmp_path / "test.txt" path.write_bytes(b"x" * (default_pydantic_max_size + 1)) with client: with open(path, "rb") as file: response = client.post("/middleware", files={"file": file}) assert response.status_code == 422, response.text assert response.json() == { "detail": {
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) -
fastapi/.agents/skills/fastapi/SKILL.md
--- name: fastapi description: FastAPI best practices and conventions. Use when working with FastAPI APIs and Pydantic models for them. Keeps FastAPI code clean and up to date with the latest features and patterns, updated with new versions. Write new code or refactor and update old code. --- # FastAPI Official FastAPI skill to write code with best practices, keeping up to date with new versions and features. ## Use the `fastapi` CLI
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 10.1K bytes - Click Count (0) -
LICENSE
END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that aCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue May 08 21:35:34 GMT 2018 - 11.1K bytes - Click Count (0) -
LICENSE
END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that aCreated: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Jan 11 04:30:09 GMT 2021 - 11.1K bytes - Click Count (0) -
helm/minio/README.md
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/uk/docs/advanced/events.md
Менеджер контексту в Python - це те, що можна використовувати в операторі `with`, наприклад, `open()` можна використовувати як менеджер контексту: ```Python with open("file.txt") as file: file.read() ``` У новіших версіях Python також є асинхронний менеджер контексту. Його використовують з `async with`: ```Python async with lifespan(app): await do_stuff() ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 12.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/IndexedImmutableSet.java
return IndexedImmutableSet.this; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } }; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java
* or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.2K bytes - Click Count (0) -
internal/config/dns/types.go
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dns import ( "encoding/json" "time" ) const ( defaultTTL = 30 defaultContextTimeout = 5 * time.Minute )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2K bytes - Click Count (0) -
internal/config/etcd/etcd_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package etcd import ( "reflect" "testing" ) // TestParseEndpoints - tests parseEndpoints function with valid and invalid inputs. func TestParseEndpoints(t *testing.T) { testCases := []struct { s string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.1K bytes - Click Count (0)