<html><body>
<p><font size="2" face="sans-serif">Based on nova-specs api-microversions.rst</font><br>
<font size="2" face="sans-serif">we support following function definition format, but it violate the hacking rule pep8 F811 because duplicate function definition</font><br>
<font size="2" face="sans-serif">we should use #noqa for them , but considering microversion may live for long time ,</font><br>
<font size="2" face="sans-serif">keep adding #noqa may be a little bit ugly, can anyone suggest a good solution for it ? thanks</font><br>
<br>
<font size="2" face="sans-serif">> @api_version(min_version='2.1')</font><br>
<font size="2" face="sans-serif">> def _version_specific_func(self, req, arg1):</font><br>
<font size="2" face="sans-serif">> pass</font><br>
<font size="2" face="sans-serif">></font><br>
<font size="2" face="sans-serif">> @api_version(min_version='2.5')</font><br>
<font size="2" face="sans-serif">> def _version_specific_func(self, req, arg1):</font><br>
<font size="2" face="sans-serif">> pass</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">Best Regards! <br>
<br>
Kevin (Chen) Ji ¼Í ³¿<br>
<br>
Engineer, zVM Development, CSTL<br>
Notes: Chen CH Ji/China/IBM@IBMCN Internet: jichenjc@cn.ibm.com<br>
Phone: +86-10-82454158<br>
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC </font></body></html>