Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotEq Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import django.conf settings rest_framework serializers status rest_framework.response Response sentry.api.bases.user UserEndpoint sentry.api.serializers serialize sentry.models User BaseUserSerializer N/A N/A serializers ModelSerializer N/A validate_username N/A N/A self attrs source N/A N/A N/A value N/A attrs N/A source N/A N/A N/A N/A N/A N/A N/A N/A User objects filter username__iexact value exclude id N/A N/A self object id exists N/A N/A N/A N/A serializers ValidationError That username is already in use. N/A attrs N/A validate N/A N/A self attrs N/A N/A N/A attrs N/A N/A N/A super BaseUserSerializer self validate attrs N/A N/A N/A N/A self object email N/A N/A self object username N/A N/A N/A N/A N/A attrs get username N/A N/A self object email N/A N/A self object email N/A N/A N/A N/A attrs setdefault email N/A attrs N/A username N/A attrs N/A restore_object N/A N/A self attrs instance N/A None N/A N/A instance N/A N/A N/A super BaseUserSerializer self restore_object attrs instance N/A N/A instance is_active N/A N/A attrs get isActive N/A instance is_active N/A instance N/A N/A UserSerializer N/A BaseUserSerializer N/A Meta N/A N/A N/A model User N/A fields N/A name username email N/A validate_username N/A N/A self attrs source N/A N/A N/A value N/A attrs N/A source N/A N/A N/A N/A N/A N/A N/A N/A User objects filter username__iexact value exclude id N/A N/A self object id exists N/A N/A N/A N/A serializers ValidationError That username is already in use. N/A attrs N/A validate N/A N/A self attrs N/A N/A N/A field N/A settings SENTRY_MANAGED_USER_FIELDS N/A N/A N/A N/A attrs pop field None N/A attrs N/A N/A N/A super UserSerializer self validate attrs N/A attrs N/A N/A AdminUserSerializer N/A BaseUserSerializer N/A N/A isActive N/A N/A serializers BooleanField source is_active Meta N/A N/A N/A model User N/A fields N/A name username isActive email N/A N/A UserDetailsEndpoint N/A UserEndpoint N/A get N/A N/A self request user N/A N/A N/A data N/A serialize user N/A request user N/A N/A Response data N/A put N/A N/A self request user N/A N/A N/A N/A N/A request is_superuser N/A N/A serializer_cls AdminUserSerializer N/A N/A serializer_cls UserSerializer N/A serializer N/A serializer_cls user data N/A request DATA partial True N/A N/A N/A serializer is_valid N/A N/A user N/A N/A serializer save N/A N/A Response N/A serialize user N/A request user N/A N/A Response N/A serializer errors status N/A status HTTP_400_BAD_REQUEST N/A N/A