removed unused imports; formatting
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import requests
|
||||
import functools
|
||||
import json
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from .authmixin import AuthMixin, AuthError, HEADER_JSON
|
||||
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import functools
|
||||
from typing import TypeVar, Union, List, Type, get_type_hints
|
||||
|
||||
from .authmixin import AuthMixin, AuthError, HEADER_JSON
|
||||
from .authmixin import AuthError, HEADER_JSON
|
||||
from .httpclient import HttpClient
|
||||
from .snippet import Snippet, Basesnippet, Paragraph
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import functools
|
||||
from typing import Type, get_type_hints, TypeVar
|
||||
from typing import get_type_hints
|
||||
|
||||
|
||||
def typechecked(func):
|
||||
@ -91,10 +91,12 @@ class Basesnippet(Snippet):
|
||||
defaultOrder=int,
|
||||
linkType=str,
|
||||
versionable=bool,
|
||||
deleted=bool)
|
||||
deleted=bool
|
||||
)
|
||||
self.snippetType = "basesnippet"
|
||||
|
||||
|
||||
|
||||
class Paragraph(Basesnippet):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
Reference in New Issue
Block a user