Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bumped ingress timeout in Helm chart to reflect AWS gateway timeout
- SDAP-399: Updated quickstart guide for standalone docker deployment of SDAP.
- SDAP-399: Updated quickstart Jupyter notebook
- fix: enable tile_search endpoint + fix: Object of type is not JSON serializable
### Deprecated
### Removed
- removed dropdown from matchup doms endpoint secondary param
Expand Down
3 changes: 2 additions & 1 deletion analysis/webservice/algorithms/TileSearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
# limitations under the License.


from webservice.NexusHandler import nexus_handler
from webservice.algorithms.NexusCalcHandler import NexusCalcHandler
from webservice.webmodel import NexusResults


# @nexus_handler
@nexus_handler
class ChunkSearchCalcHandlerImpl(NexusCalcHandler):
name = "Data Tile Search"
path = "/tiles"
Expand Down
9 changes: 9 additions & 0 deletions data-access/nexustiles/model/nexusmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ class TileVariable:
variable_name: str = None
standard_name: str = None

def __str__(self) -> str:
return str({
'variable_name': self.variable_name,
'standard_name': self.standard_name,
})

def __repr__(self) -> str:
return self.__str__()


@dataclass
class Tile(object):
Expand Down