Skip to content

Commit

Permalink
Rectify type-hints for set_data
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruvanshu-Joshi committed Apr 26, 2023
1 parent a86fe7c commit 9f01be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ def set_initval(self, rv_var, initval):
def set_data(
self,
name: str,
values: Dict[str, Optional[Sequence]],
values: Union[Sequence, np.ndarray],
coords: Optional[Dict[str, Sequence]] = None,
):
"""Changes the values of a data variable in the model.
Expand Down

0 comments on commit 9f01be2

Please sign in to comment.