Skip to content

Commit aef6bec

Browse files
committed
Fix foward reference typing annotation
1 parent 65f7a57 commit aef6bec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmdstanpy/stanfit/gq.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Container for the result of running the
33
generate quantities (GQ) method
44
"""
5+
from __future__ import annotations
56

67
from collections import Counter
78
from typing import (
@@ -399,7 +400,7 @@ def draws_pd(
399400

400401
@overload
401402
def draws_xr(
402-
self: "CmdStanGQ[CmdStanMLE]" | "CmdStanGQ[CmdStanVB]",
403+
self: CmdStanGQ[CmdStanMLE] | CmdStanGQ[CmdStanVB],
403404
vars: str | list[str] | None = None,
404405
inc_warmup: bool = False,
405406
inc_sample: bool = False,

0 commit comments

Comments
 (0)