Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
shoya shiraki committed Mar 31, 2020
1 parent d7c8df2 commit 0b9ec92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion timetree_sdk/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
EventCommentResponse,
Event,
EventData,
EventAtributes,
EventAttributes,
EventRelationships,
EventRelationshipsLabel,
EventRelationshipsLabelData,
Expand Down
2 changes: 1 addition & 1 deletion timetree_sdk/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .events import (
Event,
EventData,
EventAtributes,
EventAttributes,
EventRelationships,
EventRelationshipsLabel,
EventRelationshipsLabelData,
Expand Down
6 changes: 3 additions & 3 deletions timetree_sdk/models/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ def __init__(self, attributes=None, relationships=None):

super(EventData, self).__init__()

self.attributes = self.get_or_new_from_json_dict(attributes, EventAtributes)
self.attributes = self.get_or_new_from_json_dict(attributes, EventAttributes)
self.relationships = self.get_or_new_from_json_dict(relationships, EventRelationships)


class EventAtributes(Base):
class EventAttributes(Base):
def __init__(self, title=None, category=None, all_day=None, start_at=None, start_timezone=None, end_at=None, end_timezone=None, description=None, location=None, url=None, relationships=None):

super(EventAtributes, self).__init__()
super(EventAttributes, self).__init__()

self.title = title
self.category = category
Expand Down

0 comments on commit 0b9ec92

Please sign in to comment.