Skip to content

Commit

Permalink
Add return type hint for get_watcher function
Browse files Browse the repository at this point in the history
Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com>
  • Loading branch information
zliang-akamai and lgarber-akamai authored Mar 14, 2024
1 parent 58f7d1b commit c321fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linode_metadata/metadata_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _user_agent(self):
def get_watcher(
self,
default_poll_interval: Optional[Union[timedelta, float, int]] = None,
):
) -> Union[AsyncMetadataWatcher, MetadataWatcher]:
"""
Get a watcher instance with this metadata client.
Expand Down

0 comments on commit c321fde

Please sign in to comment.