Skip to content

Changes #36

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

Closed
wants to merge 84 commits into from
Closed

Changes #36

wants to merge 84 commits into from

Conversation

niccokunzmann
Copy link

Hi, I added a few changes and was able to transfer money to myself.

I have opened #31 and #33. The question for me is how we can collaborate. Maybe, it will just take time to figure out how we actually do this. I am grateful for the base you provided for my work. I also value your feedback.

What I did in these changes is use pydantic because

  • fastapi also depends on it
  • it validates the models. This is important for me as I do want to recognize when Wise changes the API and the code.
  • It also encourages contribution this way.
  • it allows typed interfaces with auto completion
  • documented interfaces became important to me

I really like the changes you make upstream, so I will merge them into my repo.
I wonder how you feel about those I made. We also seem to have different approaches (CI, minimality).

Greetings!

@niccokunzmann
Copy link
Author

I will close this now to not spam!

return click.option(*param_decls, **kwargs)


ARG_API_KEY = click.argument("api_key", envvar="WISE_API_KEY", required=True)
Copy link
Owner

Choose a reason for hiding this comment

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

@niccokunzmann I like the utility of having a CLI interface for various actions; and reading variables from env variables seems better than, for example, placing them on the commandline, for various reasons... however: environment variables don't seem ideal for long-lived credentials. Maybe there are alternatives here?

Copy link
Author

Choose a reason for hiding this comment

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

As an alternative, one could use the Bitwarden secrets manager...

Copy link
Owner

Choose a reason for hiding this comment

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

What do some other transfer-capable payment client libraries do?

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