Skip to content

Commit

Permalink
Use kwonly arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Dec 31, 2024
1 parent 7461d3d commit 071c493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class Meta:
def get_dirname(self) -> str:
...

def get_tmp_dirname(self, create: bool = True) -> str:
def get_tmp_dirname(self, *, create: bool = True) -> str:
dir_path = os.path.join(self.get_dirname(), "tmp")

if create:
Expand Down

0 comments on commit 071c493

Please sign in to comment.