Skip to content

Commit

Permalink
Add documentation to module helper function.
Browse files Browse the repository at this point in the history
  • Loading branch information
felddy committed Feb 10, 2020
1 parent 8c4c7a5 commit ace2e70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/aws_profile_sync/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@


def find_handler(url):
"""Find a handler that will support a URL.
Args:
url: The URL to find a handler for.
Returns:
If a handler is found a class will be returned, None otherwise.
"""
for handler in __all__:
# Get the symbol for handler
mod = globals()[handler]
Expand Down

0 comments on commit ace2e70

Please sign in to comment.