- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 369 for _self (0.02 seconds)
-
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
Möglicherweise stellen Sie fest, dass Sie zum Erstellen einer Instanz einer Python-Klasse die gleiche Syntax verwenden. Zum Beispiel: ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` In diesem Fall ist `fluffy` eine Instanz der Klasse `Cat`. Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 07:57:30 GMT 2026 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
this.allowsParallelEdges = allowsParallelEdges; return this; } /** * Specifies whether the network will allow self-loops (edges that connect a node to itself). * Attempting to add a self-loop to a network that does not allow them will throw an {@link * UnsupportedOperationException}. * * <p>The default value is {@code false}. */ @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.3K bytes - Click Count (0) -
guava/pom.xml
<executions> <execution> <id>default-compile</id> <configuration> <compilerArgs combine.children="append" combine.self="append"> <arg>-XDignore.symbol.file</arg> </compilerArgs> </configuration> </execution> <execution> <id>compile-java9</id>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 21:36:50 GMT 2025 - 9.6K bytes - Click Count (0) -
docs_src/graphql_/tutorial001_py310.py
from fastapi import FastAPI from strawberry.fastapi import GraphQLRouter @strawberry.type class User: name: str age: int @strawberry.type class Query: @strawberry.field def user(self) -> User: return User(name="Patrick", age=100) schema = strawberry.Schema(query=Query) graphql_app = GraphQLRouter(schema) app = FastAPI()Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 424 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
do { inflaterSource.readOrInflate(buffer, Long.MAX_VALUE) } while (inflater.bytesRead < totalBytesToRead && !inflater.finished()) // The inflater data was self-terminated and there's unexpected trailing data. Tear it all down // so we don't leak that data into the input of the next message. if (inflater.bytesRead < totalBytesToRead) { deflatedBytes.clear()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md
Vous remarquerez que pour créer une instance d'une classe Python, vous utilisez la même syntaxe. Par exemple : ```Python class Cat: def __init__(self, name: str): self.name = name fluffy = Cat(name="Mr Fluffy") ``` Dans ce cas, `fluffy` est une instance de la classe `Cat`. Et pour créer `fluffy`, vous « appelez » `Cat`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 7.5K bytes - Click Count (0) -
tests/test_datetime_custom_encoder.py
def test_pydanticv2(): from pydantic import field_serializer class ModelWithDatetimeField(BaseModel): dt_field: datetime @field_serializer("dt_field") def serialize_datetime(self, dt_field: datetime): return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat() app = FastAPI() model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 817 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val message = "f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex() assertThat(inflater.inflate(message)).isEqualTo("Hello inflation!".encodeUtf8()) } /** * We had a bug where self-finishing inflater streams would infinite loop! * https://github.com/square/okhttp/issues/8078 */ @Test fun `inflate returns finished before bytesRead reaches input length`() { val inflater = MessageInflater(false)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 6.4K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial002_an_py310.py
from fastapi import Body, FastAPI, HTTPException, Request, Response from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try: return await original_route_handler(request)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 974 bytes - Click Count (0) -
docs/ru/docs/how-to/custom-docs-ui-assets.md
# Свои статические ресурсы UI документации (самостоятельный хостинг) { #custom-docs-ui-static-assets-self-hosting } Документация API использует **Swagger UI** и **ReDoc**, и для каждого из них нужны некоторые файлы JavaScript и CSS.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 12.6K bytes - Click Count (0)