Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix warnings doc build
Browse files Browse the repository at this point in the history
eroell committed Oct 14, 2024

Unverified

No user is associated with the committer email.
1 parent 0b1bdc2 commit d7b2c12
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -145,6 +145,8 @@
("py:class", "duckdb.duckdb.DuckDBPyConnection"),
# Is documented as a py:attribute instead
("py:class", "numpy.int64"),
# For now not in public facing API
("py:class", "awkward.highlevel.Array"),
]

# Redirect broken parameter annotation classes
2 changes: 1 addition & 1 deletion src/ehrdata/io/omop/omop.py
Original file line number Diff line number Diff line change
@@ -285,7 +285,7 @@ def get_time_interval_table(
concept_ids: Literal["all"] | Sequence = "all",
aggregation_strategy: str = "first", # what to do if multiple obs. in 1 interval. first, last, mean, median, most_frequent for categories
# strategy="locf",
) -> np.array:
) -> np.ndarray:
"""Extract measurement table of an OMOP CDM Database.
Parameters

0 comments on commit d7b2c12

Please sign in to comment.