- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 659 for context_a (0.1 sec)
-
tests/test_dependency_contextmanager.py
async def context_a(state: dict = Depends(get_state)): state["context_a"] = "started a" try: yield state finally: state["context_a"] = "finished a" async def context_b(state: dict = Depends(context_a)): state["context_b"] = "started b" try: yield state finally: state["context_b"] = f"finished b with a: {state['context_a']}"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 11.6K bytes - Viewed (0) -
src/main/resources/fess_indices/fess.json
] } } } }, "mappings": { "_source": { "excludes": [ "content_ar", "content_bg", "content_bn", "content_ca", "content_ckb-iq", "content_cs", "content_da", "content_de", "content_el", "content_en", "content_en-ie", "content_es",
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Aug 11 01:26:55 UTC 2022 - 39.9K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
} impersonateConfig := i.getImpersonateConfig() rawConfigContexts := maps.Keys(rawConfig.Contexts) for _, c := range contexts { if !slices.Contains(rawConfigContexts, c) { return nil, fmt.Errorf("context %q not found", c) } } var clients []kube.CLIClient for _, contextName := range contexts { if i.remoteClients[contextName] != nil { clients = append(clients, i.remoteClients[contextName])
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
internal/kms/context.go
package kms import ( "bytes" "sort" "unicode/utf8" ) // Context is a set of key-value pairs that // are associated with a generate data encryption // key (DEK). // // A KMS implementation may bind the context to the // generated DEK such that the same context must be // provided when decrypting an encrypted DEK. type Context map[string]string // MarshalText returns a canonical text representation of
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
op_outputs_ = std::vector<TensorHandlePtr>(); Execute(context_, operation_name_, std::move(op_inputs_), attributes_, expected_max_outputs_, &op_outputs_, status_.get()); execution_state_ = ExecutionState::kHasResult; } } finished_execute_.notify_one(); } } void DeviceThread::StartExecute(TFE_Context* context, const char* operation_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/database.py
from contextvars import ContextVar import peewee DATABASE_NAME = "test.db" db_state_default = {"closed": None, "conn": None, "ctx": None, "transactions": None} db_state = ContextVar("db_state", default=db_state_default.copy()) class PeeweeConnectionState(peewee._ConnectionState): def __init__(self, **kwargs): super().__setattr__("_state", db_state) super().__init__(**kwargs) def __setattr__(self, name, value):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 662 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DocGenerationException.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs; import org.gradle.internal.exceptions.Contextual; @Contextual public class DocGenerationException extends RuntimeException { public DocGenerationException(String message) { super(message); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 968 bytes - Viewed (0) -
tests/test_dependency_contextvars.py
def test_dependency_contextvars(): """ Check that custom middlewares don't affect the contextvar context for dependencies. The code before yield and the code after yield should be run in the same contextvar context, so that request_state_context_var.reset(contextvar_token). If they are run in a different context, that raises an error. """ response = client.get("/user") assert response.json() == "deadpond"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Feb 17 12:40:12 UTC 2022 - 1.5K bytes - Viewed (0) -
src/main/resources/fess_indices/_aws/fess.json
] } } } }, "mappings": { "_source": { "excludes": [ "content_ar", "content_bg", "content_bn", "content_ca", "content_ckb-iq", "content_cs", "content_da", "content_de", "content_el", "content_en", "content_en-ie", "content_es",
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Mar 23 12:38:28 UTC 2021 - 117.3K bytes - Viewed (0) -
src/main/resources/fess_indices/_cloud/fess.json
] } } } }, "mappings": { "_source": { "excludes": [ "content_ar", "content_bg", "content_bn", "content_ca", "content_ckb-iq", "content_cs", "content_da", "content_de", "content_el", "content_en", "content_en-ie", "content_es",
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Feb 27 09:26:16 UTC 2021 - 117.3K bytes - Viewed (0)