Skip to content

Commit

Permalink
update docs on Dict type (#7179)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Mar 25, 2022
1 parent a892e0d commit efa9363
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/content/api/modules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/content/api/searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/content/api/sections.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/sphinx/sections/api/apidocs/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Built-in primitive types

Use this type for inputs, or outputs that are dicts.

For inputs and outputs, you may optionally specify the key and value types using the square
For Ins and Outs, you must specify the key and value types using the square
brackets syntax for Python typing.

**Examples:**
Expand All @@ -284,7 +284,7 @@ Built-in primitive types
# Explicit
@op(
ins={'spec': In(Dict)},
ins={'spec': In(Dict[String, String])},
out=Out(String),
)
def repeat(_, spec):
Expand Down

1 comment on commit efa9363

@vercel
Copy link

@vercel vercel bot commented on efa9363 Mar 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.