3434 CacheMiss ,
3535 LoggingHelper ,
3636 _check_colab_location ,
37- check_types ,
37+ _check_types ,
3838 _distributed_client ,
3939 _get_gcp_region ,
4040 _hash_params ,
@@ -222,12 +222,12 @@ def _spinner(
222222 else :
223223 return nullcontext ()
224224
225- @check_types
225+ @_check_types
226226 def open_file (self , path : str ) -> IO :
227227 full_path = f"{ self ._base_path } /{ path } "
228228 return self ._fs .open (full_path )
229229
230- @check_types
230+ @_check_types
231231 def read_files (
232232 self ,
233233 paths : Iterable [str ],
@@ -608,7 +608,7 @@ def _read_sample_sets_manifest(self, *, single_release: str):
608608
609609 return df
610610
611- @check_types
611+ @_check_types
612612 @doc (
613613 summary = "Access a dataframe of sample sets" ,
614614 returns = """A dataframe of sample sets, one row per sample set. It contains five columns:
@@ -630,7 +630,7 @@ def sample_sets(
630630 ) -> pd .DataFrame :
631631 return self ._relevant_sample_sets (release = release )
632632
633- @check_types
633+ @_check_types
634634 @doc (
635635 summary = "Access a dataframe of available sample sets" ,
636636 returns = """A dataframe of available sample sets, one row per sample set. It contains five columns:
@@ -685,7 +685,7 @@ def _available_sample_sets(
685685 # Return copy to ensure cached dataframes aren't modified by user.
686686 return df .copy ()
687687
688- @check_types
688+ @_check_types
689689 @doc (
690690 summary = "Access a dataframe of relevant sample sets" ,
691691 returns = """A dataframe of relevant sample sets, one row per sample set. It contains five columns:
@@ -767,7 +767,7 @@ def _relevant_sample_sets(
767767 # Return copy to ensure cached dataframes aren't modified by user.
768768 return df .copy ()
769769
770- @check_types
770+ @_check_types
771771 @doc (
772772 summary = "Find which release a sample set was included in." ,
773773 returns = "The release the sample set is part of." ,
@@ -784,7 +784,7 @@ def lookup_release(self, sample_set: base_params.sample_set) -> str:
784784 f"No release found for sample set { sample_set !r} . This sample set might be unavailable or irrelevant with respect to settings."
785785 ) from e
786786
787- @check_types
787+ @_check_types
788788 @doc (
789789 summary = "Find which study a sample set belongs to." ,
790790 returns = "The study the sample set belongs to." ,
@@ -798,7 +798,7 @@ def lookup_study(self, sample_set: base_params.sample_set) -> str:
798798 except KeyError as e :
799799 raise ValueError (f"No study ID found for sample set { sample_set !r} " ) from e
800800
801- @check_types
801+ @_check_types
802802 @doc (
803803 summary = "Find the study info for a sample set." ,
804804 returns = "The info for the study the sample set belongs to." ,
@@ -816,7 +816,7 @@ def lookup_study_info(self, sample_set: base_params.sample_set) -> dict:
816816 f"No study info found for sample set { sample_set !r} "
817817 ) from e
818818
819- @check_types
819+ @_check_types
820820 @doc (
821821 summary = "Find the terms-of-use info for a sample set." ,
822822 returns = "The terms-of-use info for the sample set." ,
@@ -980,7 +980,7 @@ def _results_cache_add_analysis_params(self, params: dict):
980980 # Expect sub-classes will override to add any analysis parameters.
981981 pass
982982
983- @check_types
983+ @_check_types
984984 def results_cache_get (
985985 self , * , name : str , params : Dict [str , Any ]
986986 ) -> Mapping [str , np .ndarray ]:
@@ -1004,7 +1004,7 @@ def results_cache_get(
10041004
10051005 raise CacheMiss
10061006
1007- @check_types
1007+ @_check_types
10081008 def results_cache_set (
10091009 self , * , name : str , params : Dict [str , Any ], results : Mapping [str , np .ndarray ]
10101010 ):
0 commit comments