refactor: vgroups set default attr recursive=True

This commit is contained in:
relikd
2022-12-21 19:50:27 +01:00
parent 7039fb3a63
commit 05b9fbf20a
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ and this project does adhere to [Semantic Versioning](https://semver.org/spec/v2
### Fixed
- No duplicate `GroupBySource` entries in `vgroups` filter (while keeping sort order)
### Changed
- Change default `recursive=True` for `vgroups` filter (most probable use case)
## [0.9.9] 2022-12-21

View File

@@ -49,7 +49,7 @@ class VGroups:
*,
fields: Union[str, Iterable[str], None] = None,
flows: Union[str, Iterable[str], None] = None,
recursive: bool = False,
recursive: bool = True,
order_by: Union[str, Iterable[str], None] = None,
) -> Iterator['GroupBySource']:
''' Extract all referencing groupby virtual objects from a page. '''