cobweb-launcher 0.0.12__py3-none-any.whl → 0.0.14__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.
- cobweb/bbb.py +4 -5
- {cobweb_launcher-0.0.12.dist-info → cobweb_launcher-0.0.14.dist-info}/METADATA +1 -1
- {cobweb_launcher-0.0.12.dist-info → cobweb_launcher-0.0.14.dist-info}/RECORD +6 -6
- {cobweb_launcher-0.0.12.dist-info → cobweb_launcher-0.0.14.dist-info}/LICENSE +0 -0
- {cobweb_launcher-0.0.12.dist-info → cobweb_launcher-0.0.14.dist-info}/WHEEL +0 -0
- {cobweb_launcher-0.0.12.dist-info → cobweb_launcher-0.0.14.dist-info}/top_level.txt +0 -0
    
        cobweb/bbb.py
    CHANGED
    
    | @@ -81,9 +81,8 @@ class Seed: | |
| 81 81 | 
             
                                f"must be str or dict! "
         | 
| 82 82 | 
             
                                f"seed_info: {seed_info}"
         | 
| 83 83 | 
             
                            ))
         | 
| 84 | 
            -
                     | 
| 85 | 
            -
                         | 
| 86 | 
            -
                            self.__setattr__(k, v)
         | 
| 84 | 
            +
                    for k, v in kwargs.items():
         | 
| 85 | 
            +
                        self.__setattr__(k, v)
         | 
| 87 86 | 
             
                    if not getattr(self, "_priority"):
         | 
| 88 87 | 
             
                        self._priority = min(max(1, int(priority)), 999)
         | 
| 89 88 | 
             
                    if not getattr(self, "_version"):
         | 
| @@ -115,12 +114,12 @@ class Seed: | |
| 115 114 | 
             
                    return f'{self.__class__.__name__}({", ".join(chars)})'
         | 
| 116 115 |  | 
| 117 116 | 
             
                @property
         | 
| 118 | 
            -
                def format_seed(self):
         | 
| 117 | 
            +
                def format_seed(self, json_str=True):
         | 
| 119 118 | 
             
                    seed = self.__dict__.copy()
         | 
| 120 119 | 
             
                    del seed["_priority"]
         | 
| 121 120 | 
             
                    del seed["_version"]
         | 
| 122 121 | 
             
                    del seed["_retry"]
         | 
| 123 | 
            -
                    return json.dumps(seed, ensure_ascii=False)
         | 
| 122 | 
            +
                    return json.dumps(seed, ensure_ascii=False) if json_str else seed
         | 
| 124 123 |  | 
| 125 124 |  | 
| 126 125 | 
             
            class DBItem:
         | 
| @@ -1,5 +1,5 @@ | |
| 1 1 | 
             
            cobweb/__init__.py,sha256=bJDiD1bZgMjeLnGNUt1E-3-X6zxHwX0NyBziucm9OlE,247
         | 
| 2 | 
            -
            cobweb/bbb.py,sha256= | 
| 2 | 
            +
            cobweb/bbb.py,sha256=9zK2KOdKKi02oXFhUN8l8n-s_Ucylwt3-vibp5K0xLc,5651
         | 
| 3 3 | 
             
            cobweb/decorators.py,sha256=8KPSKL8xsiXOLv-kckkaDtK8LXM8d5gaRriGpuEgOQk,320
         | 
| 4 4 | 
             
            cobweb/interface.py,sha256=um_k2AAQl1HTOvfUlq914DjkpfZVwt2m1B65EpPKrmE,802
         | 
| 5 5 | 
             
            cobweb/log.py,sha256=Gb3_y4IzTo5pJohTggBCU9rK6-ZN3hgTOHkoXHyN6CU,2384
         | 
| @@ -22,8 +22,8 @@ cobweb/distributed/models.py,sha256=wnqumVPEX6ENVNcvqo3WvALyb_pXVd1BdT0QS0xpzbQ, | |
| 22 22 | 
             
            cobweb/single/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         | 
| 23 23 | 
             
            cobweb/single/models.py,sha256=lu8teNWnWcUwZFra8XmqyhzOAf3UyuEztwBr1Ne6pUs,2898
         | 
| 24 24 | 
             
            cobweb/single/nest.py,sha256=mL8q9a5BjtoeUyzXCIVw_vyUsNY8ltbvQpYIIpZEDFU,5012
         | 
| 25 | 
            -
            cobweb_launcher-0.0. | 
| 26 | 
            -
            cobweb_launcher-0.0. | 
| 27 | 
            -
            cobweb_launcher-0.0. | 
| 28 | 
            -
            cobweb_launcher-0.0. | 
| 29 | 
            -
            cobweb_launcher-0.0. | 
| 25 | 
            +
            cobweb_launcher-0.0.14.dist-info/LICENSE,sha256=z1rxSIGOyzcSb3orZxFPxzx-0C1vTocmswqBNxpKfEk,1063
         | 
| 26 | 
            +
            cobweb_launcher-0.0.14.dist-info/METADATA,sha256=aKTN19rE_zfT_vWbX-LgHGoEqC8isvMJyVnuPqYClz4,1226
         | 
| 27 | 
            +
            cobweb_launcher-0.0.14.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
         | 
| 28 | 
            +
            cobweb_launcher-0.0.14.dist-info/top_level.txt,sha256=4GETBGNsKqiCUezmT-mJn7tjhcDlu7nLIV5gGgHBW4I,7
         | 
| 29 | 
            +
            cobweb_launcher-0.0.14.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |