issues: 715374721
This data as json
| id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 715374721 | MDU6SXNzdWU3MTUzNzQ3MjE= | 4490 | Group together decoding options into a single argument | 1217238 | open | 0 | 6 | 2020-10-06T06:15:18Z | 2020-10-29T04:07:46Z | MEMBER | Is your feature request related to a problem? Please describe.
Describe the solution you'd like To simple the interface, I propose to group together all the decoding options into a new @dataclass(frozen=True) class DecodingOptions: mask: Optional[bool] = None scale: Optional[bool] = None datetime: Optional[bool] = None timedelta: Optional[bool] = None use_cftime: Optional[bool] = None concat_characters: Optional[bool] = None coords: Optional[bool] = None drop_variables: Optional[List[str]] = None
``` The signature of Question: are Note: the current signature is Usage with the new interface would look like This requires a little bit more typing than what we currently have, but it has a few advantages:
Describe alternatives you've considered For the overall approach:
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/4490/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
13221727 | issue |