File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 1010
1111import typing
1212from abc import ABC , abstractmethod
13- from collections import abc
1413from dataclasses import dataclass
1514from functools import cached_property
1615from itertools import chain
@@ -272,14 +271,10 @@ def at_r(self, rval: float) -> int:
272271 return int (np .argmin (np .abs (self .r_centers - rval )))
273272
274273
275- class Fields ( abc . Mapping ) :
274+ class Fields :
276275 """Fields data structure.
277276
278277 The `Step.fields` attribute is an instance of this class.
279-
280- `Fields` implements `collections.abc.Mapping`. Keys are
281- fields names defined in `stagpy.phyvars.[S]FIELD[_EXTRA]`. Each item
282- is a [`Field`][stagpy.datatypes.Field] instance.
283278 """
284279
285280 def __init__ (
@@ -295,7 +290,6 @@ def __init__(
295290 self ._extra = extravars
296291 self ._files = files
297292 self ._filesh5 = filesh5
298- super ().__init__ ()
299293
300294 @cached_property
301295 def _all_vars (self ) -> set [str ]:
You can’t perform that action at this time.
0 commit comments