aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-02 15:24:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 17:02:50 -0700
commit675ecb96fe0e51f169c2d01683f02205ef327825 (patch)
tree19be01afe2ddb0791368a1b9b5223deb3cba6d19 /python/fatcat_web
parente148fce040b874c7dd397cb22118a3c03b7f02d4 (diff)
downloadfatcat-675ecb96fe0e51f169c2d01683f02205ef327825.tar.gz
fatcat-675ecb96fe0e51f169c2d01683f02205ef327825.zip
cleanup imports after fatcat_tools.transforms change
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/forms.py26
1 files changed, 21 insertions, 5 deletions
diff --git a/python/fatcat_web/forms.py b/python/fatcat_web/forms.py
index 2757ebd2..b432ac16 100644
--- a/python/fatcat_web/forms.py
+++ b/python/fatcat_web/forms.py
@@ -7,13 +7,29 @@ but can't find one that is actually maintained.
import datetime
import toml
+from fatcat_openapi_client import (
+ ContainerEntity,
+ FileEntity,
+ FileUrl,
+ ReleaseContrib,
+ ReleaseEntity,
+ ReleaseExtIds,
+)
from flask_wtf import FlaskForm
-from wtforms import SelectField, DateField, StringField, IntegerField, \
- HiddenField, FormField, FieldList, validators, ValidationError, TextAreaField
+from wtforms import (
+ DateField,
+ FieldList,
+ FormField,
+ HiddenField,
+ IntegerField,
+ SelectField,
+ StringField,
+ TextAreaField,
+ ValidationError,
+ validators,
+)
-from fatcat_tools import entity_to_toml
-from fatcat_openapi_client import ContainerEntity, FileEntity, \
- ReleaseEntity, ReleaseContrib, FileUrl, ReleaseExtIds
+from fatcat_tools.transforms import entity_to_toml
release_type_options = [
('', 'Unknown (blank)'),