Implement OrgDoc .shallow_tags .
Some checks failed
Testing / pytest (push) Successful in 27s
Testing / mypy (push) Successful in 32s
Testing / style-formatting (push) Failing after 42s
Testing / style-sorted-imports (push) Successful in 28s
Testing / stability-extra-test (push) Successful in 28s

This commit is contained in:
Sergio Martínez Portela 2024-09-01 23:37:26 +02:00
parent 570e6bb764
commit 852f472374
2 changed files with 21 additions and 0 deletions

View file

@ -2284,6 +2284,10 @@ class OrgDoc:
return kw.value.strip(':').split(':')
return []
@property
def shallow_tags(self) -> list[str]:
return self.tags
## Querying
def get_links(self):
for headline in self.headlines: