Skip to content

Commit

Permalink
fix: updated regex to pattern
Browse files Browse the repository at this point in the history
For #223
  • Loading branch information
tstorek authored Dec 28, 2023
1 parent 5becdce commit 59a2133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filip/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class FiwareHeaderSecure(FiwareHeader):
default="",
max_length=3000,
description="authorization key",
regex=r".*"
pattern=r".*"
)


Expand All @@ -129,4 +129,4 @@ def _missing_name_(cls, name):
"""
for member in cls:
if member.value.casefold() == name.casefold():
return member
return member

0 comments on commit 59a2133

Please sign in to comment.