|
12 | 12 | import http.client as http_client
|
13 | 13 | import json
|
14 | 14 | import logging
|
| 15 | + |
15 | 16 | import marshmallow as ma
|
| 17 | +from drift.blueprint import Blueprint, abort |
| 18 | +from drift.core.extensions.jwt import current_user, issue_token, split_token |
| 19 | +from drift.core.extensions.urlregistry import Endpoints |
| 20 | +from drift.utils import json_response |
16 | 21 | from flask import request, url_for, g, current_app
|
17 | 22 | from flask.views import MethodView
|
18 |
| -from drift.blueprint import Blueprint, abort |
19 | 23 | from flask_marshmallow.fields import AbsoluteURLFor
|
20 | 24 | from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
|
21 | 25 |
|
22 |
| -from drift.core.extensions.jwt import current_user, issue_token, split_token |
23 |
| -from drift.core.extensions.urlregistry import Endpoints |
24 |
| -from drift.utils import json_response |
25 | 26 | from driftbase.config import get_client_heartbeat_config
|
26 | 27 | from driftbase.models.db import (
|
27 | 28 | User, CorePlayer, Client, UserIdentity
|
@@ -64,8 +65,8 @@ class Meta:
|
64 | 65 | exclude = ()
|
65 | 66 |
|
66 | 67 | client_url = AbsoluteURLFor('clients.entry',
|
67 |
| - doc="Fully qualified URL of the client resource", |
68 |
| - client_id='<client_id>') |
| 68 | + doc="Fully qualified URL of the client resource", |
| 69 | + client_id='<client_id>') |
69 | 70 |
|
70 | 71 |
|
71 | 72 | class ClientPostRequestSchema(ma.Schema):
|
|
0 commit comments