- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 3,534 for same (0.02 seconds)
-
docs/en/docs/tutorial/response-status-code.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4K bytes - Click Count (0) -
docs/en/docs/features.md
def main(user_id: str): return user_id # A Pydantic model class User(BaseModel): id: int name: str joined: date ``` That can then be used like: ```Python my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 9.5K bytes - Click Count (0) -
internal/http/close.go
) // DrainBody close non nil response with any response Body. // convenient wrapper to drain any remaining data on response body. // // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) { // Callers should close resp.Body when done reading from it. // If resp.Body is not closed, the Client's underlying RoundTripper
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java
final class Platform { private static final char[] CHAR_BUFFER = new char[1024]; static char[] charBufferFromThreadLocal() { // ThreadLocal is not available to GWT, so we always reuse the same // instance. It is always safe to return the same instance because // javascript is single-threaded, and only used by blocks that doesn't // involve async callbacks. return CHAR_BUFFER; } private Platform() {}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.1K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* * <p>Note, however, that although multiple locks can be created for a given Enum value, whether * it be through separate factory instances or through multiple calls to the same factory, * attempting to acquire multiple locks with the same Enum value (within the same thread) will * result in an IllegalStateException regardless of the factory's policy. For example: * * {@snippet :
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* </ol> * * @param multimap the presumed-immutable multimap * @param sampleKey a key of the same type as that contained by {@code multimap}. {@code multimap} * may or may not have {@code sampleKey} as a key. * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code * multimap} may or may not have {@code sampleValue} as a key. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
public interface ExecutionEvent { /** * The possible types of execution events. * * Note: do not modify this enum, or, make sure that this enum and * {@link org.apache.maven.api.EventType} have same elements in same order. */ enum Type { ProjectDiscoveryStarted, SessionStarted, SessionEnded, ProjectSkipped, ProjectStarted, ProjectSucceeded,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.5K bytes - Click Count (0) -
docs/en/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> And all of them will use the same WebSocket connection. ## Using `Depends` and others { #using-depends-and-others } In WebSocket endpoints you can import from `fastapi` and use: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` They work the same way as for other FastAPI endpoints/*path operations*:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.7K bytes - Click Count (0) -
docs/en/docs/tutorial/request-forms.md
With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc. /// info `Form` is a class that inherits directly from `Body`. /// /// tip
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/en/docs/advanced/settings.md
For example, if you have a function: ```Python @lru_cache def say_hi(name: str, salutation: str = "Ms."): return f"Hello {salutation} {name}" ``` your program could execute like this: ```mermaid sequenceDiagram participant code as Code
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 11.2K bytes - Click Count (0)