<commit_before>from .rest import Resource, RestApi


class Metwit(RestApi):
    #base_url = "https://api.metwit.com/"
    #token_url = 'https://api.metwit.com/token/'
    dialog_url = "https://metwit.com/oauth/authorize/"
    base_url = "http://127.0.0.1:8000/"
    token_url = 'http://127.0.0.1:8000/token/'

    weather = Resource('/v2/weather/')
    metags = Resource('/v2/metags/')
    users = Resource('/v2/users/')<commit_msg>set Metwit base url to api.metwit.com<commit_after>from .rest import Resource, RestApi


class Metwit(RestApi):
    base_url = "https://api.metwit.com/"
    token_url = 'https://api.metwit.com/token/'
    dialog_url = "https://metwit.com/oauth/authorize/"

    weather = Resource('/v2/weather/')
    metags = Resource('/v2/metags/')
    users = Resource('/v2/users/')
{'fraction_non_alphanumeric': 0.18648310387984982, 'fraction_numerical': 0.03254067584480601, 'mean_word_length': 3.18848167539267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '867555', 'n_tokens_mistral': 314, 'n_tokens_neox': 297, 'n_words': 46}