- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 1,178 for rsync (0.03 sec)
-
tests/test_regex_deprecated_params.py
from typing_extensions import Annotated from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(DeprecationWarning): @app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/jquery.form-validator.min.js
n(this.$form),this.haltedFormValidation=!0,this.isRunning=!0,this.$input.attr("disabled","disabled").addClass("async-validation"),this.$form.addClass("async-validation"),b(function(a){this.done(a)}.bind(this)),null)},d.prototype.done=function(a){this.result=a,this.hasRun=!0,this.isRunning=!1,this.$input.removeAttr("disabled").removeClass("async-validation"),this.$form.removeClass("async-validation"),this.haltedFormValidation&&(g.unHaltValidation(this.$form),"submit"===f?this.$form.trigger("submi...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 32.8K bytes - Viewed (0) -
cmd/metacache-bucket.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "runtime/debug" "sort" "sync" "time" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/console" ) // a bucketMetacache keeps track of all caches generated // for a bucket. type bucketMetacache struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.6K bytes - Viewed (0) -
cmd/metacache-stream.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" "io" "strings" "sync" jsoniter "github.com/json-iterator/go" "github.com/klauspost/compress/s2" xioutil "github.com/minio/minio/internal/ioutil" "github.com/tinylib/msgp/msgp" "github.com/valyala/bytebufferpool" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
internal/config/heal/heal.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package heal import ( "errors" "fmt" "strconv" "strings" "sync" "time" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" ) // Compression environment variables const ( Bitrot = "bitrotscan" Sleep = "max_sleep"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
api/go1.18.txt
pkg strings, func Clone(string) string pkg strings, func Cut(string, string) (string, string, bool) pkg strings, func Title //deprecated pkg sync, method (*Mutex) TryLock() bool pkg sync, method (*RWMutex) TryLock() bool pkg sync, method (*RWMutex) TryRLock() bool pkg syscall (freebsd-386), type SysProcAttr struct, Pdeathsig Signal pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Pdeathsig Signal
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
cmd/metrics-v3-cluster-notification.go
notificationEventsSkippedTotal = "events_skipped_total" ) var ( notificationCurrentSendInProgressMD = NewCounterMD(notificationCurrentSendInProgress, "Number of concurrent async Send calls active to all targets") notificationEventsErrorsTotalMD = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 24 04:10:35 UTC 2024 - 2.2K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/main.py
from .database import db_state_default database.db.connect() database.db.create_tables([models.User, models.Item]) database.db.close() app = FastAPI() sleep_time = 10 async def reset_db_state(): database.db._state._state.set(db_state_default.copy()) database.db._state.reset() def get_db(db_state=Depends(reset_db_state)): try: database.db.connect() yield
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 2.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/background-tasks.md
**FastAPI** は、`BackgroundTasks` 型のオブジェクトを作成し、そのパラメーターに渡します。 ## タスク関数の作成 バックグラウンドタスクとして実行される関数を作成します。 これは、パラメーターを受け取ることができる単なる標準的な関数です。 これは `async def` または通常の `def` 関数であり、**FastAPI** はこれを正しく処理します。 ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。 また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。 ```Python hl_lines="6-9" {!../../docs_src/background_tasks/tutorial001.py!} ``` ## バックグラウンドタスクの追加
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
В данном случае это асинхронная функция. --- Вы также можете определить ее как обычную функцию вместо `async def`: ```Python hl_lines="7" {!../../docs_src/first_steps/tutorial003.py!} ``` /// note | "Технические детали" Если не знаете в чём разница, посмотрите [Конкурентность: *"Нет времени?"*](../async.md#_1){.internal-link target=_blank}. /// ### Шаг 5: верните результат ```Python hl_lines="8"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0)