Skip to content

Commit

Permalink
Accept strings only
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua authored Jul 24, 2024
1 parent e8c9fe1 commit 3a4fd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instawebhooks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
) from exc


def regex(pattern: str | re.Pattern):
def regex(pattern: str):
"""Argument type for matching a regex pattern"""

def closure_check_regex(arg_value):
Expand Down

0 comments on commit 3a4fd61

Please sign in to comment.