tf2-sku-to-name 1.0.4__tar.gz → 1.0.5__tar.gz
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.
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/PKG-INFO +1 -1
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/setup.py +1 -1
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/sku/models.py +6 -1
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/tf2_sku_to_name.egg-info/PKG-INFO +1 -1
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/LICENSE +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/README.md +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/setup.cfg +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/sku/data/data.json +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/sku/parser.py +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/tf2_sku_to_name.egg-info/SOURCES.txt +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/tf2_sku_to_name.egg-info/dependency_links.txt +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/tf2_sku_to_name.egg-info/requires.txt +0 -0
- {tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/tf2_sku_to_name.egg-info/top_level.txt +0 -0
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='tf2-sku-to-name',
|
5
|
-
version='1.0.
|
5
|
+
version='1.0.5',
|
6
6
|
author='Purple Barber',
|
7
7
|
description="A python library that parses TF2 item SKU to the item's name and vice versa.",
|
8
8
|
url='https://github.com/purplebarber/tf2-sku',
|
@@ -2,7 +2,7 @@ from json import dumps
|
|
2
2
|
|
3
3
|
|
4
4
|
class itemClass:
|
5
|
-
def __init__(self):
|
5
|
+
def __init__(self, data=None):
|
6
6
|
# Initialize the properties with their default values
|
7
7
|
self.Defindex = 0
|
8
8
|
self.Quality = 6
|
@@ -20,6 +20,11 @@ class itemClass:
|
|
20
20
|
self.Output = None
|
21
21
|
self.OutputQuality = None
|
22
22
|
|
23
|
+
# Update the properties with the provided data
|
24
|
+
if data is not None:
|
25
|
+
self.__dict__.update(data)
|
26
|
+
|
27
|
+
|
23
28
|
def __str__(self):
|
24
29
|
# Serialize the object to a JSON string
|
25
30
|
return dumps(self.__dict__)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{tf2-sku-to-name-1.0.4 → tf2-sku-to-name-1.0.5}/tf2_sku_to_name.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|