chore: apply pep8-naming rules for naming convention (#8261)
This commit is contained in:
parent
53f37a6704
commit
292220c596
95 changed files with 287 additions and 258 deletions
|
|
@ -34,7 +34,7 @@ class NovitaAiCreateTileTool(BuiltinTool):
|
|||
self.create_blob_message(
|
||||
blob=b64decode(client_result.image_file),
|
||||
meta={"mime_type": f"image/{client_result.image_type}"},
|
||||
save_as=self.VARIABLE_KEY.IMAGE.value,
|
||||
save_as=self.VariableKey.IMAGE.value,
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class NovitaAiTxt2ImgTool(BuiltinTool, NovitaAiToolBase):
|
|||
self.create_blob_message(
|
||||
blob=b64decode(image_encoded),
|
||||
meta={"mime_type": f"image/{image.image_type}"},
|
||||
save_as=self.VARIABLE_KEY.IMAGE.value,
|
||||
save_as=self.VariableKey.IMAGE.value,
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue