- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 668 for methods (0.06 seconds)
-
docs/de/docs/advanced/custom-response.md
Sie könnten eine `CustomORJSONResponse` erstellen. Das Wichtigste, was Sie tun müssen, ist, eine `Response.render(content)`-Methode zu erstellen, die den Inhalt als `bytes` zurückgibt: {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *} Statt: ```json {"message": "Hello World"} ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.4K bytes - Click Count (0) -
docs/pt/docs/advanced/custom-response.md
Você poderia criar uma classe `CustomORJSONResponse`. A principal coisa a ser feita é sobrecarregar o método render da classe Response, `Response.render(content)`, que retorna o conteúdo em bytes: {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *} Agora em vez de retornar: ```json
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.8K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`. You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`: {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *} Now instead of returning: ```json {"message": "Hello World"} ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
System.setProperty(MavenCli.MULTIMODULE_PROJECT_DIRECTORY, origBasedir); } else { System.getProperties().remove(MavenCli.MULTIMODULE_PROJECT_DIRECTORY); } } // Helper method for containsExactlyInAnyOrder assertion private static <T> void assertContainsExactlyInAnyOrder(Collection<T> actual, T... expected) { assertEquals(expected.length, actual.size(), "Collection size mismatch");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
* The response `418`. 🍵 But that will only affect that `APIRouter` in our app, not in any other code that uses it. So, for example, other projects could use the same `APIRouter` with a different authentication method. ### Include a *path operation* { #include-a-path-operation } We can also add *path operations* directly to the `FastAPI` app. Here we do it... just to show that we can 🤷:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 18.6K bytes - Click Count (0) -
src/archive/tar/writer.go
hdr Header // Shallow copy of Header that is safe for mutations blk block // Buffer to use as temporary local storage // err is a persistent error. // It is only the responsibility of every exported method of Writer to // ensure that this error is sticky. err error } // NewWriter creates a new Writer writing to w. func NewWriter(w io.Writer) *Writer { return &Writer{w: w, curr: ®FileWriter{w, 0}} }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
docs/de/docs/tutorial/schema-extra-example.md
{* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *} ### Beispiel in der Dokumentations-Benutzeroberfläche { #example-in-the-docs-ui } Mit jeder der oben genannten Methoden würde es in `/docs` so aussehen: <img src="/img/tutorial/body-fields/image01.png"> ### `Body` mit mehreren `examples` { #body-with-multiple-examples } Sie können natürlich auch mehrere `examples` übergeben:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 10.6K bytes - Click Count (0) -
api/maven-api-model/src/main/mdo/maven.mdo
<![CDATA[ /** * @deprecated this was unused and has no replacement, this method returns {@code null} now. */ @Deprecated(since = "4.0.0") public String getMergeId() { return null; } /** * @deprecated this was unused and has no replacement, this method is a no-op now. */ @Deprecated(since = "4.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 26 03:07:35 GMT 2025 - 133.3K bytes - Click Count (0) -
docs/fr/docs/index.md
Vous faites cela avec les types Python standard modernes. Vous n'avez pas à apprendre une nouvelle syntaxe, les méthodes ou les classes d'une bibliothèque spécifique, etc. Juste du **Python** standard. Par exemple, pour un `int`: ```Python item_id: int ``` ou pour un modèle `Item` plus complexe :
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 22K bytes - Click Count (0) -
docs/pt/docs/python-types.md
É um programa muito simples. Mas agora imagine que você estava escrevendo do zero. Em algum momento você teria iniciado a definição da função, já tinha os parâmetros prontos... Mas então você deve chamar "esse método que converte a primeira letra em maiúscula". Era `upper`? Era `uppercase`? `first_uppercase`? `capitalize`? Em seguida, tente com o velho amigo do programador, o preenchimento automático do editor.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.7K bytes - Click Count (0)