Closed Renfu-Li closed 8 months ago
I have merged a quick workaround #22 for the problem that the PR from fork cannot use Actions secrets.
LGTM, with two suggestions! There's also some theorycraft in whether to allow attribute access (common in python, guarded in Java). Happy with whatever you guys choose, but I'm going to be out over the holidays, so don't let me hold you up.
We will also be off next week so there won't be any PR fom us. Happy holidays!
LGTM, with two suggestions! There's also some theorycraft in whether to allow attribute access (common in python, guarded in Java). Happy with whatever you guys choose, but I'm going to be out over the holidays, so don't let me hold you up.
Thanks for your helpful suggestions. Have a great holiday!
Fixes https://github.com/OceanNetworksCanada/api-python-client/issues/12
Changed
outPath
to snake-case_out_path
and its type tostr | Path
, then added a@property
decorator to protect it. This can provide safer access to_out_path
, facilitate testing and in general make the code cleaner.I also modified the
README.md
in/tests
to reflect the directory structure change, and fully resolvedoutPath
for cleaner error messages.All jobs passed after I manually triggered the "Formatting, Linting and Testing" workflow in my forked repo.