- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 168 for elts (0.04 sec)
-
docs/pt/docs/tutorial/path-params.md
Importe `Enum` e crie uma sub-classe que herde de `str` e de `Enum`. Por herdar de `str` a documentação da API vai ser capaz de saber que os valores devem ser do tipo `string` e assim ser capaz de mostrar eles corretamente. Assim, crie atributos de classe com valores fixos, que serão os valores válidos disponíveis. ```Python hl_lines="1 6-9" {!../../../docs_src/path_params/tutorial005.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 9.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/index.md
Ele também foi feito como referência futura. Então você poderá voltar e ver exatamente o que precisar. ## Rode o código Todos os blocos de código podem ser copiados e utilizados diretamente (eles são, na verdade, arquivos Python testados). Para rodar qualquer um dos exemplos, copie o codigo para um arquivo `main.py`, e inicie o `uvivorn` com: <div class="termy"> ```console $ uvicorn main:app --reload
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
} return redirect(getClass()); } private boolean checkFileType(final String fileName, final String[] exts) { if (fileName == null) { return false; } final String lFileName = fileName.toLowerCase(Locale.ENGLISH); for (final String ext : exts) { if (lFileName.endsWith("." + ext)) { return true; } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 15.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-params.md
!!! note "Detalhes Técnicos" `Header` é uma classe "irmã" de `Path`, `Query` e `Cookie`. Ela também herda da mesma classe em comum `Param`. Mas lembre-se que quando você importa `Query`, `Path`, `Header`, e outras de `fastapi`, elas são na verdade funções que retornam classes especiais. !!! info Para declarar headers, você precisa usar `Header`, caso contrário, os parâmetros seriam interpretados como parâmetros de consulta. ## Conversão automática
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 3.9K bytes - Viewed (0) -
src/net/http/responsecontroller.go
return t.FlushError() case Flusher: t.Flush() return nil case rwUnwrapper: rw = t.Unwrap() default: return errNotSupported() } } } // Hijack lets the caller take over the connection. // See the Hijacker interface for details. func (c *ResponseController) Hijack() (net.Conn, *bufio.ReadWriter, error) { rw := c.rw for { switch t := rw.(type) { case Hijacker:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/scheduler/scheduler_test.go
fwk, err := newFramework(ctx, registry, profile) if err != nil { t.Fatal(err) } exts := fwk.EnqueueExtensions() // need to sort to make the test result stable. sort.Slice(exts, func(i, j int) bool { return exts[i].Name() < exts[j].Name() }) got := buildQueueingHintMap(exts) for e, fns := range got { wantfns, ok := tt.want[e] if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 42K bytes - Viewed (0) -
docs/distributed/CONFIG.md
### Usage ``` minio server --config config.yaml ```
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 03 15:54:03 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/pt/docs/history-design-future.md
</blockquote> ## Investigação Ao usar todas as alternativas anteriores, eu tive a chance de aprender com todas elas, aproveitar ideias e combiná-las da melhor maneira que encontrei para mim e para os times de desenvolvedores com os quais trabalhava. Por exemplo, estava claro que idealmente ele deveria ser baseado nos _type hints_ padrões do Python.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 4.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
``` === "Python 3.10 and above" ```Python hl_lines="15 20 25" {!> ../../../docs_src/path_operation_configuration/tutorial002_py310.py!} ``` Eles serão adicionados ao esquema OpenAPI e usados pelas interfaces de documentação automática: <img src="/img/tutorial/path-operation-configuration/image01.png"> ### Tags com Enums
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/nowb.go
} func (c *nowritebarrierrecChecker) check() { // We walk the call graph as late as possible so we can // capture all calls created by lowering, but this means we // only get to see the obj.LSyms of calls. symToFunc lets us // get back to the ODCLFUNCs. symToFunc := make(map[*obj.LSym]*ir.Func) // funcs records the back-edges of the BFS call graph walk. It // maps from the ODCLFUNC of each function that must not have
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0)