
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Field title and description being overridden for Enums. Β· Issue #1748 Β· pydantic/pydantic
Description:
Bug When using the Field() function with an Enum, I can set an alias, but if I try to set a title or description they are ignored for default values of both (the name of the Enum subclass for the title, and
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Video & Online Content
- TV
- Transportation
Content Management System {π}
What CMS is github.com built with?
Github.com uses 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,653,586 visitors per month in the current month.
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 5,316,011 paying customers.
The estimated monthly recurring revenue (MRR) is $22,327,244.
The estimated annual recurring revenues (ARR) are $267,926,929.
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 {π}
title, description, enum, pydantic, enums, issue, prettywood, field, support, custom, bug, default, added, featschema, mentioned, sign, type, commit, references, joshourisman, set, import, foo, bar, testenum, navigation, pull, requests, actions, security, overridden, closed, opened, enumeration, python, version, clang, class, functioningalias, related, free, comment, samuelcolvin, schema, github, projects, milestone, footer, skip, content,
Topics {βοΈ}
local/share/virtualenvs/forms-test-3of3wxzb/lib/python3 bd44f92 prettywood mentioned 74c8283 samuelcolvin closed propagate keyword arguments support custom title comment metadata assignees pydantic import basemodel set custom title pydantic v1 prettywood added pydantic version /users/joshourisman/ testenum = field import pydantic test share enum subclass enum fields field projects milestone milestone relationships opened feel free github foo = 'foo' type projects default values python 'bar'] pydantic alias='functioning_alias' title title=' {'title' support enum 'enum' schema basemodel 'testmodel' comment {'testenum' 'testenum' set ['foo' feat sign alias 'definitions' free
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Field title and description being overridden for Enums.
articleBody:# Bug
When using the Field() function with an Enum, I can set an alias, but if I try to set a title or description they are ignored for default values of both (the name of the Enum subclass for the title, and 'An enumeration' for the description).
Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`:
```
pydantic version: 1.6.1
pydantic compiled: True
install path: /Users/joshourisman/.local/share/virtualenvs/forms-test-3oF3wXzB/lib/python3.8/site-packages/pydantic
python version: 3.8.3 (default, Jun 30 2020, 11:16:06) [Clang 11.0.0 (clang-1100.0.33.8)]
platform: macOS-10.15.5-x86_64-i386-64bit
optional deps. installed: []
```
<!-- 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 enum import Enum
>>> from pydantic import BaseModel, Field
>>> class TestEnum(str, Enum):
... foo = 'foo'
... bar = 'bar'
>>> class TestModel(BaseModel):
... test: TestEnum = Field(alias='functioning_alias', title='I Will Be Ignored')
>>> TestModel.schema()
{'title': 'TestModel', 'type': 'object', 'properties': {'functioning_alias': {'$ref': '#/definitions/TestEnum'}}, 'required': ['functioning_alias'], 'definitions': {'TestEnum': {'title': 'TestEnum', 'description': 'An enumeration.', 'enum': ['foo', 'bar'], 'type': 'string'}}}
```
author:
url:https://github.com/joshourisman
type:Person
name:joshourisman
datePublished:2020-07-21T21:05:36.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:1
url:https://github.com/1748/pydantic/issues/1748
context:https://schema.org
headline:Field title and description being overridden for Enums.
articleBody:# Bug
When using the Field() function with an Enum, I can set an alias, but if I try to set a title or description they are ignored for default values of both (the name of the Enum subclass for the title, and 'An enumeration' for the description).
Output of `python -c "import pydantic.utils; print(pydantic.utils.version_info())"`:
```
pydantic version: 1.6.1
pydantic compiled: True
install path: /Users/joshourisman/.local/share/virtualenvs/forms-test-3oF3wXzB/lib/python3.8/site-packages/pydantic
python version: 3.8.3 (default, Jun 30 2020, 11:16:06) [Clang 11.0.0 (clang-1100.0.33.8)]
platform: macOS-10.15.5-x86_64-i386-64bit
optional deps. installed: []
```
<!-- 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 enum import Enum
>>> from pydantic import BaseModel, Field
>>> class TestEnum(str, Enum):
... foo = 'foo'
... bar = 'bar'
>>> class TestModel(BaseModel):
... test: TestEnum = Field(alias='functioning_alias', title='I Will Be Ignored')
>>> TestModel.schema()
{'title': 'TestModel', 'type': 'object', 'properties': {'functioning_alias': {'$ref': '#/definitions/TestEnum'}}, 'required': ['functioning_alias'], 'definitions': {'TestEnum': {'title': 'TestEnum', 'description': 'An enumeration.', 'enum': ['foo', 'bar'], 'type': 'string'}}}
```
author:
url:https://github.com/joshourisman
type:Person
name:joshourisman
datePublished:2020-07-21T21:05:36.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:1
url:https://github.com/1748/pydantic/issues/1748
Person:
url:https://github.com/joshourisman
name:joshourisman
url:https://github.com/joshourisman
name:joshourisman
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:1
interactionType:https://schema.org/CommentAction
userInteractionCount:1
External Links {π}(2)
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