#NEWLINE# def upload( self , conan_reference , package_id = None , remote = None , all_packages = None , force = False ) : #NEWLINE# #INDENT# remote_proxy = ConanProxy ( self . _paths , self . _user_io , self . _remote_manager , remote ) #NEWLINE# uploader = ConanUploader ( self . _paths , self . _user_io , remote_proxy ) #NEWLINE# if package_id : #NEWLINE# #INDENT# uploader . upload_package ( PackageReference ( conan_reference , package_id ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# uploader . upload_conan ( conan_reference , all_packages = all_packages , force = force )