pipeline: drop redundant default arg value
Drop the default argument value for `output_directory`, but use type-annotations to make clear it can be optional.
This commit is contained in:
parent
a300b755ab
commit
fe6e58aa12
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import hashlib
|
|||
import json
|
||||
import os
|
||||
import tempfile
|
||||
from typing import Optional
|
||||
|
||||
from .api import API
|
||||
from . import buildroot
|
||||
|
|
@ -283,7 +284,7 @@ class Pipeline:
|
|||
|
||||
return results, build_tree, tree
|
||||
|
||||
def assemble(self, object_store, build_tree, tree, interactive, libdir, output_directory=None):
|
||||
def assemble(self, object_store, build_tree, tree, interactive, libdir, output_directory: Optional[str]):
|
||||
results = {"success": True}
|
||||
|
||||
if not self.assembler:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue