@@ -708,7 +708,7 @@ def update(self, **kwargs: Any) -> 'Remote':
708708
709709 def _get_fetch_info_from_stderr (self , proc : 'Git.AutoInterrupt' ,
710710 progress : Union [Callable [..., Any ], RemoteProgress , None ],
711- timeout : float = 60.0
711+ timeout : Union [ None , float ] = None ,
712712 ) -> IterableList ['FetchInfo' ]:
713713
714714 progress = to_progress_instance (progress )
@@ -772,7 +772,7 @@ def _get_fetch_info_from_stderr(self, proc: 'Git.AutoInterrupt',
772772
773773 def _get_push_info (self , proc : 'Git.AutoInterrupt' ,
774774 progress : Union [Callable [..., Any ], RemoteProgress , None ],
775- timeout : float = 60.0 ) -> IterableList [PushInfo ]:
775+ timeout : Union [ None , float ] = None ) -> IterableList [PushInfo ]:
776776 progress = to_progress_instance (progress )
777777
778778 # read progress information from stderr
@@ -817,7 +817,7 @@ def _assert_refspec(self) -> None:
817817
818818 def fetch (self , refspec : Union [str , List [str ], None ] = None ,
819819 progress : Union [RemoteProgress , None , 'UpdateProgress' ] = None ,
820- verbose : bool = True , timeout : float = 60.0 ,
820+ verbose : bool = True , timeout : Union [ None , float ] = None ,
821821 ** kwargs : Any ) -> IterableList [FetchInfo ]:
822822 """Fetch the latest changes for this remote
823823
@@ -865,7 +865,7 @@ def fetch(self, refspec: Union[str, List[str], None] = None,
865865
866866 def pull (self , refspec : Union [str , List [str ], None ] = None ,
867867 progress : Union [RemoteProgress , 'UpdateProgress' , None ] = None ,
868- timeout : float = 60.0 ,
868+ timeout : Union [ None , float ] = None ,
869869 ** kwargs : Any ) -> IterableList [FetchInfo ]:
870870 """Pull changes from the given branch, being the same as a fetch followed
871871 by a merge of branch with your local branch.
@@ -887,7 +887,7 @@ def pull(self, refspec: Union[str, List[str], None] = None,
887887
888888 def push (self , refspec : Union [str , List [str ], None ] = None ,
889889 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 ]:
891891 """Push changes from source branch in refspec to target branch in refspec.
892892
893893 :param refspec: see 'fetch' method
0 commit comments