<commit_before>from teryt_tree.models import JednostkaAdministracyjna
from django.core.urlresolvers import reverse
from cached_property import cached_property

class JST(JednostkaAdministracyjna):

    @cached_property
    def institution_area(self):
        return self.institution_set.model.objects.area(self).all()

    def get_absolute_url(self):
        return reverse('teryt:details', kwargs={'slug': self.slug})

    class Meta:
        proxy = True<commit_msg>PEP8 fix<commit_after>from teryt_tree.models import JednostkaAdministracyjna
from django.core.urlresolvers import reverse
from cached_property import cached_property


class JST(JednostkaAdministracyjna):

    @cached_property
    def institution_area(self):
        return self.institution_set.model.objects.area(self).all()

    def get_absolute_url(self):
        return reverse('teryt:details', kwargs={'slug': self.slug})

    class Meta:
        proxy = True
{'fraction_non_alphanumeric': 0.08583690987124463, 'fraction_numerical': 0.001072961373390558, 'mean_word_length': 4.586826347305389, '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': '798546', 'n_tokens_mistral': 279, 'n_tokens_neox': 281, 'n_words': 58}