Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit f3a96a6

Browse files
authored
docs(python): add missing await to python secret put example (#677)
1 parent 607f7d6 commit f3a96a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/secrets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ from nitric.application import Nitric
127127

128128
api_key = secret("api-key").allow("putting")
129129

130-
latest = api_key.put("a new secret value")
130+
latest = await api_key.put("a new secret value")
131131

132132
# We can get the version ID of our newly stored value
133133
latest.version

0 commit comments

Comments
 (0)