beamlit 0.0.34rc69__py3-none-any.whl → 0.0.34rc70__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
beamlit/deploy/deploy.py
CHANGED
@@ -117,6 +117,7 @@ def get_agent_yaml(
|
|
117
117
|
agent.spec.functions = [slugify(function.metadata.name) for (_, function) in functions]
|
118
118
|
agent.metadata.labels = agent.metadata.labels and MetadataLabels.from_dict(agent.metadata.labels) or MetadataLabels()
|
119
119
|
agent.metadata.labels["x-beamlit-auto-generated"] = "true"
|
120
|
+
agent.metadata.name = slugify(agent.metadata.name)
|
120
121
|
agent_yaml = yaml.dump(agent.to_dict())
|
121
122
|
template = f"""
|
122
123
|
apiVersion: beamlit.com/v1alpha1
|
@@ -139,6 +140,7 @@ def get_function_yaml(function: Function, settings: Settings, client: Authentica
|
|
139
140
|
"""
|
140
141
|
function.metadata.labels = function.metadata.labels and MetadataLabels.from_dict(function.metadata.labels) or MetadataLabels()
|
141
142
|
function.metadata.labels["x-beamlit-auto-generated"] = "true"
|
143
|
+
function.metadata.name = slugify(function.metadata.name)
|
142
144
|
function_yaml = yaml.dump(function.to_dict())
|
143
145
|
return f"""
|
144
146
|
apiVersion: beamlit.com/v1alpha1
|
@@ -137,7 +137,7 @@ beamlit/common/settings.py,sha256=OL1pZLB3BgN7QPCz9VR7gjYb-LoYpelilS7rU7FubCE,39
|
|
137
137
|
beamlit/common/slugify.py,sha256=nR29r37IdWS2i44ZC6ZsXRgqKPYmvMGtFQ7BuIQUTlc,90
|
138
138
|
beamlit/common/utils.py,sha256=jouz5igBvT37Xn_e94-foCHyQczVim-UzVcoIF6RWJ4,657
|
139
139
|
beamlit/deploy/__init__.py,sha256=GS7l7Jtm2yKs7iNLKcfjYO-rAhUzggQ3xiYSf3oxLBY,91
|
140
|
-
beamlit/deploy/deploy.py,sha256=
|
140
|
+
beamlit/deploy/deploy.py,sha256=ApJzqhbxlAusDYog_Oou06Bq9otEYrPxQi3mJv8I2_g,10373
|
141
141
|
beamlit/deploy/format.py,sha256=U6UZEFAYLnGJJ7O2YmSdlUUFhnWNGAv6NZ-DW4KTgvI,2049
|
142
142
|
beamlit/deploy/parser.py,sha256=Ga0poCZkoRnuTw082QnTcNGCBJncoRAnVsn8-1FsaJE,6907
|
143
143
|
beamlit/functions/__init__.py,sha256=NcQPZZNfWhAJ1T1F6Xn21LFPMbZ7aMR2Sve3uZOkBCQ,170
|
@@ -263,6 +263,6 @@ beamlit/serve/app.py,sha256=_aG2UVQ3Y85rUW3ehu9TlzLnowkfh54IIz558ftqOMw,3638
|
|
263
263
|
beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
|
264
264
|
beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
|
265
265
|
beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
|
266
|
-
beamlit-0.0.
|
267
|
-
beamlit-0.0.
|
268
|
-
beamlit-0.0.
|
266
|
+
beamlit-0.0.34rc70.dist-info/METADATA,sha256=-v5r-K-YwSyFoGHxch2KshO3t7c67gQ0U5IU1XV6q1c,2412
|
267
|
+
beamlit-0.0.34rc70.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
268
|
+
beamlit-0.0.34rc70.dist-info/RECORD,,
|
File without changes
|