Skip to content

Commit

Permalink
fix enumerate
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 committed Jul 10, 2024
1 parent ce20d12 commit da18267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub_utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_variant_names(self, plugin_type, metadata_type, skip, limit):
from hub_utils.yaml_lint import find_all_yamls

formatted_output = []
for yaml_file, index in find_all_yamls(f_path=f"{self.hub_root}/_data/meltano/").enumerate():
for index, yaml_file in enumerate(find_all_yamls(f_path=f"{self.hub_root}/_data/meltano/")):
# Pagination mechanism
if index < skip:
continue
Expand Down

0 comments on commit da18267

Please sign in to comment.