- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for James (0.16 sec)
-
RELEASE.md
* Using `functools.wraps` on a function with different signature * Using `functools.partial` with an invalid `tf.function` input * `tf.function` now enforces input parameter names to be valid Python identifiers. Incompatible names are automatically sanitized similarly to existing SavedModel signature behavior.
Plain Text - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri Mar 22 09:52:18 GMT 2024 - 726.5K bytes - Viewed (8) -
istioctl/pkg/waypoint/waypoint.go
}) return waypointCmd } // deleteWaypoints handles the deletion of waypoints based on the provided names, or all if names is nil func deleteWaypoints(cmd *cobra.Command, kubeClient kube.CLIClient, namespace string, names []string) error { var multiErr *multierror.Error if names == nil { // If names is nil, delete all waypoints waypoints, err := kubeClient.GatewayAPI().GatewayV1beta1().Gateways(namespace).
Go - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Tue Mar 26 17:57:11 GMT 2024 - 13.7K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc. And these models are all sharing a lot of the data and duplicating attribute names and types. We could do better. We can declare a `UserBase` model that serves as a base for our other models. And then we can make subclasses of that model that inherit its attributes (type declarations, validation, etc).
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/en/docs/tutorial/body-nested-models.md
## Nested Models Each attribute of a Pydantic model has a type. But that type can itself be another Pydantic model. So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations. All that, arbitrarily nested. ### Define a submodel For example, we can define an `Image` model: === "Python 3.10+" ```Python hl_lines="7-9"
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.5K bytes - Viewed (0) -
.github/workflows/update-rbe.yml
} # See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/toolchains/remote_config/configs.bzl # This is a mapping of name_container_map keys under sigbuild_tf_configs # to tag names on gcr.io/tensorflow-sigs/build. # TF 2.9 map sigbuild-r2.9 2.9-python3.9 map sigbuild-r2.9-python3.8 2.9-python3.8 map sigbuild-r2.9-python3.9 2.9-python3.9
Others - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Mon Mar 25 17:39:48 GMT 2024 - 6.5K bytes - Viewed (0) -
docs/en/docs/python-types.md
I think `Union[SomeType, None]` is more explicit about what it means. It's just about the words and names. But those words can affect how you and your teammates think about the code. As an example, let's take this function: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial009c.py!} ```
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 17K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/features.md
You will get completion in code you might even consider impossible before. As for example, the `price` key inside a JSON body (that could have been nested) that comes from a request. No more typing the wrong key names, coming back and forth between docs, or scrolling up and down to find if you finally used `username` or `user_name`. ### Short
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
for _, r := range res.Items { if r.Spec.Group != gvk.KubernetesGateway.Group { continue } if !betaKinds.Contains(r.Spec.Names.Kind) { continue } versions := extractCRDVersions(&r) has := "none" if len(versions) > 0 { has = strings.Join(sets.SortedList(versions), ",") }
Go - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Mon Mar 25 18:26:17 GMT 2024 - 19K bytes - Viewed (0) -
docs/en/docs/alternatives.md
return {"message": "Hello World"} ``` See the similarities in `requests.get(...)` and `@app.get(...)`. !!! check "Inspired **FastAPI** to" * Have a simple and intuitive API. * Use HTTP method names (operations) directly, in a straightforward and intuitive way. * Have sensible defaults, but powerful customizations.
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 23.2K bytes - Viewed (0)