def __init__(self, package_name, version_name, path = None, _hash = None, import_date = None, tag = None, size_app_code = 0, build_date = None): ''' Create an apk instance. If the sha digest is not given, it will be calculated by loading the file at the time of the first retrieval. ''' Apk.__init__(self) self.package_name = package_name self.version_name = version_name self.import_date = import_date self.tag = tag self.hash = _hash self.path = path self.size_app_code = size_app_code self.build_date = build_date
def __init__(self, package_name, version_name, path=None, _hash=None, import_date=None, tag=None, size_app_code=0, build_date=None): ''' Create an apk instance. If the sha digest is not given, it will be calculated by loading the file at the time of the first retrieval. ''' Apk.__init__(self) self.package_name = package_name self.version_name = version_name self.import_date = import_date self.tag = tag self.hash = _hash self.path = path self.size_app_code = size_app_code self.build_date = build_date