Skip to content

Commit

Permalink
DOC: adding changelog and fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Aug 27, 2024
1 parent c7c3bb9 commit 58c30ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ Deprecations and Removals

- Added `'sia1'` as servicetype for registry searches. [#583]

- Adding ``session`` kwarg to allow to pass a session along when turning
an Interface into a service via ``Interface.to_service``. [#590]


1.5.2 (2024-05-22)
==================
Expand Down
8 changes: 4 additions & 4 deletions pyvo/registry/regtap.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,10 @@ def get_interface(self, *,

return candidates[0]

def get_service(self, service_type = None, *,
lax = False,
keyword = None,
session = None):
def get_service(self, service_type: str = None, *,
lax: bool = False,
keyword: str = None,
session: object = None):
"""
return an appropriate DALService subclass for this resource that
can be used to search the resource using service_type.
Expand Down

0 comments on commit 58c30ba

Please sign in to comment.