Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate API version to 3.0 #4

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Migrate API version to 3.0 #4

merged 1 commit into from
Jan 26, 2023

Conversation

koeves
Copy link
Contributor

@koeves koeves commented Jan 25, 2023

  • Migrate the nmbrs API to version 3.0
  • Small refactor

- Migrate the nmbrs API to version 3.0
- Small refactor
Copy link
Contributor

@SamTheisens SamTheisens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +28 to +36
class Arguments:
user_arg: str = args.user
password_arg: str = args.token
run_arg: str = args.run
year_arg: str = args.year
company_id: str = args.company
description_arg: str = args.description
email_arg: str = args.email
annual_arg: str = args.annual
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

else:
fetch_salary_slips(year_arg, run_arg)
if __name__ == '__main__':
spinner = Halo(text='Determining company ID..', spinner='dots')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the monorepo I've replaced Halo with the much more comprehensive rich library https://github.com/Textualize/rich.

@koeves koeves merged commit a786c00 into Vandebron:main Jan 26, 2023
@koeves koeves deleted the patch-1 branch January 26, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants