mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
15 lines
293 B
Python
15 lines
293 B
Python
"""TBD."""
|
|
|
|
|
|
class User(object):
|
|
"""User model."""
|
|
|
|
def __init__(self, id, api_client):
|
|
"""Initializer."""
|
|
self.id = id
|
|
self.api_client = api_client
|
|
|
|
def register(self):
|
|
"""Register user."""
|
|
self.api_client.call('register', {'id': self.id})
|