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

Commite851eed

Browse files
authored
Merge pull request#1616 from lmmx/patch-1
Document the `update` method for project variables
2 parents49fae96 +7992911 commite851eed

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