132132class DatabaseKwargs (TypedDict ):
133133 """Keyword arguments for database CLI functions."""
134134
135+ #: Should strict identifier parsing be enabled?
135136 strict : bool
137+ #: Should re-download and re-processing be forced?
136138 force : bool
139+ #: Should re-processing be forced?
137140 force_process : bool
138- skip_pyobo : bool
141+
142+ #: Should a progress bar be used?
143+ use_tqdm : bool
144+ #: Skip all prefixes lexicographically sorted below the given prefix
139145 skip_below : str | None
146+ #: If true, skips prefixes that are ontologized as sources in PyOBO
147+ skip_pyobo : bool
148+ #: An enumerated set of prefixes to skip
140149 skip_set : set [str ] | None
141- use_tqdm : bool
142150
143151
144152class SlimGetOntologyKwargs (TypedDict ):
@@ -207,12 +215,17 @@ class IterHelperHelperDict(SlimGetOntologyKwargs):
207215 :func:`pyobo.get_ontology` in each iteration.
208216 """
209217
218+ #: Should a progress bar be used?
210219 use_tqdm : bool
220+ #: Skip all prefixes lexicographically sorted below the given prefix
211221 skip_below : str | None
222+ #: If true, skips prefixes that are ontologized as sources in PyOBO
212223 skip_pyobo : bool
224+ #: An enumerated set of prefixes to skip
213225 skip_set : set [str ] | None
214226
215227
228+ #: The ontology format
216229OntologyFormat : TypeAlias = Literal ["obo" , "owl" , "json" , "rdf" ]
217230
218231#: from table 2 of the Functional OWL syntax definition
@@ -228,7 +241,9 @@ class IterHelperHelperDict(SlimGetOntologyKwargs):
228241class OntologyPathPack (NamedTuple ):
229242 """A format and path tuple."""
230243
244+ #: The ontology format
231245 format : OntologyFormat
246+ #: The path to the ontology file
232247 path : Path
233248
234249
0 commit comments