<commit_before>from SteamLogin import SteamLogin
from utils import ignoreConnectionErrors


class Inventory(object):
    def __init__(self,Login,**kwargs):
        assert isinstance(Login,SteamLogin), "Login is not an instance of SteamLogin"
        self.Login = Login
        self.request = Login.request
        self.custom_url = kwargs.get('custom_url')
        self.steamID = kwargs.get('steamID')
        self.items = {}
    @ignoreConnectionErrors(echo=True) 
    def getInventory(self,appID,contextID,tradeable=True,**kwargs):
        update = kwargs.get('update')
        if update is None:
            if appID in self.items.keys():
                if contextID in self.items[appID].keys():<commit_msg>Removed rogue space on SteamInventory<commit_after>from SteamLogin import SteamLogin
from utils import ignoreConnectionErrors


class Inventory(object):
    def __init__(self,Login,**kwargs):
        assert isinstance(Login,SteamLogin), "Login is not an instance of SteamLogin"
        self.Login = Login
        self.request = Login.request
        self.custom_url = kwargs.get('custom_url')
        self.steamID = kwargs.get('steamID')
        self.items = {}
    @ignoreConnectionErrors(echo=True)
    def getInventory(self,appID,contextID,tradeable=True,**kwargs):
        update = kwargs.get('update')
        if update is None:
            if appID in self.items.keys():
                if contextID in self.items[appID].keys():
{'fraction_non_alphanumeric': 0.10380622837370242, 'fraction_numerical': 0.0, 'mean_word_length': 3.1314285714285712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1153327', 'n_tokens_mistral': 408, 'n_tokens_neox': 401, 'n_words': 97}