Skip to content

Commit

Permalink
remove kwargs from asdf.open document keyword arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jul 18, 2023
1 parent c4adc36 commit 285e2f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions asdf/asdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@ def _open_impl(
_force_raw_types=False,
strict_extension_check=False,
ignore_missing_extensions=False,
**kwargs,
):
"""Attempt to open file-like object as an AsdfFile"""
close_on_fail = isinstance(fd, (str, pathlib.Path))
Expand All @@ -915,7 +914,6 @@ def _open_impl(
_force_raw_types=_force_raw_types,
strict_extension_check=strict_extension_check,
ignore_missing_extensions=ignore_missing_extensions,
**kwargs,
)
except Exception:
if close_on_fail:
Expand Down Expand Up @@ -1635,7 +1633,7 @@ def open_asdf(
custom_schema=None,
strict_extension_check=False,
ignore_missing_extensions=False,
**kwargs,
_get_yaml_content=False,
):
"""
Open an existing ASDF file.
Expand Down Expand Up @@ -1736,10 +1734,10 @@ def open_asdf(
mode=mode,
validate_checksums=validate_checksums,
extensions=extensions,
_get_yaml_content=_get_yaml_content,
_force_raw_types=_force_raw_types,
strict_extension_check=strict_extension_check,
ignore_missing_extensions=ignore_missing_extensions,
**kwargs,
)


Expand Down

0 comments on commit 285e2f6

Please sign in to comment.