beamlit 0.0.31rc40__py3-none-any.whl → 0.0.31rc41__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
    
    | @@ -23,7 +23,7 @@ from .parser import Resource, get_description, get_parameters, get_resources | |
| 23 23 | 
             
            sys.path.insert(0, os.getcwd())
         | 
| 24 24 | 
             
            sys.path.insert(0, os.path.join(os.getcwd(), "src"))
         | 
| 25 25 |  | 
| 26 | 
            -
             | 
| 26 | 
            +
            random_id = str(uuid.uuid4())[:8]
         | 
| 27 27 | 
             
            def slugify(name: str) -> str:
         | 
| 28 28 | 
             
                return name.lower().replace(" ", "-").replace("_", "-")
         | 
| 29 29 |  | 
| @@ -32,7 +32,7 @@ def get_runtime_image(type: str, name: str) -> str: | |
| 32 32 | 
             
                registry_url = settings.registry_url.replace("https://", "").replace("http://", "")
         | 
| 33 33 | 
             
                image = f"{registry_url}/{settings.workspace}/{type}s/{name}"
         | 
| 34 34 | 
             
                # Generate a random ID to ensure unique image tags
         | 
| 35 | 
            -
                image = f"{image}:{ | 
| 35 | 
            +
                image = f"{image}:{random_id}"
         | 
| 36 36 | 
             
                return image
         | 
| 37 37 |  | 
| 38 38 |  | 
| @@ -137,7 +137,7 @@ beamlit/common/secrets.py,sha256=sid81bOe3LflkMKDHwBsBs9nIju8bp5-v9qU9gkyNMc,212 | |
| 137 137 | 
             
            beamlit/common/settings.py,sha256=_4oCVrJZOMaTZoK2Zzo2DWqtUyBsspuOH3iAJ_nU0tw,5923
         | 
| 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=xo2fAdF6jR1cG75sXMzpqsJlG_qGAKVnMwjuDa_8sk8,9936
         | 
| 141 141 | 
             
            beamlit/deploy/format.py,sha256=PJ8kU7Y1pwiS3tqqyvFaag9LO3jju-4ua574163VPk4,1820
         | 
| 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=QzReZZjGFQWhNA1XBDq81rsn9zpEihtLZLrfZi9ThT0,3554 | |
| 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. | 
| 260 | 
            -
            beamlit-0.0. | 
| 261 | 
            -
            beamlit-0.0. | 
| 259 | 
            +
            beamlit-0.0.31rc41.dist-info/METADATA,sha256=4Q1xmITkbqqcVdkeR0OMCX4UI0q8QlKj12h3sE_ps-Q,2405
         | 
| 260 | 
            +
            beamlit-0.0.31rc41.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
         | 
| 261 | 
            +
            beamlit-0.0.31rc41.dist-info/RECORD,,
         | 
| 
            File without changes
         |