File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- from typing import Optional , Union
1
+ from typing import Union
2
2
3
3
import arviz as az
4
4
import matplotlib .pyplot as plt
@@ -565,7 +565,7 @@ def __init__(
565
565
treatment_threshold : float ,
566
566
model = None ,
567
567
running_variable_name : str = "x" ,
568
- epsilon : Optional [ float ] = 0.001 ,
568
+ epsilon : float | None = 0.001 ,
569
569
** kwargs ,
570
570
):
571
571
super ().__init__ (model = model , ** kwargs )
Original file line number Diff line number Diff line change 1
- from typing import Optional
2
-
3
1
import matplotlib .pyplot as plt
4
2
import numpy as np
5
3
import pandas as pd
@@ -372,7 +370,7 @@ def __init__(
372
370
treatment_threshold ,
373
371
model = None ,
374
372
running_variable_name = "x" ,
375
- epsilon : Optional [ float ] = 0.001 ,
373
+ epsilon : float | None = 0.001 ,
376
374
** kwargs ,
377
375
):
378
376
super ().__init__ (model = model , ** kwargs )
You can’t perform that action at this time.
0 commit comments