File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1111
1212
1313def load_data () -> dict :
14- with (Path (__file__ ) / ".." / ".." / "large_data_set.json" ).open () as f :
14+ with (Path (__file__ ) / ".." / ".." / "large_data_set.json" ).resolve (). open () as f :
1515 data = json .load (f )
1616 return data
1717
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def to_representation(self) -> str:
2323
2424
2525def load_data () -> dict :
26- with (Path (__file__ ) / ".." / ".." / "spotify-swagger.yaml" ).open () as f :
26+ with (Path (__file__ ) / ".." / ".." / "spotify-swagger.yaml" ).resolve (). open () as f :
2727 data = yaml .load (f , Loader = yaml .SafeLoader )
2828 return data
2929
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def to_representation(self) -> str:
2222
2323
2424def load_data () -> dict :
25- with (Path (__file__ ) / ".." / ".." / "swagger.json" ).open () as f :
25+ with (Path (__file__ ) / ".." / ".." / "swagger.json" ).resolve (). open () as f :
2626 data = json .load (f )
2727 return data
2828
You can’t perform that action at this time.
0 commit comments