diff --git a/go.mod b/go.mod index 59aae82..122ca3a 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.23.3 require ( github.com/KimMachineGun/automemlimit v0.6.1 + github.com/gabriel-vasile/mimetype v1.4.7 github.com/peterbourgon/ff/v4 v4.0.0-alpha.4 github.com/replicate/go v0.0.0-20241101110715-45e9ae8c2040 go.uber.org/automaxprocs v1.6.0 @@ -15,7 +16,6 @@ require ( github.com/containerd/cgroups/v3 v3.0.1 // indirect github.com/coreos/go-systemd/v22 v22.3.2 // indirect github.com/docker/go-units v0.4.0 // indirect - github.com/gabriel-vasile/mimetype v1.4.7 // indirect github.com/godbus/dbus/v5 v5.0.4 // indirect github.com/opencontainers/runtime-spec v1.0.2 // indirect github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect diff --git a/go.sum b/go.sum index 3197979..a3ce679 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,7 @@ go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/python/coglet/file_runner.py b/python/coglet/file_runner.py index e2a0709..4f672ed 100644 --- a/python/coglet/file_runner.py +++ b/python/coglet/file_runner.py @@ -203,4 +203,4 @@ def output_json(obj): elif type(obj) is api.Secret: return obj.get_secret_value() else: - raise TypeError(f'Object of type {type(obj)} is not JSON serializable') \ No newline at end of file + raise TypeError(f'Object of type {type(obj)} is not JSON serializable')