We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ddca32 commit cdd869aCopy full SHA for cdd869a
misc/scripts/models-as-data/bulk_generate_mad.py
@@ -45,15 +45,19 @@ class Project(TypedDict):
45
with_sinks: NotRequired[bool]
46
with_summaries: NotRequired[bool]
47
48
+
49
def shouldGenerateSinks(project: Project) -> bool:
50
return project.get("with_sinks", False)
51
52
53
def shouldGenerateSources(project: Project) -> bool:
54
return project.get("with_sources", False)
55
56
57
def shouldGenerateSummaries(project: Project) -> bool:
58
return project.get("with_summaries", False)
59
60
61
def clone_project(project: Project) -> str:
62
"""
63
Shallow clone a project into the build directory.
0 commit comments