Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Release 19/11/24 #139

Closed
wants to merge 10 commits into from
9 changes: 8 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ def __init__(self) -> None:
self.dry_run: bool = arguments.dry_run


if __name__ == "__main__":
def main() -> None:
"""
Main function
"""
load_dotenv()
args = ScriptArgs()
dune = DuneClient(
Expand Down Expand Up @@ -97,3 +100,7 @@ def __init__(self) -> None:
)
else:
log.error(f"unsupported sync_table '{args.sync_table}'")


if __name__ == "__main__":
main()
Loading