Skip to content

Commit

Permalink
fix: added default value to optional field in search request (#1834)
Browse files Browse the repository at this point in the history
* fix: added default value to optional field in search request

Signed-off-by: Allison Suarez Miranda <[email protected]>

* updated version in reqs

Signed-off-by: Allison Suarez Miranda <[email protected]>
  • Loading branch information
allisonsuarez authored Apr 27, 2022
1 parent 9e72a2f commit 33e341e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/amundsen_common/models/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SearchRequest:
results_per_page: Optional[int] = 10
filters: List[Filter] = []
# highlight options are defined per resource
highlight_options: Optional[Dict[str, HighlightOptions]]
highlight_options: Optional[Dict[str, HighlightOptions]] = {}


class SearchRequestSchema(AttrsSchema):
Expand Down
2 changes: 1 addition & 1 deletion common/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from setuptools import find_packages, setup

__version__ = '0.27.0'
__version__ = '0.27.1'


requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements-dev.txt')
Expand Down
2 changes: 1 addition & 1 deletion requirements-common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# It is recommended to always pin the exact version (not range) - otherwise common upgrade won't trigger unit tests
# on all repositories reyling on this file and any issues that arise from common upgrade might be missed.
amundsen-common>=0.26.0,<=0.27.0
amundsen-common>=0.27.0,<0.28.0
attrs>=19.1.0
boto3==1.17.23
click==7.0
Expand Down

0 comments on commit 33e341e

Please sign in to comment.