@@ -382,7 +382,7 @@ def evaluate_policy(
382382 self ,
383383 * ,
384384 policy_id : str ,
385- include_auth : str | None = None ,
385+ include_auth : bool | None = None ,
386386 correlation_id : str | None = None ,
387387 user_agent : str | None = None ,
388388 x_user_id : str | None = None ,
@@ -425,7 +425,7 @@ def evaluate_policy(
425425 Args:
426426 data_partition_id (str): identifier of the data partition to query. If None sets by auth session.
427427 policy_id (str):
428- include_auth (str ): Update posted data to include auth (token, xuserid and data partition id) from headers
428+ include_auth (bool ): Update posted data to include auth (token, xuserid and data partition id) from headers
429429 correlation_id (str):
430430 user_agent (str):
431431 x_user_id (str): identifier the user in the query
@@ -552,8 +552,8 @@ def get_api_policy_v1_info(
552552 def create_api_policy_v1_compile (
553553 self ,
554554 * ,
555- metrics : str | None = None ,
556- instrument : str | None = None ,
555+ metrics : bool | None = None ,
556+ instrument : bool | None = None ,
557557 correlation_id : str | None = None ,
558558 user_agent : str | None = None ,
559559 x_user_id : str | None = None ,
@@ -581,8 +581,8 @@ def create_api_policy_v1_compile(
581581 We recommend leaving query instrumentation off unless you are debugging a performance problem.
582582 Args:
583583 data_partition_id (str): identifier of the data partition to query. If None sets by auth session.
584- metrics (str ): Include report detailed performance metrics on requested on individual API call. Returned inline with the API response
585- instrument (str ): Include instrumentation data wth detailed performance metrics on requested on individual API call. Returned inline with the API response
584+ metrics (bool ): Include report detailed performance metrics on requested on individual API call. Returned inline with the API response
585+ instrument (bool ): Include instrumentation data wth detailed performance metrics on requested on individual API call. Returned inline with the API response
586586 correlation_id (str):
587587 user_agent (str):
588588 x_user_id (str): identifier the user in the query
@@ -617,7 +617,7 @@ def create_api_policy_v1_compile(
617617 def get_tenant (
618618 self ,
619619 * ,
620- all_data : str | None = None ,
620+ all_data : bool | None = None ,
621621 correlation_id : str | None = None ,
622622 user_agent : str | None = None ,
623623 x_user_id : str | None = None ,
@@ -628,7 +628,7 @@ def get_tenant(
628628 These details are read from OPA configmap.
629629 Args:
630630 data_partition_id (str): identifier of the data partition to query. If None sets by auth session.
631- all_data (str ):
631+ all_data (bool ):
632632 correlation_id (str):
633633 user_agent (str):
634634 x_user_id (str): identifier the user in the query
@@ -662,8 +662,8 @@ def update_tenant(
662662 self ,
663663 * ,
664664 service : str ,
665- polling_min_delay_seconds : str | None = None ,
666- polling_max_delay_seconds : str | None = None ,
665+ polling_min_delay_seconds : int | None = None ,
666+ polling_max_delay_seconds : int | None = None ,
667667 correlation_id : str | None = None ,
668668 user_agent : str | None = None ,
669669 x_user_id : str | None = None ,
@@ -675,8 +675,8 @@ def update_tenant(
675675 Args:
676676 data_partition_id (str): identifier of the data partition to query. If None sets by auth session.
677677 service (str):
678- polling_min_delay_seconds (str ):
679- polling_max_delay_seconds (str ):
678+ polling_min_delay_seconds (int ):
679+ polling_max_delay_seconds (int ):
680680 correlation_id (str):
681681 user_agent (str):
682682 x_user_id (str): identifier the user in the query
@@ -832,7 +832,7 @@ def validate_policy(
832832 self ,
833833 * ,
834834 policy_id : str ,
835- template : str | None = None ,
835+ template : bool | None = None ,
836836 correlation_id : str | None = None ,
837837 user_agent : str | None = None ,
838838 x_user_id : str | None = None ,
@@ -849,7 +849,7 @@ def validate_policy(
849849 Args:
850850 data_partition_id (str): identifier of the data partition to query. If None sets by auth session.
851851 policy_id (str):
852- template (str ):
852+ template (bool ):
853853 correlation_id (str):
854854 user_agent (str):
855855 x_user_id (str): identifier the user in the query
@@ -925,7 +925,7 @@ def get_backup(
925925 def bootstrap (
926926 self ,
927927 * ,
928- force : str | None = None ,
928+ force : bool | None = None ,
929929 correlation_id : str | None = None ,
930930 user_agent : str | None = None ,
931931 x_user_id : str | None = None ,
@@ -949,7 +949,7 @@ def bootstrap(
949949 * HTTP_424_FAILED_DEPENDENCY - bundle server caused failure
950950 Args:
951951 data_partition_id (str): identifier of the data partition to query. If None sets by auth session.
952- force (str ):
952+ force (bool ):
953953 correlation_id (str):
954954 user_agent (str):
955955 x_user_id (str): identifier the user in the query
0 commit comments