-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add type checks and typing #38
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #38 +/- ##
==========================================
+ Coverage 51.13% 52.74% +1.60%
==========================================
Files 9 9
Lines 440 474 +34
==========================================
+ Hits 225 250 +25
- Misses 215 224 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
6b122e6
to
fef7600
Compare
a69ca2b
to
61e2042
Compare
bf2b954
to
360fc0c
Compare
7b5d97f
to
0c96949
Compare
@@ -55,10 +59,10 @@ class and ``bind_engine`` function. | |||
class classproperty: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's problematic to type it properly. Maybe it could be rewritten from the properties actually...
"""Get human readable name, e.g.: `Foo Bar`.""" | ||
return Column(Unicode(cls._max_slug_length), nullable=False) | ||
|
||
def set_slug( | ||
self, | ||
candidate=None, | ||
gen_digest=generate_random_digest, | ||
inspect=sa_inspect, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simplify outside of this pr
gen_digest=generate_random_digest, | ||
inspect=sa_inspect, | ||
session=Session, | ||
to_slug=slugify.slugify, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this as well
e08982c
to
563d74f
Compare
No description provided.