def gas_put(self):
        if not self.check_gas():
            raise Exception(
                "The target file is not a GAS project json, if you like to raw-upload a json, try '-t raw'")

        if not self.gas_pack():
            raise Exception("Failed to pack the GAS project files")

        return self.generic_put(True, file_name="%s.packed" % self.source_file)
dataset/ETHPy150Open tienfuc/gdcmdtools/gdcmdtools/put.py/GDPut.gas_put/original