@@ -671,6 +671,7 @@ def get_bundle_settings(
671671 self ,
672672 bundle_name : Optional [str ] = None ,
673673 project_name : Optional [str ] = None ,
674+ project_bundle_name : Optional [str ] = None ,
674675 variant : Optional [str ] = None ,
675676 site_id : Optional [str ] = None ,
676677 use_site : bool = True ,
@@ -714,6 +715,7 @@ def get_bundle_settings(
714715 query = prepare_query_string ({
715716 "project_name" : project_name or None ,
716717 "bundle_name" : bundle_name or None ,
718+ "project_bundle_name" : project_bundle_name or None ,
717719 "variant" : variant or self .get_default_settings_variant () or None ,
718720 "site_id" : site_id ,
719721 })
@@ -724,6 +726,7 @@ def get_bundle_settings(
724726 def get_addons_studio_settings (
725727 self ,
726728 bundle_name : Optional [str ] = None ,
729+ project_bundle_name : Optional [str ] = None ,
727730 variant : Optional [str ] = None ,
728731 site_id : Optional [str ] = None ,
729732 use_site : bool = True ,
@@ -739,6 +742,8 @@ def get_addons_studio_settings(
739742 Args:
740743 bundle_name (Optional[str]): Name of bundle for which should be
741744 settings received.
745+ project_bundle_name (Optional[str]): Project bundle name for
746+ which should be settings received.
742747 variant (Optional[Literal['production', 'staging']]): Name of
743748 settings variant. Used 'default_settings_variant' by default.
744749 site_id (Optional[str]): Site id for which want to receive
@@ -755,6 +760,7 @@ def get_addons_studio_settings(
755760 """
756761 output = self .get_bundle_settings (
757762 bundle_name = bundle_name ,
763+ project_bundle_name = project_bundle_name ,
758764 variant = variant ,
759765 site_id = site_id ,
760766 use_site = use_site
@@ -770,6 +776,7 @@ def get_addons_project_settings(
770776 self ,
771777 project_name : str ,
772778 bundle_name : Optional [str ] = None ,
779+ project_bundle_name : Optional [str ] = None ,
773780 variant : Optional [str ] = None ,
774781 site_id : Optional [str ] = None ,
775782 use_site : bool = True ,
@@ -801,6 +808,8 @@ def get_addons_project_settings(
801808 received.
802809 bundle_name (Optional[str]): Name of bundle for which should be
803810 settings received.
811+ project_bundle_name (Optional[str]): Project bundle name for which
812+ should be settings received.
804813 variant (Optional[Literal['production', 'staging']]): Name of
805814 settings variant. Used 'default_settings_variant' by default.
806815 site_id (Optional[str]): Site id for which want to receive
@@ -822,6 +831,7 @@ def get_addons_project_settings(
822831 output = self .get_bundle_settings (
823832 project_name = project_name ,
824833 bundle_name = bundle_name ,
834+ project_bundle_name = project_bundle_name ,
825835 variant = variant ,
826836 site_id = site_id ,
827837 use_site = use_site
@@ -836,6 +846,7 @@ def get_addons_project_settings(
836846 def get_addons_settings (
837847 self ,
838848 bundle_name : Optional [str ] = None ,
849+ project_bundle_name : Optional [str ] = None ,
839850 project_name : Optional [str ] = None ,
840851 variant : Optional [str ] = None ,
841852 site_id : Optional [str ] = None ,
@@ -855,6 +866,8 @@ def get_addons_settings(
855866 Args:
856867 bundle_name (Optional[str]): Name of bundle for which should be
857868 settings received.
869+ project_bundle_name (Optional[str]): Name of project bundle
870+ for which should be settings received.
858871 project_name (Optional[str]): Name of project for which should be
859872 settings received.
860873 variant (Optional[Literal['production', 'staging']]): Name of
@@ -871,6 +884,7 @@ def get_addons_settings(
871884 if project_name is None :
872885 return self .get_addons_studio_settings (
873886 bundle_name = bundle_name ,
887+ project_bundle_name = project_bundle_name ,
874888 variant = variant ,
875889 site_id = site_id ,
876890 use_site = use_site ,
@@ -880,6 +894,7 @@ def get_addons_settings(
880894 return self .get_addons_project_settings (
881895 project_name = project_name ,
882896 bundle_name = bundle_name ,
897+ project_bundle_name = project_bundle_name ,
883898 variant = variant ,
884899 site_id = site_id ,
885900 use_site = use_site ,
0 commit comments