Deprecations
Deprecated import locations
The following functions / types have been moved to a more specific package (authenticator -> django).
-
Importing from
application_kit.authenticator.decoratorsis deprecated, you can find decorators inapplication_kit.django.decoratorsfor functions that do not depend on django seeapplication_kit.authenticator.base. -
Importing from
application_kit.authenticator.middlewaresis deprecated you can find those in ' application_kit.django.middlewares'. -
In
application_kit.authenticator.typesthe following have been moved toapplication_kit.django.request:- get_project_reference
- set_project_reference
- get_project_token
- set_project_token
- get_readable_token
- get_token
- set_token
-
In
application_kit.authenticator.typesthe following have been moved toapplication_kit.django.types:- GenericViewCallable
- GenericViewDecorator
-
In
application_kit.queue.utilsget_source_from_headerhas been moved toapplication_kit.django.utils. -
In
application_kit.metrics.decoratorthe following have been moved toapplication_kit.django.decorators:- CounterNameLambda
- OrganizationLambda
- ProjectLambda
- count_request
-
In
application_kit.metrics.decoratorthe following have been moved toapplication_kit.metrics.queue:- add_job_to_metrics_queue
- build_job_data
- get_organization_for_job
- queue_configuration
Pending removal
-
@permission_classesdecorator is deprecated for public or private key authentication. see@authenticate_keydecorator instead. -
application_kit.authenticator.middlewares.DjangoAuthenticatoris superseded bydjango.middlewares.ApplicationKitApiMiddleware. -
get_readable_tokenis deprecated seeget_token -
organization_from_tokenis deprecated useget_organization_for_job