Skip to content

Commit

Permalink
WIP: fixing a minor bug for a class method
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkankzme committed Aug 15, 2024
1 parent 08662e0 commit 243c4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/classycat_schema_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def process(self, message: Message) -> ClassyCatSchemaResponse:


@classmethod
def verify_schema_parameters(schema_name, topics, examples, languages):
def verify_schema_parameters(cls, schema_name, topics, examples, languages):

if not schema_name or not isinstance(schema_name, str) or len(schema_name) == 0:
raise ValueError("schema_name is invalid. It must be a non-empty string")
Expand Down

0 comments on commit 243c4c6

Please sign in to comment.