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 4564d3a commit 7098a11Copy full SHA for 7098a11
python/rpdk/typescript/codegen.py
@@ -173,6 +173,7 @@ def generate(self, project):
173
path = self.package_root / "models.ts"
174
LOG.debug("Writing file: %s", path)
175
template = self.env.get_template("models.ts")
176
+
177
contents = template.render(
178
lib_name=SUPPORT_LIB_NAME,
179
type_name=project.type_name,
@@ -186,6 +187,8 @@ def generate(self, project):
186
187
LOG.debug("Generate complete")
188
189
def _pre_package(self, build_path):
190
+ # Caller should own/delete this, not us.
191
+ # pylint: disable=consider-using-with
192
f = TemporaryFile("w+b")
193
194
# pylint: disable=unexpected-keyword-arg
0 commit comments