Skip to content

Commit

Permalink
fixed datetime class path
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Apr 8, 2024
1 parent 31edd1e commit 15a161e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brewtils/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def _parameter_type_hint(method, cmd_parameter):
return "Boolean"
if type_hint_class in ["<class 'object'>", "<class 'dict'>"]:
return "Dictionary"
if type_hint_class.lower() in ["<class 'datetime'>"]:
if type_hint_class.lower() in ["<class 'datetime.datetime'>"]:
return "DateTime"
if type_hint_class in ["<class 'bytes'>"]:
return "Bytes"
Expand Down

0 comments on commit 15a161e

Please sign in to comment.