Skip to content

Commit

Permalink
type hinting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdual committed Aug 12, 2024
1 parent d3093f8 commit 0c3a28e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ua_generator/user_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

class UserAgent:
def __init__(self, device=None, platform=None, browser=None, options=None):
self.device: str = device
self.platform: str = platform
self.browser: str = browser
self.options = options if options is not None else Options()
self.device = device
self.platform = platform
self.browser = browser
self.options: Options = options if options is not None else Options()
self.__complete()

# Type hinting only
Expand Down

0 comments on commit 0c3a28e

Please sign in to comment.