- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 172 for recente (0.1 sec)
-
docs/en/docs/advanced/events.md
``` A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager: ```Python with open("file.txt") as file: file.read() ``` In recent versions of Python, there's also an **async context manager**. You would use it with `async with`: ```Python async with lifespan(app): await do_stuff() ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec. In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument. So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp()
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/logger/logonce.go
type LogOnce func(ctx context.Context, err error, id string, errKind ...interface{}) type onceErr struct { Err error Count int } // Holds a map of recently logged errors. type logOnceType struct { IDMap map[string]onceErr sync.Mutex } func (l *logOnceType) logOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/middleware.md
/// ## Criar um middleware Para criar um middleware, use o decorador `@app.middleware("http")` logo acima de uma função. A função middleware recebe: * A `request`. * Uma função `call_next` que receberá o `request` como um parâmetro. * Esta função passará a `request` para a *operação de rota* correspondente.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/logger/targets.go
"sync" "github.com/minio/minio/internal/logger/target/http" "github.com/minio/minio/internal/logger/target/kafka" "github.com/minio/minio/internal/logger/target/types" ) // Target is the entity that we will receive // a single log entry and Send it to the log target // // e.g. Send the log to a http server type Target interface { String() string Endpoint() string Stats() types.TargetStats Init(ctx context.Context) error
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Jun 03 15:44:50 UTC 2024 - 6K bytes - Viewed (0) -
docs/pt/docs/index.md
* Verifica que tem um atributo obrigatório `name` que deve ser `str`. * Verifica que tem um atributo obrigatório `price` que deve ser `float`. * Verifica que tem an atributo opcional `is_offer`, que deve ser `bool`, se presente. * Tudo isso também funciona para objetos JSON profundamente aninhados. * Converter de e para JSON automaticamente. * Documentar tudo com OpenAPI, que poderá ser usado por: * Sistemas de documentação interativos.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 18.6K bytes - Viewed (0) -
internal/config/errors.go
Refer to the link https://github.com/minio/minio/tree/master/docs/erasure/storage-class for more information`, ) ErrUnexpectedBackendVersion = newErrFn( "Backend version seems to be too recent", "Please update to the latest MinIO version", "", ) ErrInvalidAddressFlag = newErrFn( "--address input is invalid", "Please check --address parameter",
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jul 10 16:57:01 UTC 2024 - 9.3K bytes - Viewed (0) -
src/bufio/scan.go
return nil } return s.err } // Bytes returns the most recent token generated by a call to [Scanner.Scan]. // The underlying array may point to data that will be overwritten // by a subsequent call to Scan. It does no allocation. func (s *Scanner) Bytes() []byte { return s.token } // Text returns the most recent token generated by a call to [Scanner.Scan] // as a newly allocated string holding its bytes.
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Oct 23 09:06:30 UTC 2023 - 14.2K bytes - Viewed (0) -
docs/pt/docs/advanced/templates.md
```Python {"id": id} ``` Por exemplo, dado um ID de valor `42`, aparecerá: ```html Item ID: 42 ``` ### Argumentos do `url_for` Você também pode usar `url_for()` dentro do template, ele recebe como argumentos os mesmos argumentos que seriam usados pela sua *path operation function*. Logo, a seção com: {% raw %} ```jinja <a href="{{ url_for('read_item', id=id) }}"> ``` {% endraw %}
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)