Skip to content

Commit 3e679b7

Browse files
authored
Fix Python 3.7, types are evil
1 parent e3ca199 commit 3e679b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

conan/api/subapi/graph.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from typing import List
2-
31
from conan.api.output import ConanOutput
42
from conan.internal.conan_app import ConanApp, ConanBasicApp
53
from conan.internal.model.recipe_ref import ref_matches
@@ -192,7 +190,7 @@ def load_graph(self, root_node, profile_host, profile_build, lockfile=None, remo
192190
deps_graph = builder.load_graph(root_node, profile_host, profile_build, lockfile)
193191
return deps_graph
194192

195-
def analyze_binaries(self, graph, build_mode=None, remotes=None, update: bool | List[str] = None,
193+
def analyze_binaries(self, graph, build_mode=None, remotes=None, update=None,
196194
lockfile=None, build_modes_test=None, tested_graph=None):
197195
""" Given a dependency graph, will compute the package_ids of all recipes in the graph, and
198196
evaluate if they should be built from sources, downloaded from a remote server, of if the

0 commit comments

Comments
 (0)