You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: portal-backend/pyright-ratchet-errors.txt
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ api.py: error: Argument of type "Column[int]" cannot be assigned to parameter "n
6
6
api.py: error: Argument of type "Column[str]" cannot be assigned to parameter "name" of type "str" in function "__init__"
7
7
api.py: error: Argument of type "Column[str]" cannot be assigned to parameter "subtype_code" of type "str" in function "get_model_ids_by_subtype_code_and_node_level"
8
8
api.py: error: Argument of type "dict[bool, str]" cannot be assigned to parameter "func" of type "PythonFuncType" in function "map" (reportArgumentType)
9
+
api.py: error: Argument of type "dict[str, str]" cannot be assigned to parameter "func" of type "PythonFuncType" in function "map"
9
10
api.py: error: Argument of type "float | None" cannot be assigned to parameter "max_fdr" of type "float" in function "get_sig_context_dataframe"
10
11
api.py: error: Argument of type "float | None" cannot be assigned to parameter "min_abs_effect_size" of type "float" in function "get_sig_context_dataframe"
11
12
api.py: error: Argument of type "float | None" cannot be assigned to parameter "min_frac_dep_in" of type "float" in function "get_sig_context_dataframe"
@@ -296,13 +297,22 @@ index.py: error: Argument of type "Column[int]" cannot be assigned to parameter
296
297
index.py: error: Argument of type "Column[int]" cannot be assigned to parameter "entity_id" of type "int" in function "get_relation_to_entity"
297
298
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "compound_id" of type "str" in function "get_all_datasets_containing_compound"
298
299
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "compound_id" of type "str" in function "get_heatmap_dose_curves_tab_drc_options"
300
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "compound_id" of type "str" in function "get_predictive_models_for_compound"
299
301
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "compound_label" of type "str" in function "get_heatmap_dose_curves_tab_drc_options"
302
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "dataset_given_id" of type "str" in function "get_correlation_for_entity"
303
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "dataset_id" of type "str" in function "get_dataset_label"
300
304
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "key" of type "str" in function "__getitem__"
301
305
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "key" of type "str" in function "get"
306
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_dataset_given_id" of type "str" in function "get_interactive_url_for_entity"
307
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_feature_id" of type "str" in function "get_correlation_for_entity"
308
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_feature_id" of type "str" in function "get_interactive_url_for_entity"
309
+
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_feature_id" of type "str" in function "get_relation_to_entity"
302
310
index.py: error: Argument of type "Column[str]" cannot be assigned to parameter "row_name" of type "str" in function "valid_row"
303
311
index.py: error: Argument of type "DependencyDataset | None" cannot be assigned to parameter "object" of type "DependencyDataset" in function "append"
312
+
index.py: error: Argument of type "str | None" cannot be assigned to parameter "pred_model_feature_type" of type "str" in function "get_relation_to_entity"
304
313
index.py: error: Argument of type "str | None" cannot be assigned to parameter "x" of type "ConvertibleToInt" in function "__new__"
305
314
index.py: error: Cannot access attribute "any" for class "List[Gene]"
315
+
index.py: error: Cannot access attribute "entrez_id" for class "Entity"
306
316
index.py: error: Cannot access attribute "has" for class "DependencyDataset"
307
317
index.py: error: Cannot access attribute "has" for class "Entity"
308
318
index.py: error: Invalid conditional operand of type "Column[int]"
@@ -365,16 +375,22 @@ models.py: error: "matrix" is not a known attribute of "None" (reportOptionalMem
365
375
models.py: error: "RelationshipProperty[Any]" is not iterable
366
376
models.py: error: "taiga_id" is not a known attribute of "None" (reportOptionalMemberAccess)
367
377
models.py: error: Argument of type "ArrayLike | float | Number | number[Any, int | float | complex] | Index | Series | Unknown | ArrowExtensionArray | NAType | NaTType | Timestamp | Timedelta | Any | DatetimeIndex | TimedeltaIndex | BooleanArray | FloatingArray | IntegerArray | ndarray[_AnyShape, dtype[signedinteger[_64Bit]]]" cannot be assigned to parameter "x" of type "ConvertibleToFloat" in function "__new__"
378
+
models.py: error: Argument of type "Column[int]" cannot be assigned to parameter "entity_id" of type "int" in function "get"
368
379
models.py: error: Argument of type "Column[int]" cannot be assigned to parameter "entity_id" of type "int" in function "integrate_size_and_label_data"
369
380
models.py: error: Argument of type "Column[int]" cannot be assigned to parameter "entity_id" of type "int" in function "legacy_dataset_contains_entity"
370
381
models.py: error: Argument of type "Column[str] | str" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads"
382
+
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "dataset_given_id" of type "str" in function "get_correlation_for_entity"
383
+
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "dataset_id" of type "str" in function "get_dataset_feature_type"
371
384
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "dataset_id" of type "str" in function "get_dataset_label"
372
385
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "feature_label" of type "str" in function "get_entity_summary_metadata"
373
386
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "feature_label" of type "str" in function "get_feature_data"
374
387
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "feature" of type "str" in function "get_row_of_values"
375
388
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "file_path" of type "str" in function "get_row_of_values"
376
389
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "key" of type "str" in function "get"
377
390
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "paths" of type "BytesPath" in function "join"
391
+
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_dataset_given_id" of type "str" in function "get_interactive_url_for_entity"
392
+
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_feature_id" of type "str" in function "get_correlation_for_entity"
393
+
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "pred_model_feature_id" of type "str" in function "get_interactive_url_for_entity"
378
394
models.py: error: Argument of type "Column[str]" cannot be assigned to parameter "s" of type "str | bytes | bytearray" in function "loads"
379
395
models.py: error: Argument of type "Column[TabularEnum]" cannot be assigned to parameter "key" of type "BiomarkerEnum | DependencyEnum | TabularEnum" in function "__getitem__"
380
396
models.py: error: Argument of type "Column[TabularEnum]" cannot be assigned to parameter "key" of type "TabularEnum" in function "__getitem__"
@@ -383,6 +399,7 @@ models.py: error: Argument of type "List[str] | None" cannot be assigned to para
383
399
models.py: error: Argument of type "list[str]" cannot be assigned to parameter "columns" of type "Axes | None" in function "__init__"
384
400
models.py: error: Argument of type "RelationshipProperty[Any]" cannot be assigned to parameter "onclause" of type "_OnClauseArgument | None" in function "join"
385
401
models.py: error: Argument of type "RelationshipProperty[Any]" cannot be assigned to parameter "onclause" of type "_OnClauseArgument | None" in function "outerjoin"
402
+
models.py: error: Argument of type "str | None" cannot be assigned to parameter "pred_model_feature_type" of type "str" in function "get_relation_to_entity"
386
403
models.py: error: Argument of type "Unknown | Column[int]" cannot be assigned to parameter "index" of type "int" in function "get_row_of_values"
387
404
models.py: error: Cannot access attribute "__table__" for class "type[Fusion]"
388
405
models.py: error: Cannot access attribute "__table__" for class "type[Mutation]"
@@ -396,6 +413,7 @@ models.py: error: Cannot access attribute "download_file" for class "_File*"
396
413
models.py: error: Cannot access attribute "gene" for class "_Gene*"
397
414
models.py: error: Cannot access attribute "name" for class "Dataset*"
398
415
models.py: error: Cannot access attribute "nominal_range" for class "TabularDatasetMeta"
416
+
models.py: error: Cannot access attribute "target_gene" for class "Gene"
399
417
models.py: error: Cannot access attribute "unique" for class "ndarray[_AnyShape, dtype[Any]]"
400
418
models.py: error: Cannot assign to attribute "funding" for class "DownloadRelease*"
401
419
models.py: error: Expression of type "None" cannot be assigned to parameter of type "Dict[int, GroupAuthConfig]"
@@ -477,6 +495,7 @@ predictability_loader.py: error: Invalid conditional operand of type "ColumnElem
477
495
predictability_loader.py: error: No overloads for "get" match the provided arguments (reportCallIssue)
478
496
predictability_loader.py: error: No overloads for "read_csv" match the provided arguments (reportCallIssue)
479
497
predictability_loader.py: error: No parameter named "background" (reportCallIssue)
498
+
predictability_loader.py: error: No parameter named "dataset_given_id" (reportCallIssue)
480
499
predictability_loader.py: error: No parameter named "dataset_id" (reportCallIssue)
481
500
predictability_loader.py: error: No parameter named "dataset" (reportCallIssue)
482
501
predictability_loader.py: error: No parameter named "feature_id" (reportCallIssue)
@@ -706,9 +725,13 @@ transcription_start_site_loader.py: error: No parameter named "gene_id" (reportC
706
725
transcription_start_site_loader.py: error: No parameter named "label" (reportCallIssue)
707
726
transcription_start_site_loader.py: error: No parameter named "three_prime_position" (reportCallIssue)
708
727
util.py: error: Expression of type "None" cannot be assigned to parameter of type "Client"
728
+
util.py: error: Expression of type "None" cannot be assigned to return type "str"
709
729
util.py: error: Type "None" is not assignable to return type "str"
730
+
utils.py: error: "abs_dest_path" is possibly unbound (reportPossiblyUnboundVariable)
731
+
utils.py: error: "base_name" is possibly unbound (reportPossiblyUnboundVariable)
710
732
utils.py: error: Argument of type "list[Column[str]]" cannot be assigned to parameter "path" of type "List[str]" in function "__init__"
711
733
utils.py: error: Argument of type "Unknown | None" cannot be assigned to parameter "string" of type "bytes | bytearray" in function "quote"
734
+
utils.py: error: Argument of type "Unknown | None" cannot be assigned to parameter "string" of type "bytes | bytearray" in function "quote" (reportArgumentType)
712
735
utils.py: error: Cannot assign to attribute "_depmap_interactive_config" for class "Flask"
713
736
utils.py: error: Cannot assign to attribute "_depmap_taiga_id_to_download_url" for class "Flask"
714
737
utils.py: error: Invalid conditional operand of type "ColumnElement[bool]"
@@ -769,6 +792,7 @@ views.py: error: Argument of type "Unknown | None" cannot be assigned to paramet
769
792
views.py: error: Argument to class must be a base class (reportGeneralTypeIssues)
770
793
views.py: error: Cannot access attribute "any" for class "List[Gene]"
771
794
views.py: error: Cannot access attribute "apply" for class "FunctionType"
795
+
views.py: error: Cannot access attribute "compound_id" for class "Entity"
772
796
views.py: error: Cannot access attribute "entrez_id" for class "Entity"
773
797
views.py: error: Cannot access attribute "rename" for class "float"
774
798
views.py: error: Cannot access attribute "rename" for class "int"
0 commit comments