-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'apexcharts' into develop
- Loading branch information
Showing
32 changed files
with
567 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
from _typeshed import Incomplete | ||
|
||
from flask import Response | ||
from flask.views import MethodView | ||
|
||
def abort(http_status_code, **kwargs) -> None: ... | ||
|
||
class Api: | ||
representations: Incomplete | ||
urls: Incomplete | ||
prefix: Incomplete | ||
default_mediatype: Incomplete | ||
decorators: Incomplete | ||
catch_all_404s: Incomplete | ||
serve_challenge_on_401: Incomplete | ||
url_part_order: Incomplete | ||
errors: Incomplete | ||
blueprint_setup: Incomplete | ||
endpoints: Incomplete | ||
resources: Incomplete | ||
app: Incomplete | ||
blueprint: Incomplete | ||
def __init__(self, app: Incomplete | None = ..., prefix: str = ..., default_mediatype: str = ..., decorators: Incomplete | None = ..., catch_all_404s: bool = ..., serve_challenge_on_401: bool = ..., url_part_order: str = ..., errors: Incomplete | None = ...) -> None: ... | ||
def init_app(self, app) -> None: ... | ||
def owns_endpoint(self, endpoint): ... | ||
def error_router(self, original_handler, e): ... | ||
def handle_error(self, e: Exception) -> Response: ... | ||
def mediatypes_method(self): ... | ||
def add_resource(self, resource, *urls, **kwargs) -> None: ... | ||
def resource(self, *urls, **kwargs): ... | ||
def output(self, resource): ... | ||
def url_for(self, resource, **values): ... | ||
def make_response(self, data, *args, **kwargs): ... | ||
def mediatypes(self): ... | ||
def representation(self, mediatype): ... | ||
def unauthorized(self, response): ... | ||
|
||
class Resource(MethodView): | ||
representations: Incomplete | ||
method_decorators: Incomplete | ||
def dispatch_request(self, *args, **kwargs): ... | ||
|
||
def marshal(data, fields, envelope: Incomplete | None = ...): ... | ||
|
||
class marshal_with: | ||
fields: Incomplete | ||
envelope: Incomplete | ||
def __init__(self, fields, envelope: Incomplete | None = ...) -> None: ... | ||
def __call__(self, f): ... | ||
|
||
class marshal_with_field: | ||
field: Incomplete | ||
def __init__(self, field) -> None: ... | ||
def __call__(self, f): ... |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
from _typeshed import Incomplete | ||
|
||
class MarshallingException(Exception): | ||
def __init__(self, underlying_exception) -> None: ... | ||
|
||
class Raw: | ||
attribute: Incomplete | ||
default: Incomplete | ||
def __init__(self, default: Incomplete | None = ..., attribute: Incomplete | None = ...) -> None: ... | ||
def format(self, value): ... | ||
def output(self, key, obj): ... | ||
|
||
class Nested(Raw): | ||
nested: Incomplete | ||
allow_null: Incomplete | ||
def __init__(self, nested, allow_null: bool = ..., **kwargs) -> None: ... | ||
def output(self, key, obj): ... | ||
|
||
class List(Raw): | ||
container: Incomplete | ||
def __init__(self, cls_or_instance, **kwargs) -> None: ... | ||
def format(self, value): ... | ||
def output(self, key, data): ... | ||
|
||
class String(Raw): | ||
def format(self, value): ... | ||
|
||
class Integer(Raw): | ||
def __init__(self, default: int = ..., **kwargs) -> None: ... | ||
def format(self, value): ... | ||
|
||
class Boolean(Raw): | ||
def format(self, value): ... | ||
|
||
class FormattedString(Raw): | ||
src_str: Incomplete | ||
def __init__(self, src_str) -> None: ... | ||
def output(self, key, obj): ... | ||
|
||
class Url(Raw): | ||
endpoint: Incomplete | ||
absolute: Incomplete | ||
scheme: Incomplete | ||
def __init__(self, endpoint: Incomplete | None = ..., absolute: bool = ..., scheme: Incomplete | None = ..., **kwargs) -> None: ... | ||
def output(self, key, obj): ... | ||
|
||
class Float(Raw): | ||
def format(self, value): ... | ||
|
||
class Arbitrary(Raw): | ||
def format(self, value): ... | ||
|
||
class DateTime(Raw): | ||
dt_format: Incomplete | ||
def __init__(self, dt_format: str = ..., **kwargs) -> None: ... | ||
def format(self, value): ... | ||
|
||
class Fixed(Raw): | ||
precision: Incomplete | ||
def __init__(self, decimals: int = ..., **kwargs) -> None: ... | ||
def format(self, value): ... | ||
Price = Fixed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
from _typeshed import Incomplete | ||
from calendar import timegm as timegm | ||
|
||
START_OF_DAY: Incomplete | ||
END_OF_DAY: Incomplete | ||
url_regex: Incomplete | ||
|
||
def url(value): ... | ||
|
||
class regex: | ||
pattern: Incomplete | ||
re: Incomplete | ||
def __init__(self, pattern, flags: int = ...) -> None: ... | ||
def __call__(self, value): ... | ||
def __deepcopy__(self, memo): ... | ||
|
||
def iso8601interval(value, argument: str = ...): ... | ||
def date(value): ... | ||
def natural(value, argument: str = ...): ... | ||
def positive(value, argument: str = ...): ... | ||
|
||
class int_range: | ||
low: Incomplete | ||
high: Incomplete | ||
argument: Incomplete | ||
def __init__(self, low, high, argument: str = ...) -> None: ... | ||
def __call__(self, value): ... | ||
|
||
def boolean(value): ... | ||
def datetime_from_rfc822(datetime_str): ... | ||
def datetime_from_iso8601(datetime_str): ... |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from _typeshed import Incomplete | ||
from flask_restful.utils import PY3 as PY3 | ||
|
||
def output_json(data, code, headers: Incomplete | None = ...): ... |
Oops, something went wrong.