- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 261 for bere (0.25 sec)
-
cmd/sftp-server-driver.go
// When TransferError() is called Close() will also // be called, so we do not need to Wait() here. func (w *writerAt) TransferError(err error) { _ = w.w.CloseWithError(err) _ = w.r.CloseWithError(err) w.err = err } func (w *writerAt) Close() (err error) { switch { case len(w.buffer) > 0: err = errors.New("some file segments were not flushed from the queue") _ = w.w.CloseWithError(err) case w.err != nil:
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 19 12:23:42 GMT 2024 - 12.9K bytes - Viewed (0) -
docs/en/docs/how-to/async-sql-encode-databases.md
Notice that all this code is pure SQLAlchemy Core. `databases` is not doing anything here yet. ## Import and set up `databases` * Import `databases`. * Create a `DATABASE_URL`. * Create a `database` object. ```Python hl_lines="3 9 12" {!../../../docs_src/async_sql_databases/tutorial001.py!} ``` !!! tip If you were connecting to a different database (e.g. PostgreSQL), you would need to change the `DATABASE_URL`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/deployment/server-workers.md
* Here we pass the class that Gunicorn can import and use with: ```Python import uvicorn.workers.UvicornWorker ``` * `--bind`: This tells Gunicorn the IP and the port to listen to, using a colon (`:`) to separate the IP and the port.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
## Return the same input data Here we are declaring a `UserIn` model, it will contain a plaintext password: === "Python 3.10+" ```Python hl_lines="7 9" {!> ../../../docs_src/response_model/tutorial002_py310.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.9K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
have to make sure that it's a single process running those previous steps *even* if afterwards, you start **multiple processes** (multiple workers) for the application itself. If those steps were run by **multiple processes**, they would **duplicate** the work by running it on **parallel**, and if the steps were something delicate like a database migration, they could cause conflicts with each other. Of course, there are some cases where there's no problem in running the previous steps multiple...
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
Here we will see how to work with **SQLAlchemy ORM**. In a similar way you could use any other ORM. !!! tip There's an equivalent article using Peewee here in the docs. ## File structure
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
ext: ext, nlDeps: nlDeps, cfg: cfg, } // By detecting iptables versions *here* once-for-all we are // committing to using the same binary/variant (legacy or nft) // within all pods as we do on the host. // // This should be fine, as the host binaries are all we have to work with here anyway, // as we are running within a privileged container - and we don't want to take the time to
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
versions of FastAPI before 0.99.0 (0.99.0 and above use the newer OpenAPI 3.1.0) when you used `example` or `examples` with any of the other utilities (`Query()`, `Body()`, etc.) those examples were not added to the JSON Schema that describes that data (not even to OpenAPI's own version of JSON Schema), they were added directly to the *path operation* declaration in OpenAPI (outside the parts of OpenAPI that use JSON Schema). But now that FastAPI 0.99.0 and above uses OpenAPI 3.1.0, that uses...
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
entries, err := fs.ReadDir(p.proc, ".") if err != nil { return nil, err } desiredUIDs := sets.New(maps.Keys(pods)...) for _, entry := range entries { // we can't break here because we need to close all the netns we opened // plus we want to return whatever we can to the user. res, err := p.processEntry(p.proc, netnsObserved, desiredUIDs, entry) if err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
/** Return type from "contains the following elements" assertions. */ public interface Ordered { /** * Attests that the expected values must not just be present but must be present in the order * they were given. */ void inOrder(); } private abstract static class GeneralSpliterator<E extends @Nullable Object> { final Spliterator<E> spliterator; GeneralSpliterator(Spliterator<E> spliterator) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 18:19:31 GMT 2024 - 11.9K bytes - Viewed (0)