<commit_before>"""
byceps.services.attendance.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2019 <NAME>
:License: Modified BSD, see LICENSE for details.
"""

from attr import attrib, attrs

from ....services.seating.models.seat import Seat
from ....services.user.models.user import User


@attrs(slots=True)  # Not yet frozen b/c models are not immutable.
class Attendee:
    user = attrib(type=User)
    seat = attrib(type=Seat)
    checked_in = attrib(type=bool)<commit_msg>Use `dataclass` instead of `attr` for attendance model<commit_after>"""
byceps.services.attendance.transfer.models
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2019 <NAME>
:License: Modified BSD, see LICENSE for details.
"""

from dataclasses import dataclass

from ....services.seating.models.seat import Seat
from ....services.user.models.user import User


@dataclass  # Not yet frozen b/c models are not immutable.
class Attendee:
    user: User
    seat: Seat
    checked_in: bool
{'fraction_non_alphanumeric': 0.1875, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 4.668539325842697, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4643306', 'n_tokens_mistral': 330, 'n_tokens_neox': 302, 'n_words': 89}