- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 559 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) -
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) -
tensorflow/c/eager/c_api.cc
} namespace tensorflow { namespace { class CustomDeviceAPI : public tensorflow::CustomDevice { public: CustomDeviceAPI(TFE_Context* context, TFE_CustomDevice device, void* info, string name) : context_(context), device_(device), info_(info), name_(name) {} ~CustomDeviceAPI() override { device_.delete_device(info_); } const string& name() override { return name_; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// Set up distributed execution environment on local and remote tasks. // When `reset_context` is true, initialize new cluster context state based // on cluster configurations provided in `server_def`; otherwise, update // existing context state with the provided `server_def`. Contexts created // on remote tasks will be considered stale and garbage collected after // `keep_alive_secs` of inactivity.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.9K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-tls
server: https://10.96.0.1:443 name: local contexts: - context: cluster: local user: istio-cni name: istio-cni-context current-context: istio-cni-context kind: Config preferences: {} users: - name: istio-cni user:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 1.7K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-skip-tls
apiVersion: v1 clusters: - cluster: insecure-skip-tls-verify: true server: https://10.96.0.1:443 name: local contexts: - context: cluster: local user: istio-cni name: istio-cni-context current-context: istio-cni-context kind: Config preferences: {} users: - name: istio-cni user:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed May 17 02:22:22 UTC 2023 - 342 bytes - Viewed (0)