
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
conbytes doesn't accept `strict` option Β· Issue #2489 Β· pydantic/pydantic
Description:
Checks I added a descriptive title to this issue I have searched (google, github) for similar issues and couldn't find anything I have read and followed the docs and still think this is a bug B...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Video & Online Content
- Social Networks
Content Management System {π}
What CMS is github.com built with?
Github.com is based on WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
pydantic, conbytes, bug, strict, sign, issue, accept, koxudaxi, github, python, import, file, line, navigation, issues, pull, requests, actions, security, doesnt, option, closed, added, docs, output, pydanticutils, printpydanticutilsversioninfo, version, clang, class, modelbasemodel, data, conbytesstricttrue, userskoudaipycharmprojectspythonprojectmainpy, argument, related, type, projects, milestone, footer, skip, content, menu, product, solutions, resources, open, source, enterprise, pricing,
Topics {βοΈ}
/users/koudai/library/caches/pypoetry/virtualenvs/pythonproject10-aaxggrf_-py3 /users/koudai/pycharmprojects/pythonproject10/main comment metadata assignees personal information conbytes similar issues pydantic v1 koxudaxi mentioned pydantic import basemodel pydantic version strict=true docs import pydantic strict field conbytes typeerror issue output traceback pydantic/types added descriptive title 9/lib/python3 ['email-validator' 'typing-extensions'] recent call projects milestone milestone relationships type projects strict conbytes argument pydantic github python basemodel data types type sign skip jump searched google find read utils print version_info v3 9cf6752276 [clang 6 clang-600
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:conbytes doesn't accept `strict` option
articleBody:### Checks
* [x] I added a descriptive title to this issue
* [x] I have searched (google, github) for similar issues and couldn't find anything
* [x] I have read and followed [the docs](https://pydantic-docs.helpmanual.io/) and still think this is a bug
<!-- Sorry to sound so draconian, but every second saved replying to issues is time spend improving pydantic :-) -->
# Bug
Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`:
```
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
pydantic version: 1.8.1
pydantic compiled: True
install path: /Users/koudai/Library/Caches/pypoetry/virtualenvs/pythonproject10-AaXGgRf_-py3.9/lib/python3.9/site-packages/pydantic
python version: 3.9.0 (v3.9.0:9cf6752276, Oct 5 2020, 11:29:23) [Clang 6.0 (clang-600.0.57)]
platform: macOS-10.15.7-x86_64-i386-64bit
optional deps. installed: ['email-validator', 'typing-extensions']
```
<!-- or if you're using pydantic prior to v1.3, manually include: OS, python version and pydantic version -->
<!-- Please read the [docs](https://pydantic-docs.helpmanual.io/) and search through issues to
confirm your bug hasn't already been reported. -->
<!-- Where possible please include a self-contained code snippet describing your bug: -->
```py
from pydantic import BaseModel, conbytes
class Model(BaseModel):
data: conbytes(strict=True)
...
```
Output
```py
Traceback (most recent call last):
File "/Users/koudai/PycharmProjects/pythonProject10/main.py", line 4, in <module>
class Model(BaseModel):
File "/Users/koudai/PycharmProjects/pythonProject10/main.py", line 5, in Model
data: conbytes(strict=True)
File "pydantic/types.py", line 340, in pydantic.types.conbytes
TypeError: conbytes() got an unexpected keyword argument 'strict'
```
`conbytes` is supposed to accept `strict=True`
Becuse `ConstrainedBytes` has `strict` field.
I will create a PR.
author:
url:https://github.com/koxudaxi
type:Person
name:koxudaxi
datePublished:2021-03-07T15:13:21.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:0
url:https://github.com/2489/pydantic/issues/2489
context:https://schema.org
headline:conbytes doesn't accept `strict` option
articleBody:### Checks
* [x] I added a descriptive title to this issue
* [x] I have searched (google, github) for similar issues and couldn't find anything
* [x] I have read and followed [the docs](https://pydantic-docs.helpmanual.io/) and still think this is a bug
<!-- Sorry to sound so draconian, but every second saved replying to issues is time spend improving pydantic :-) -->
# Bug
Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`:
```
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
pydantic version: 1.8.1
pydantic compiled: True
install path: /Users/koudai/Library/Caches/pypoetry/virtualenvs/pythonproject10-AaXGgRf_-py3.9/lib/python3.9/site-packages/pydantic
python version: 3.9.0 (v3.9.0:9cf6752276, Oct 5 2020, 11:29:23) [Clang 6.0 (clang-600.0.57)]
platform: macOS-10.15.7-x86_64-i386-64bit
optional deps. installed: ['email-validator', 'typing-extensions']
```
<!-- or if you're using pydantic prior to v1.3, manually include: OS, python version and pydantic version -->
<!-- Please read the [docs](https://pydantic-docs.helpmanual.io/) and search through issues to
confirm your bug hasn't already been reported. -->
<!-- Where possible please include a self-contained code snippet describing your bug: -->
```py
from pydantic import BaseModel, conbytes
class Model(BaseModel):
data: conbytes(strict=True)
...
```
Output
```py
Traceback (most recent call last):
File "/Users/koudai/PycharmProjects/pythonProject10/main.py", line 4, in <module>
class Model(BaseModel):
File "/Users/koudai/PycharmProjects/pythonProject10/main.py", line 5, in Model
data: conbytes(strict=True)
File "pydantic/types.py", line 340, in pydantic.types.conbytes
TypeError: conbytes() got an unexpected keyword argument 'strict'
```
`conbytes` is supposed to accept `strict=True`
Becuse `ConstrainedBytes` has `strict` field.
I will create a PR.
author:
url:https://github.com/koxudaxi
type:Person
name:koxudaxi
datePublished:2021-03-07T15:13:21.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:0
url:https://github.com/2489/pydantic/issues/2489
Person:
url:https://github.com/koxudaxi
name:koxudaxi
url:https://github.com/koxudaxi
name:koxudaxi
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:0
interactionType:https://schema.org/CommentAction
userInteractionCount:0
External Links {π}(3)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net