Skip to content

Commit

Permalink
fix: merge from releases/2.x, replace return with log.info()
Browse files Browse the repository at this point in the history
  • Loading branch information
vykozlov committed Aug 26, 2024
1 parent 35033e4 commit 8b71eaf
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions deepaas/cmd/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,18 +201,6 @@ def _get_model_name(model_name=None):
sys.exit(1)


def _get_file_args(fields_in):
"""Function to retrieve a list of file-type fields
:param fields_in: mashmallow fields
:return: list
"""
file_fields = []
for k, v in fields_in.items():
if type(v) is fields.Field:
file_fields.append(k)
return file_fields


# Get the model name
model_name = CONF.model_name
model_name, model_obj = _get_model_name(model_name)
Expand Down

0 comments on commit 8b71eaf

Please sign in to comment.