@@ -708,7 +708,7 @@ def update(self, **kwargs: Any) -> 'Remote':
708
708
709
709
def _get_fetch_info_from_stderr (self ,proc :'Git.AutoInterrupt' ,
710
710
progress :Union [Callable [...,Any ],RemoteProgress ,None ],
711
- timeout :float = 60.0
711
+ timeout :Union [ None , float ] = None ,
712
712
)-> IterableList ['FetchInfo' ]:
713
713
714
714
progress = to_progress_instance (progress )
@@ -772,7 +772,7 @@ def _get_fetch_info_from_stderr(self, proc: 'Git.AutoInterrupt',
772
772
773
773
def _get_push_info (self ,proc :'Git.AutoInterrupt' ,
774
774
progress :Union [Callable [...,Any ],RemoteProgress ,None ],
775
- timeout :float = 60.0 )-> IterableList [PushInfo ]:
775
+ timeout :Union [ None , float ] = None )-> IterableList [PushInfo ]:
776
776
progress = to_progress_instance (progress )
777
777
778
778
# read progress information from stderr
@@ -817,7 +817,7 @@ def _assert_refspec(self) -> None:
817
817
818
818
def fetch (self ,refspec :Union [str ,List [str ],None ]= None ,
819
819
progress :Union [RemoteProgress ,None ,'UpdateProgress' ]= None ,
820
- verbose :bool = True ,timeout :float = 60.0 ,
820
+ verbose :bool = True ,timeout :Union [ None , float ] = None ,
821
821
** kwargs :Any )-> IterableList [FetchInfo ]:
822
822
"""Fetch the latest changes for this remote
823
823
@@ -865,7 +865,7 @@ def fetch(self, refspec: Union[str, List[str], None] = None,
865
865
866
866
def pull (self ,refspec :Union [str ,List [str ],None ]= None ,
867
867
progress :Union [RemoteProgress ,'UpdateProgress' ,None ]= None ,
868
- timeout :float = 60.0 ,
868
+ timeout :Union [ None , float ] = None ,
869
869
** kwargs :Any )-> IterableList [FetchInfo ]:
870
870
"""Pull changes from the given branch, being the same as a fetch followed
871
871
by a merge of branch with your local branch.
@@ -887,7 +887,7 @@ def pull(self, refspec: Union[str, List[str], None] = None,
887
887
888
888
def push (self ,refspec :Union [str ,List [str ],None ]= None ,
889
889
progress :Union [RemoteProgress ,'UpdateProgress' ,Callable [...,RemoteProgress ],None ]= None ,
890
- timeout :float = 60.0 ,** kwargs :Any )-> IterableList [PushInfo ]:
890
+ timeout :Union [ None , float ] = None ,** kwargs :Any )-> IterableList [PushInfo ]:
891
891
"""Push changes from source branch in refspec to target branch in refspec.
892
892
893
893
:param refspec: see 'fetch' method