File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -380,10 +380,11 @@ def reset_hba(self) -> None:
380380 'cannot modify HBA records: {}' .format (e )) from e
381381
382382 def add_hba_entry (self , * ,
383- database : str , user : str ,
384- auth_method : str ,
385383 type : str = 'host' ,
384+ database : str ,
385+ user : str ,
386386 address : typing .Optional [str ] = None ,
387+ auth_method : str ,
387388 auth_options : typing .Optional [
388389 typing .Dict [str , str ]] = None ) -> None :
389390 """Add a record to pg_hba.conf."""
@@ -744,10 +745,11 @@ def reset_hba(self) -> None:
744745 raise ClusterError ('cannot modify HBA records of unmanaged cluster' )
745746
746747 def add_hba_entry (self , * ,
747- database : str , user : str ,
748- auth_method : str ,
749748 type : str = 'host' ,
749+ database : str ,
750+ user : str ,
750751 address : typing .Optional [str ] = None ,
752+ auth_method : str ,
751753 auth_options : typing .Optional [
752754 typing .Dict [str , str ]] = None ) -> None :
753755 raise ClusterError ('cannot modify HBA records of unmanaged cluster' )
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ def finalize_options(self):
297297 extra_compile_args = CFLAGS ,
298298 extra_link_args = LDFLAGS ),
299299 ],
300- install_requires = ['typing-extensions>=3.7.4.3 ;python_version<"3.8"' ],
300+ install_requires = ['typing-extensions>=4.0.1 ;python_version<"3.8"' ],
301301 cmdclass = {'build_ext' : build_ext , 'build_py' : build_py , 'sdist' : sdist },
302302 test_suite = 'tests.suite' ,
303303 extras_require = EXTRA_DEPENDENCIES ,
You can’t perform that action at this time.
0 commit comments