- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 156 for syncify (0.04 seconds)
-
fastapi/.agents/skills/fastapi/references/other-tools.md
And run async code inside of blocking sync code with `syncify()`: ```python from asyncer import syncify from fastapi import FastAPI app = FastAPI() async def do_async_work(name: str) -> str: return f"Hello {name}" @app.get("/items/") def read_items(): result = syncify(do_async_work)(name="World") return {"message": result} ``` ## SQLModel for SQL databases
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/bucket/replication/README.md
To disable replica metadata modification syncing, use `mc replicate edit` with the --replicate flag. ``` mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker" ``` To re-enable replica metadata modification syncing, ``` mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker,replica-metadata-sync" ```
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.3K bytes - Click Count (0) -
chainable_api.go
package gorm import ( "fmt" "regexp" "strings" "gorm.io/gorm/clause" "gorm.io/gorm/utils" ) // Model specify the model you would like to run db operations // // // update all users's name to `hello` // db.Model(&User{}).Update("name", "hello") // // if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello` // db.Model(&user).Update("name", "hello")
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
cb.specify().columnAccessType(); cb.specify().columnUserSessionId(); cb.specify().columnHitCount(); cb.specify().columnClientIp(); cb.specify().columnSearchWord(); cb.specify().columnRequestedAt(); cb.specify().columnHitCount(); cb.specify().columnVirtualHost(); cb.specify().columnLanguages();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0) -
cmd/postpolicyform_test.go
wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "X-Amz-Meta-Name" not specified in the policy.`, }, { name: "unknown key XAmzChecksumAlgo is error as it does not appear in policy", fv: defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.AmzChecksumAlgo), "algo-val"),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.3K bytes - Click Count (0) -
docs/features/connections.md
URLs are abstract:
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/en/docs/tutorial/cors.md
So, for everything to work correctly, it's better to specify explicitly the allowed origins. ## Use `CORSMiddleware` { #use-corsmiddleware } You can configure it in your **FastAPI** application using the `CORSMiddleware`. * Import `CORSMiddleware`. * Create a list of allowed origins (as strings). * Add it as a "middleware" to your **FastAPI** application. You can also specify whether your backend allows:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-data-types.md
* In responses, the `set` will be converted to a `list`. * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`). * `bytes`: * Standard Python `bytes`. * In requests and responses will be treated as `str`. * The generated schema will specify that it's a `str` with `binary` "format". * `Decimal`: * Standard Python `Decimal`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.6K bytes - Click Count (0) -
configure.py
def setup_python(environ_cp): """Setup python related env variables.""" # Get PYTHON_BIN_PATH, default is the current running python. default_python_bin_path = sys.executable ask_python_bin_path = ('Please specify the location of python. [Default is ' '{}]: ').format(default_python_bin_path) while True: python_bin_path = get_from_env_or_user_or_default(environ_cp,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 19 16:32:04 GMT 2025 - 48.3K bytes - Click Count (0) -
tests/test_ambiguous_params.py
match=( "Cannot specify `Depends` in `Annotated` and default value" " together for 'foo'" ), ): @app.get("/") async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)): pass # pragma: nocover with pytest.raises( AssertionError, match=( "Cannot specify a FastAPI annotation in `Annotated` and `Depends` as a"Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2K bytes - Click Count (1)