Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7992911

Browse files
lmmxnejch
authored andcommitted
docs(api): document the update method for project variables
1 parent227607c commit7992911

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎docs/gl_objects/variables.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Update a variable value::
9393

9494
var.value = 'new_value'
9595
var.save()
96+
# or
97+
project.variables.update("key1", {"value": "new_value"})
9698

9799
Remove a variable::
98100

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp