beamlit 0.0.30rc34__py3-none-any.whl → 0.0.30rc35__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
@@ -240,17 +240,17 @@ def generate_beamlit_deployment(directory: str):
240
240
  # Create directory if it doesn't exist
241
241
  os.makedirs(agents_dir, exist_ok=True)
242
242
  os.makedirs(functions_dir, exist_ok=True)
243
- # for resource, agent in agents:
244
- # # write deployment file
245
- # agent_dir = os.path.join(agents_dir, agent.metadata.name)
246
- # os.makedirs(agent_dir, exist_ok=True)
247
- # with open(os.path.join(agent_dir, f"agent.yaml"), "w") as f:
248
- # content = get_agent_yaml(agent, functions, settings)
249
- # f.write(content)
250
- # # write dockerfile for build
251
- # with open(os.path.join(agent_dir, f"Dockerfile"), "w") as f:
252
- # content = dockerfile("agent", resource, agent)
253
- # f.write(content)
243
+ for resource, agent in agents:
244
+ # write deployment file
245
+ agent_dir = os.path.join(agents_dir, agent.metadata.name)
246
+ os.makedirs(agent_dir, exist_ok=True)
247
+ with open(os.path.join(agent_dir, f"agent.yaml"), "w") as f:
248
+ content = get_agent_yaml(agent, functions, settings)
249
+ f.write(content)
250
+ # write dockerfile for build
251
+ with open(os.path.join(agent_dir, f"Dockerfile"), "w") as f:
252
+ content = dockerfile("agent", resource, agent)
253
+ f.write(content)
254
254
  for resource, function in functions:
255
255
  # write deployment file
256
256
  function_dir = os.path.join(functions_dir, function.metadata.name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beamlit
3
- Version: 0.0.30rc34
3
+ Version: 0.0.30rc35
4
4
  Summary: Add your description here
5
5
  Author-email: cploujoux <ch.ploujoux@gmail.com>
6
6
  Requires-Python: >=3.12
@@ -137,7 +137,7 @@ beamlit/common/secrets.py,sha256=sid81bOe3LflkMKDHwBsBs9nIju8bp5-v9qU9gkyNMc,212
137
137
  beamlit/common/settings.py,sha256=2V06qodZHwPBqRDdpPyZhdCO7HeMjWr2rkEePOgmHqE,5936
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=cLQ9K6EG5Rnvv_FpfBpMdgHVS6pOgjm5pEUFMZbZb6A,9353
140
+ beamlit/deploy/deploy.py,sha256=UrYsdnaZSPQ5IWee63QgY3n2Bh8IaTxeMOmoKSYnI74,9331
141
141
  beamlit/deploy/format.py,sha256=78tOoeNPJ8969AhQTeFlIwZgQ3un8gmTSMmrYbRQSds,1818
142
142
  beamlit/deploy/parser.py,sha256=Ga0poCZkoRnuTw082QnTcNGCBJncoRAnVsn8-1FsaJE,6907
143
143
  beamlit/functions/__init__.py,sha256=_RPG1Bfg54JGdIPnViAU6n9zD7E1cDNsdXi8oYGskzE,138
@@ -256,6 +256,6 @@ beamlit/serve/app.py,sha256=k9THiOqcPs4lcQQhZaucLcboXCR_5AKP9AFCMNRbdPI,3559
256
256
  beamlit/serve/middlewares/__init__.py,sha256=1dVmnOmhAQWvWktqHkKSIX-YoF6fmMU8xkUQuhg_rJU,148
257
257
  beamlit/serve/middlewares/accesslog.py,sha256=Mu4T4_9OvHybjA0ApzZFpgi2C8f3X1NbUk-76v634XM,631
258
258
  beamlit/serve/middlewares/processtime.py,sha256=lDAaIasZ4bwvN-HKHvZpaD9r-yrkVNZYx4abvbjbrCg,411
259
- beamlit-0.0.30rc34.dist-info/METADATA,sha256=ueLL99sarr_KpTO6FvRg2mKPhjHyQC56FdUXOJJG0Wk,2405
260
- beamlit-0.0.30rc34.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
261
- beamlit-0.0.30rc34.dist-info/RECORD,,
259
+ beamlit-0.0.30rc35.dist-info/METADATA,sha256=mx-AaoM_46y634BdBC0O7Qpe21R-zEuvOc4vpRXMSyY,2405
260
+ beamlit-0.0.30rc35.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
261
+ beamlit-0.0.30rc35.dist-info/RECORD,,