Closed YogevBokobza closed 6 months ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
@thecode @TomerFi Do you have any idea why the tests are failing for Python 3.9? For Python 3.10 it's working fine.
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
runner-support-fixed@0461c30
). Click here to learn what that means.:exclamation: Current head a4253c9 differs from pull request most recent head a4ed349. Consider uploading reports for the commit a4ed349 to get more accurate results
@thecode @TomerFi
I just found out this leftover from when we used that API call to get the token..
Do we want to have this token inside a DeviceToken
class and possibly make the conversion there? or just have it as a string and remove this class?
@thecode @TomerFi I just found out this leftover from when we used that API call to get the token.. Do we want to have this token inside a
DeviceToken
class and possibly make the conversion there? or just have it as a string and remove this class?
I vote for removing the class. I don't see any value in encapsulating the token.
@thecode @TomerFi I just found out this leftover from when we used that API call to get the token.. Do we want to have this token inside a
DeviceToken
class and possibly make the conversion there? or just have it as a string and remove this class?I vote for removing the class. I don't see any value in encapsulating the token.
I removed that DeviceToken class.
I took a few days off this PR as I am in the middle of moving apartments. I will get back to this in the coming week.
I took a few days off this PR as I am in the middle of moving apartments. I will get back to this in the coming week.
Mazal Tov and Good luck!
Still having a linting issue: src/aioswitcher/device/tools.py:188: error: Argument 1 to "bytes" has incompatible type "str | None"; expected "str" [arg-type] I am switching the token parameter from: token: Union[str, None] = None to: token: str
Merging - thank you everyone!
Description
Related issue (if any): fixes #issue_number_goes_here
Checklist
Additional information