1717_CONFIGURED = 'Configured'
1818_AUTO_ASK_FOR_CHECK = 'auto-ask-check'
1919_BRANCH_ATTENTION = 'base-branch-attention'
20- _MultiAPI = 'MultiAPI'
2120# record published issues
2221_FILE_OUT = 'published_issues_python.csv'
2322
@@ -46,17 +45,9 @@ def get_specefied_param(pattern: str, issue_body_list: List[str]) -> str:
4645 return line .split (":" , 1 )[- 1 ].strip ()
4746 return ""
4847
49- def multi_api_policy (self ) -> None :
50- if self .has_label (_MultiAPI ) and not self .has_label (_AUTO_ASK_FOR_CHECK ):
51- self .bot_advice .append (_MultiAPI )
52-
5348 def get_edit_content (self ) -> None :
5449 self .edit_content = f'\n { self .readme_link .replace ("/readme.md" , "" )} \n Readme Tag: { self .target_readme_tag } '
5550
56- @property
57- def is_multiapi (self ):
58- return self .has_label (_MultiAPI )
59-
6051 @property
6152 def readme_comparison (self ) -> bool :
6253 # to see whether need change readme
@@ -68,7 +59,7 @@ def readme_comparison(self) -> bool:
6859 pattern_tag = re .compile (r'tag: package-[\w+-.]+' )
6960 package_tags = pattern_tag .findall (contents )
7061 whether_same_tag = self .target_readme_tag in package_tags [0 ]
71- whether_change_readme = not whether_same_tag or self . is_multiapi
62+ whether_change_readme = not whether_same_tag
7263 return whether_change_readme
7364
7465 def auto_reply (self ) -> None :
@@ -106,7 +97,6 @@ def attention_policy(self):
10697
10798 def auto_bot_advice (self ):
10899 super ().auto_bot_advice ()
109- self .multi_api_policy ()
110100 self .attention_policy ()
111101
112102 def auto_close (self ) -> None :
@@ -132,8 +122,6 @@ def package_name_output_folder_from_readme(self):
132122 pattern_output = re .compile (r'\$\(python-sdks-folder\)/(.*?)/azure-' )
133123 self .package_name = pattern_package .search (contents ).group ().split (':' )[- 1 ].strip ()
134124 self .output_folder = pattern_output .search (contents ).group ().split ('/' )[1 ]
135- if 'multi-api' in contents :
136- self .add_label (_MultiAPI )
137125
138126 def package_name_output_folder_from_tspconfig (self ):
139127 try :
0 commit comments