Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Nathan Graule
call
Commits
b45acf1e
Commit
b45acf1e
authored
Aug 07, 2018
by
Nathan Graule
💻
Browse files
Resolve function now accepts value to be optional
parent
1c680e17
Pipeline
#27338073
failed with stages
in 1 minute and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
call/__init__.py
call/__init__.py
+1
-1
No files found.
call/__init__.py
View file @
b45acf1e
...
...
@@ -85,7 +85,7 @@ class Call:
self
.
t
.
join
()
@
classmethod
def
resolve
(
cls
,
value
):
def
resolve
(
cls
,
value
=
None
):
# type: (Optional[T]) -> Call
"""Create a Call that immediately resolves with the value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment