code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class MonitorManagementClient: <NEW_LINE> <INDENT> def __init__( self, credential: "TokenCredential", subscription_id: str, base_url: str = "https://management.azure.com", **kwargs: Any ) -> None: <NEW_LINE> <INDENT> self._config = MonitorManagementClientConfiguration(credential=credential, subscription_id=subscription...
Monitor Management Client. :ivar activity_log_alerts: ActivityLogAlertsOperations operations :vartype activity_log_alerts: $(python-base-namespace).v2020_10_01.operations.ActivityLogAlertsOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.Toke...
62598fa992d797404e388b0c
class OracleTablespace(Database): <NEW_LINE> <INDENT> ZENPACKID = 'ZenPacks.community.OracleMon' <NEW_LINE> statusmap ={1: ('grey', 3, 'Unknown'), 2: ('green', 0, 'ONLINE'), 3: ('yellow',3 ,'Available'), 4: ('orange', 4, 'OFFLINE'), 5: ('red', 5, 'INVALID'), } <NEW_LINE> def totalBytes(self): <NEW_LINE> <INDENT> return...
Oracel Tablespace object
62598fa9dd821e528d6d8e84
class NoMessages(IMAPClientError): <NEW_LINE> <INDENT> pass
Indicates there are no messages to operate on.
62598fa94a966d76dd5eee31
class SnapshotMemorySwitch(Widget, ClickableMixin): <NEW_LINE> <INDENT> ROOT = '//div[contains(@class, "bootstrap-switch-snap_memory")]' <NEW_LINE> ON_LOCATOR = './/div[contains(@class, "bootstrap-switch-on")]' <NEW_LINE> @property <NEW_LINE> def is_set(self): <NEW_LINE> <INDENT> return bool(self.browser.elements(self....
This replaces the old-style checkbox when working with snapshot memory. At first glance on the page it looks like a BootstrapSwitch but it really isn't. Basic switch controls are implemented here along with fill and read methods, so this should be usable as any other widget.
62598fa9498bea3a75a57a6c
class DBStoredFile(Base): <NEW_LINE> <INDENT> __tablename__ = "blobs" <NEW_LINE> id = Column(Integer(), primary_key=True) <NEW_LINE> file_id = Column(String(36), index=True) <NEW_LINE> filename = Column(Unicode(100)) <NEW_LINE> content_type = Column(String(100)) <NEW_LINE> content_length = Column(Integer()) <NEW_LINE> ...
:class:`depot.io.interfaces.StoredFile` implementation that stores file data in SQL database. Can be used together with :class:`kotti.filedepot.DBFileStorage` to implement blobs storage in the database.
62598fa9a79ad16197769fb3
class MetaGaussianNBayesClassifier(BaseClassifier): <NEW_LINE> <INDENT> def __init__(self, priors=None): <NEW_LINE> <INDENT> self.name = 'gaussian_nb' <NEW_LINE> self.max_n_iter = 0 <NEW_LINE> self.init_params = {} <NEW_LINE> self.init_params['priors'] = priors <NEW_LINE> self.estimator = self._get_clf() <NEW_LINE> sel...
Docstring: Gaussian naive bayes classifier
62598fa98e71fb1e983bba01
class SignInViewSetTest(APITestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.password = 'testpassword' <NEW_LINE> self.user = User.objects.create( email='example@mail.com', login='testlogin', password=self.password ) <NEW_LINE> self.user.set_password(self.password) <NEW_LINE> self.user.save() <NE...
Tests for sign in viewset class.
62598fa95fdd1c0f98e5dee7
class CompositeCV(object): <NEW_LINE> <INDENT> def __init__(self, trainx, trainy, testx, cv=5): <NEW_LINE> <INDENT> super(CompositeCV, self).__init__() <NEW_LINE> assert len(trainx) == len(trainy) <NEW_LINE> assert len(trainx[0]) == len(testx[0]) <NEW_LINE> self.__trainx = trainx <NEW_LINE> self.__trainy = trainy <NEW_...
Composite predictor Only adds if improves cv score
62598fa9f9cc0f698b1c5270
class TestStringTokenizerCase(TestCase): <NEW_LINE> <INDENT> def test_tokenizer_test(self): <NEW_LINE> <INDENT> text = "This is a test -This -is -NOT -a -test" <NEW_LINE> includes, excludes = get_text_tokenizer(text) <NEW_LINE> self.assertEquals('-'.join(includes), "This-is-a-test") <NEW_LINE> self.assertEquals('-'.joi...
Tokenizer Test
62598fa9236d856c2adc93e4
class Campaign(Entity): <NEW_LINE> <INDENT> collection = 'campaigns' <NEW_LINE> resource = 'campaign' <NEW_LINE> _relations = { 'advertiser', 'ad_server', 'currency', 'merit_pixel', 'time_zone', } <NEW_LINE> _conv = Entity._enum({'every', 'one', 'variable'}, 'variable') <NEW_LINE> _freq_ints = Entity._enum({'hour', 'da...
Campaign entity. When creating a new campaign, "zone_name" must be set to the name, such as America/New_York, rather than the code. A list of time zone names can be found on the developer portal.
62598fa938b623060ffa8fe7
class User(object): <NEW_LINE> <INDENT> def __init__(self, id, known_value=None, neg_weight=1.0, pos_weight=1.5): <NEW_LINE> <INDENT> self.id = id <NEW_LINE> self.initial_pos_weight = pos_weight <NEW_LINE> self.initial_neg_weight = neg_weight <NEW_LINE> self.known_value = known_value <NEW_LINE> self.inferred_value = kn...
Class representing a user. See VotingGraph for general comments.
62598fa94e4d562566372374
class AddDealerForm(FlaskForm): <NEW_LINE> <INDENT> name = StringField('Название', validators=[DataRequired()]) <NEW_LINE> address = StringField('Адрес фермы', validators=[DataRequired()]) <NEW_LINE> submit = SubmitField('Добавить породу')
Добавление дилерского центра
62598fa9e1aae11d1e7ce7cb
class BlogHandler(webapp2.RequestHandler): <NEW_LINE> <INDENT> def get_posts(self, limit, offset): <NEW_LINE> <INDENT> query = Post.all().order('-created') <NEW_LINE> return query.fetch(limit=limit, offset=offset) <NEW_LINE> <DEDENT> def get_posts_by_user(self, user, limit, offset): <NEW_LINE> <INDENT> query = Post.all...
Utility class for gathering various useful methods that are used by most request handlers
62598fa9435de62698e9bd45
class Plan(object): <NEW_LINE> <INDENT> def __init__(self, kwds={}): <NEW_LINE> <INDENT> self.do_py = kwds.pop('py', False) <NEW_LINE> self.do_json = kwds.pop('json', True) or self.do_py <NEW_LINE> self.do_icy = kwds.pop('icy', True) or self.do_json <NEW_LINE> self.enabled = [self.do_icy, self.do_json, self.do_py] <NEW...
Represents a compilation plan. Describes the sequence of steps that must be performed and the functions that implement them.
62598fa9bd1bec0571e1506b
class Blacklist_Category(Resource): <NEW_LINE> <INDENT> def __init__(self, blacklist_categorys): <NEW_LINE> <INDENT> super(Blacklist_Category, self).__init__(blacklist_categorys) <NEW_LINE> self._meta_data['required_json_kind'] = 'tm:security:ip-intelligence:blacklist-category:blacklist-categorystate' <NEW_L...
BIG-IP® AFM® IP-Intelligence Blacklist Category resource
62598fa9851cf427c66b8218
class UserLogin(generics.ListCreateAPIView): <NEW_LINE> <INDENT> def post(self, request, *args, **kwargs): <NEW_LINE> <INDENT> email = request.data['email'] <NEW_LINE> password = request.data['password'] <NEW_LINE> user = authenticate(username=email, password=password) <NEW_LINE> if not user: <NEW_LINE> <INDENT> return...
Users Login api
62598fa9b7558d589546357f
class UpBow(Bowing): <NEW_LINE> <INDENT> pass
>>> a = articulations.UpBow()
62598fa94f88993c371f04b2
class COLINSolver(OptSolver): <NEW_LINE> <INDENT> def __init__(self, **kwds): <NEW_LINE> <INDENT> OptSolver.__init__(self,**kwds) <NEW_LINE> self._valid_problem_formats=[ProblemFormat.colin_optproblem] <NEW_LINE> self._valid_result_formats = {} <NEW_LINE> self._valid_result_formats[ProblemFormat.colin_optproblem] = [Re...
An optimizer that can optimize the pyomo.opt.colin.problem.OptProblem object
62598fa94428ac0f6e658473
class Empty_Popup(ModalView): <NEW_LINE> <INDENT> popup_object = ObjectProperty(None) <NEW_LINE> def __init__(self, popup_object): <NEW_LINE> <INDENT> super(Empty_Popup, self).__init__() <NEW_LINE> self.popup_object = popup_object <NEW_LINE> self.add_widget(self.popup_object) <NEW_LINE> <DEDENT> def show(self): <NEW_LI...
docstring for Empty_Popup
62598fa9be8e80087fbbefb3
class DocTestMixedParser(doctest.DocTestParser): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.pyparser = doctest.DocTestParser() <NEW_LINE> self.jsparser = DocTestJSParser() <NEW_LINE> self.javascript_remote_session = JavascriptSession(JS_SESSION_ADDRESS) <NEW_LINE> <DEDENT> def get_doctest(self, st...
This object will parse python and javascript code and will keep track of which type is each source code. Then, all the tests are mixed and sorted so their order match the lexical order in which the tests were found during the parsing stage.
62598fa97d43ff24874273aa
class multipleChoice(Question): <NEW_LINE> <INDENT> def __init__(self, question_ID, module, topic, questionText, correctAnswer, marks, incorrectAnswerMarks, options): <NEW_LINE> <INDENT> super().__init__(question_ID, module, topic, questionText, correctAnswer, marks, incorrectAnswerMarks) <NEW_LINE> self._options = opt...
Class to represent a Multiple Choice Question
62598fa999cbb53fe6830e26
class DoubleSidedSet(OrderedSet): <NEW_LINE> <INDENT> def add(self, key): <NEW_LINE> <INDENT> if key not in self._map: <NEW_LINE> <INDENT> self._map[key] = link = Link() <NEW_LINE> root = self._root <NEW_LINE> last = root.next <NEW_LINE> link.next, link.prev, link.key = last, root, key <NEW_LINE> last.prev = root.next ...
Set that remembers order, pops from the furthermost right, and appends to the most left
62598fa9435de62698e9bd46
class StartMainFuelCurve(Curve): <NEW_LINE> <INDENT> def __init__(self, mainFuelType="lignite", StartupModel=None, *args, **kw_args): <NEW_LINE> <INDENT> self.mainFuelType = mainFuelType <NEW_LINE> self._StartupModel = None <NEW_LINE> self.StartupModel = StartupModel <NEW_LINE> super(StartMainFuelCurve, self).__init__(...
The quantity of main fuel (Y-axis) used to restart and repay the auxiliary power consumed versus the number of hours (X-axis) the unit was off line
62598fa96e29344779b005ac
class Security(object): <NEW_LINE> <INDENT> def __init__(self, ticker: str, intraday_prices: pd.DataFrame=None, daily_prices: pd.DataFrame=None, output: str='compact'): <NEW_LINE> <INDENT> self.ticker = ticker <NEW_LINE> self.intraday_prices = intraday_prices <NEW_LINE> self.daily_prices = daily_prices <NEW_LINE> <DEDE...
security with historical intraday and daily price data
62598fa9cc0a2c111447af61
class TranslatedAttribute(BaseDescriptor): <NEW_LINE> <INDENT> def __init__(self, opts, name): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> super(TranslatedAttribute, self).__init__(opts) <NEW_LINE> <DEDENT> def __get__(self, instance, instance_type=None): <NEW_LINE> <INDENT> if not instance: <NEW_LINE> <INDENT> if ...
Proxies attributes from the shared instance to the translated instance.
62598fa9167d2b6e312b6ec1
class FilesRequest(APIRequest): <NEW_LINE> <INDENT> url = "https://cloud-api.yandex.net/v1/disk/resources/files" <NEW_LINE> method = "GET" <NEW_LINE> def __init__(self, session, offset=0, limit=20, media_type=None, preview_size=None, preview_crop=None, sort=None, fields=None, **kwargs): <NEW_LINE> <INDENT> APIRequest._...
A request to get a flat list of all files (that doesn't include directories). :param session: an instance of :any:`requests.Session` with prepared headers :param offset: offset from the beginning of the list :param limit: number of list elements to be included :param media_type: type of files to include in the list :p...
62598fa966673b3332c3031b
class AuthSSH(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def login(username, password): <NEW_LINE> <INDENT> client = SSHClient() <NEW_LINE> client.load_system_host_keys() <NEW_LINE> client.set_missing_host_key_policy(WarningPolicy()) <NEW_LINE> try: <NEW_LINE> <INDENT> client.connect('localhost', username=us...
Class for sign in the user with system user
62598fa94a966d76dd5eee33
class MockedBackend(Backend): <NEW_LINE> <INDENT> version = '0.2.0' <NEW_LINE> CATEGORY = "mock_item" <NEW_LINE> ITEMS = 5 <NEW_LINE> def __init__(self, origin, tag=None, archive=None): <NEW_LINE> <INDENT> super().__init__(origin, tag=tag, archive=archive) <NEW_LINE> self._fetch_from_archive = False <NEW_LINE> <DEDENT>...
Mocked backend for testing
62598fa96aa9bd52df0d4e19
class RoiPoolingConv(Layer): <NEW_LINE> <INDENT> def __init__(self, pool_size, num_rois, **kwargs): <NEW_LINE> <INDENT> self.dim_ordering = K.common.image_dim_ordering() <NEW_LINE> self.pool_size = pool_size <NEW_LINE> self.num_rois = num_rois <NEW_LINE> super(RoiPoolingConv, self).__init__(**kwargs) <NEW_LINE> <DEDENT...
ROI pooling layer for 2D inputs. See Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition, K. He, X. Zhang, S. Ren, J. Sun # Arguments pool_size: int Size of pooling region to use. pool_size = 7 will result in a 7x7 region. num_rois: number of regions of interest to be used # In...
62598fa9498bea3a75a57a6e
class subMessageTypeType (pyxb.binding.datatypes.token): <NEW_LINE> <INDENT> _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'subMessageTypeType') <NEW_LINE> _XSDLocation = pyxb.utils.utility.Location('http://www.ech.ch/xmlns/eCH-0058/3/eCH-0058-3-0.xsd', 91, 1) <NEW_LINE> _Documentation = None
An atomic simple type.
62598fa932920d7e50bc5fa6
class FlaskConfig(object): <NEW_LINE> <INDENT> DEBUG = True <NEW_LINE> SECRET_KEY = u'j,*()PL<NERTYSD@#$%^'
Flask app 配置
62598fa9462c4b4f79dbb95e
class Normal(D.Normal): <NEW_LINE> <INDENT> def mode(self): <NEW_LINE> <INDENT> return self.mean <NEW_LINE> <DEDENT> def log_prob(self, ac): <NEW_LINE> <INDENT> return super().log_prob(ac).sum(-1) <NEW_LINE> <DEDENT> def entropy(self): <NEW_LINE> <INDENT> return super().entropy().sum(-1) <NEW_LINE> <DEDENT> def kl(self...
Normal Distribution.
62598fa960cbc95b0636429e
class DiscussionAddNoteCmd(Command): <NEW_LINE> <INDENT> def get_title(my): <NEW_LINE> <INDENT> return "Added a note" <NEW_LINE> <DEDENT> def execute(my): <NEW_LINE> <INDENT> search_key = my.kwargs.get("search_key") <NEW_LINE> sobject = Search.get_by_search_key(search_key) <NEW_LINE> ticket = my.kwargs.get('ticket') <N...
this is the UI to add note when someone clicks on the + button. It does not contain the + button
62598fa9097d151d1a2c0f7a
class Community(): <NEW_LINE> <INDENT> def __init__(self, bot): <NEW_LINE> <INDENT> self.bot = bot <NEW_LINE> self._source_url = "https://github.com/F4stZ4p/BadBot" <NEW_LINE> <DEDENT> @property <NEW_LINE> def source_url(self): <NEW_LINE> <INDENT> return self._source_url <NEW_LINE> <DEDENT> @commands.command() <NEW_LIN...
Commands for The Bad Server community
62598fa944b2445a339b6918
class MockResponse: <NEW_LINE> <INDENT> def __init__(self, json_data): <NEW_LINE> <INDENT> self.json_data = json_data <NEW_LINE> <DEDENT> def json(self): <NEW_LINE> <INDENT> return self.json_data <NEW_LINE> <DEDENT> @property <NEW_LINE> def ok(self): <NEW_LINE> <INDENT> return True
Class to mock requests.Response objects, feel free to adjust it to match the use case
62598fa9925a0f43d25e7f90
class _DefinitionsMerger(object): <NEW_LINE> <INDENT> _MAX_NUM_FILE_NAMES = 5 <NEW_LINE> def merge(self, first, second): <NEW_LINE> <INDENT> if (not isinstance(first, VcfHeaderDefinitions) or not isinstance(first, VcfHeaderDefinitions)): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> self._merge_defi...
Class for merging two ``VcfHeaderDefinitions``s.
62598fa97047854f4633f32a
class Solution41: <NEW_LINE> <INDENT> def first_missing_positive(self, nums: List[int]) -> int: <NEW_LINE> <INDENT> size = len(nums) <NEW_LINE> for i in range(size): <NEW_LINE> <INDENT> while 1 <= nums[i] <= size and nums[i] != nums[nums[i] - 1]: <NEW_LINE> <INDENT> self.swap(nums, i, nums[i] - 1) <NEW_LINE> <DEDENT> <...
41. 缺失的第一个正数 https://leetcode-cn.com/problems/first-missing-positive/ 给你一个未排序的整数数组 nums ,请你找出其中没有出现的最小的正整数。 请你实现时间复杂度为 O(n) 并且只使用常数级别额外空间的解决方案。 输入:nums = [1,2,0] 输出:3 输入:nums = [3,4,-1,1] 输出:2
62598fa9460517430c432005
class GerritAccessor(object): <NEW_LINE> <INDENT> def __init__(self, host): <NEW_LINE> <INDENT> self.host = host <NEW_LINE> self.cache = {} <NEW_LINE> <DEDENT> def _FetchChangeDetail(self, issue): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return gerrit_util.GetChangeDetail( self.host, str(issue), ['ALL_REVISIONS', '...
Limited Gerrit functionality for canned presubmit checks to work. To avoid excessive Gerrit calls, caches the results.
62598fa92ae34c7f260ab033
class Subtree(TreeElement, TreeMixin): <NEW_LINE> <INDENT> def __init__(self, branch_length=None, name=None, clades=None): <NEW_LINE> <INDENT> self.clades = clades or [] <NEW_LINE> self.name = name <NEW_LINE> self.branch_length = branch_length <NEW_LINE> <DEDENT> @property <NEW_LINE> def root(self): <NEW_LINE> <INDENT>...
A recursively defined subtree. @param branch_length: The length of the branch leading to the root node of this subtree. @type branch_length: str @param label: The label of a node. @type label: str @param clades: Sub-trees rooted directly under this tree's root. @type clades: list
62598fa93317a56b869be4f3
class LoadManifestTest(cros_test_lib.TempDirTestCase): <NEW_LINE> <INDENT> manifest_content = ( '<?xml version="1.0" ?><manifest>' '<pending_commit branch="master" ' 'change_id="Ieeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1" ' 'commit="1ddddddddddddddddddddddddddddddddddddddd" ' 'fail_count="2" gerrit_number="17000" owner_...
Tests loading the manifest.
62598fa94f6381625f199467
class Phase(Enum): <NEW_LINE> <INDENT> degrees = "DEG" <NEW_LINE> radians = "RAD" <NEW_LINE> group_delay = "GROUPD"
Enum containing valid phase units for a math channel on the TekDPO70000 series oscilloscope.
62598fa9cb5e8a47e493c121
class KrakenCrawler(CrawlerBase): <NEW_LINE> <INDENT> expected_name = 'Kraken' <NEW_LINE> def __init__(self, exchange): <NEW_LINE> <INDENT> super().__init__(exchange) <NEW_LINE> if self.exchange.name != KrakenCrawler.expected_name: <NEW_LINE> <INDENT> raise TypeError('Mismatched Exchange') <NEW_LINE> <DEDENT> self.code...
Kraken exchange crawler. Exchange url: https://www.kraken.com Orderbook api: https://api.kraken.com/0/public/Depth?pair={}{} Orderbook eg: {"error":[],"result":{"X{}Z{}":{"bids": [["18295.00000","0.011",1513689432]], "asks": [["18328.30000","0.006",1513689450]]}}} Ticker api: https://api.kraken.com/0/p...
62598fa97d43ff24874273ab
class MusicRepeatMode(str, Enum): <NEW_LINE> <INDENT> LOOP = 'loop' <NEW_LINE> PLAY_ONCE = 'play_once'
Available music repeat modes.
62598fa92ae34c7f260ab034
@register.tag('form') <NEW_LINE> class FormNode(Node): <NEW_LINE> <INDENT> def __init__(self, parser, token): <NEW_LINE> <INDENT> bits = token.split_contents() <NEW_LINE> remaining_bits = bits[1:] <NEW_LINE> self.kwargs = token_kwargs(remaining_bits, parser) <NEW_LINE> if remaining_bits: <NEW_LINE> <INDENT> raise Templ...
Template based form rendering Example:: {% form template='material/form.html' form=form layout=view.layout %} {% part form.email prepend %}<span class="input-group-addon" id="basic-addon1">@</span>{% endpart %} {% endform %}
62598fa967a9b606de545f1e
class Component(object): <NEW_LINE> <INDENT> def __init__(self, x, y, rot=0, name=''): <NEW_LINE> <INDENT> self.x = x <NEW_LINE> self.y = y <NEW_LINE> self.rot = rot <NEW_LINE> self.name = name <NEW_LINE> <DEDENT> def __getitem__(self, i): <NEW_LINE> <INDENT> if isinstance(i, str): <NEW_LINE> <INDENT> try: <NEW_LINE>...
Generic PCB component.
62598fa9aad79263cf42e727
class VectorSensor(InputGadget): <NEW_LINE> <INDENT> def value_x(self): <NEW_LINE> <INDENT> raise NotImplementedError(NOT_IMPLEMENTED_MSG) <NEW_LINE> <DEDENT> def value_y(self): <NEW_LINE> <INDENT> raise NotImplementedError(NOT_IMPLEMENTED_MSG) <NEW_LINE> <DEDENT> def value_z(self): <NEW_LINE> <INDENT> raise NotImpleme...
any gadget which value of interest is a physical vector quantity should inherit this.
62598fa992d797404e388b0e
class AVLTreeElement(BSTElement): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs) -> None: <NEW_LINE> <INDENT> if len(args) != 0: <NEW_LINE> <INDENT> if len(args) != 2: <NEW_LINE> <INDENT> raise ValueError("Must contain 0 or 2 positional parameters") <NEW_LINE> <DEDENT> super(AVLTreeElement, self).__init__(key=...
@brief This class extends the BSTElement class by adding a height and balance factor fields that are useful in AVL trees. AVL tree elements include a 'height' and a 'balFactor' value, representing the height and balance factor of the AVL tree at that node, respectively. This is useful in representing AVL trees. AVLTr...
62598fa9b7558d5895463582
class ToTensor(object): <NEW_LINE> <INDENT> def __call__(self, sample): <NEW_LINE> <INDENT> return {'points': torch.from_numpy(sample['points']).type(torch.FloatTensor), 'seg': torch.tensor(sample['seg']).type(torch.LongTensor)}
Convert ndarrays in sample to Tensors.
62598fa9d7e4931a7ef3bfee
class User(AbstractUser): <NEW_LINE> <INDENT> id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) <NEW_LINE> phone_number = models.CharField(max_length=250) <NEW_LINE> first_name = models.CharField(null=True, max_length=30) <NEW_LINE> last_name = models.CharField(null=True, max_length=150) <NEW_...
Define a user model.
62598fa9adb09d7d5dc0a4de
class SquareNumberApp(App): <NEW_LINE> <INDENT> def build(self): <NEW_LINE> <INDENT> Window.size = (800, 300) <NEW_LINE> self.title = "Square Number" <NEW_LINE> self.root = Builder.load_file('squaring.kv') <NEW_LINE> return self.root <NEW_LINE> <DEDENT> def handle_calculate(self): <NEW_LINE> <INDENT> value = float(self...
SquareNumberApp is a Kivy App for squaring a number
62598fa94527f215b58e9e35
class CacheClearEvent(object): <NEW_LINE> <INDENT> swagger_types = { 'teardown': 'bool' } <NEW_LINE> attribute_map = { 'teardown': 'teardown' } <NEW_LINE> def __init__(self, teardown=None): <NEW_LINE> <INDENT> self._teardown = None <NEW_LINE> self.discriminator = None <NEW_LINE> if teardown is not None: <NEW_LINE> <IND...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598fa9097d151d1a2c0f7c
class CowrieServer(object): <NEW_LINE> <INDENT> def __init__(self, realm): <NEW_LINE> <INDENT> self.cfg = realm.cfg <NEW_LINE> self.avatars = [] <NEW_LINE> self.hostname = self.cfg.get('honeypot', 'hostname') <NEW_LINE> self.fs = fs.HoneyPotFilesystem(copy.deepcopy(fs.PICKLE),self.cfg)
In traditional Kippo each connection gets its own simulated machine. This is not always ideal, sometimes two connections come from the same source IP address. we want to give them the same environment as well. So files uploaded through SFTP are visible in the SSH session. This class represents a 'virtual server' that c...
62598fa93617ad0b5ee060a7
class InvalidParameterError(EncodingExceptionBase): <NEW_LINE> <INDENT> def __init__(self, param: str): <NEW_LINE> <INDENT> error = 'Specified parameter given is invalid: {0}'.format(param) <NEW_LINE> super().__init__(error)
Given designation is invalid in either parameter or settings. Does not match encoding.com allows
62598fa944b2445a339b6919
class SubClassCollector: <NEW_LINE> <INDENT> def __init__(self, namespace): <NEW_LINE> <INDENT> self.ontology_graphs = {} <NEW_LINE> self.namespace = namespace <NEW_LINE> self.init_skos() <NEW_LINE> <DEDENT> def init_skos(self): <NEW_LINE> <INDENT> self.subclasses = {} <NEW_LINE> self.subclasses[SKOS.Concept] = [ SKOS....
A utility class to collect all the subclasses of a certain Class from an ontology file.
62598fa9d486a94d0ba2bf21
class DirectiveDefinitionNode(TypeSystemDefinitionNode): <NEW_LINE> <INDENT> __slots__ = ("description", "name", "arguments", "locations", "location") <NEW_LINE> def __init__( self, name: "NameNode", locations: List["NameNode"], description: Optional["DescriptionNode"] = None, arguments: Optional[List["InputValueDefini...
AST node representing a GraphQL directive definition.
62598fa901c39578d7f12cd3
class User(AbstractUser): <NEW_LINE> <INDENT> name = CharField( _("Name of User"), blank=True, max_length=255, help_text='The blog app shows this as the author: First Name and Last Initial', ) <NEW_LINE> email = models.EmailField(_('email address'), unique=True) <NEW_LINE> def get_absolute_url(self): <NEW_LINE> <INDENT...
Custom User where email is required
62598fa9d7e4931a7ef3bfef
class commitSendMessagesToAll_args(object): <NEW_LINE> <INDENT> thrift_spec = ( None, (1, TType.LIST, 'requestIdList', (TType.STRING, 'UTF8', False), None, ), ) <NEW_LINE> def __init__(self, requestIdList=None,): <NEW_LINE> <INDENT> self.requestIdList = requestIdList <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE...
Attributes: - requestIdList
62598fa9bd1bec0571e1506d
class SessionListing(wx.TextCtrl): <NEW_LINE> <INDENT> def __init__(self, parent=None, id=-1,ShellClassName='Shell'): <NEW_LINE> <INDENT> style = (wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_RICH2 | wx.TE_DONTWRAP) <NEW_LINE> wx.TextCtrl.__init__(self, parent, id, style=style) <NEW_LINE> dispatcher.connect(receiver=self.a...
Text control containing all commands for session.
62598fa97047854f4633f32d
class ImageFolder(DatasetFolder): <NEW_LINE> <INDENT> def __init__(self, root, ann_file='', img_prefix='', transform=None, target_transform=None, loader=default_img_loader, cache_mode="no", dataset='ImageNet', two_crop=False, return_coord=False): <NEW_LINE> <INDENT> super(ImageFolder, self).__init__(root, loader, IMG_E...
A generic data loader where the images are arranged in this way: :: root/dog/xxx.png root/dog/xxy.png root/dog/xxz.png root/cat/123.png root/cat/nsdf3.png root/cat/asd932_.png Args: root (string): Root directory path. transform (callable, optional): A function/transform that takes in an...
62598fa945492302aabfc425
class EmptyElement(Element): <NEW_LINE> <INDENT> @property <NEW_LINE> def empty(self): <NEW_LINE> <INDENT> return True
Convenience class that defines an empty element.
62598fa9a17c0f6771d5c189
class VirtualMachineExtensionsListResult(Model): <NEW_LINE> <INDENT> _attribute_map = { 'value': {'key': 'value', 'type': '[VirtualMachineExtension]'}, } <NEW_LINE> def __init__(self, *, value=None, **kwargs) -> None: <NEW_LINE> <INDENT> super(VirtualMachineExtensionsListResult, self).__init__(**kwargs) <NEW_LINE> self...
The List Extension operation response. :param value: The list of extensions :type value: list[~azure.mgmt.compute.v2017_12_01.models.VirtualMachineExtension]
62598fa97d43ff24874273ac
class SchemaEnforcingMixin(AllowedSchemaMixin, InvenioRecordMetadataSchemaV1Mixin): <NEW_LINE> <INDENT> ALLOWED_SCHEMAS = ('records/record-v1.0.0.json',) <NEW_LINE> PREFERRED_SCHEMA = 'records/record-v1.0.0.json' <NEW_LINE> @validates('schema') <NEW_LINE> def validate_schema(self, value): <NEW_LINE> <INDENT> self._prep...
A marshmallow mixin that enforces that record has only one of predefined schemas.
62598fa90a50d4780f705331
class Character: <NEW_LINE> <INDENT> battle_queue: 'BattleQueue' <NEW_LINE> playstyle: 'Playstyle' <NEW_LINE> def __init__(self, name: str, bq: 'BattleQueue', ps: 'Playstyle') -> None: <NEW_LINE> <INDENT> self._name = name <NEW_LINE> self.battle_queue = bq <NEW_LINE> self.playstyle = ps <NEW_LINE> self._hp = 100 <NEW_L...
An abstract superclass for all Characters. battle_queue - the BattleQueue that this Character will add to. playstyle - the Playstyle that this Character uses to pick actions. enemy - the Character that this Character attacks.
62598fa92c8b7c6e89bd3719
class Template(_messages.Message): <NEW_LINE> <INDENT> automaticColumnNames = _messages.StringField(1, repeated=True) <NEW_LINE> body = _messages.StringField(2) <NEW_LINE> kind = _messages.StringField(3, default=u'fusiontables#template') <NEW_LINE> name = _messages.StringField(4) <NEW_LINE> tableId = _messages.StringFi...
Represents the contents of InfoWindow templates. Fields: automaticColumnNames: List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified. body: Body of the template. It contains HTML with {column_name} to insert values from a parti...
62598fa9f548e778e596b4f9
class FileShare(models.Model): <NEW_LINE> <INDENT> username = LowerCaseCharField(max_length=255, db_index=True) <NEW_LINE> repo_id = models.CharField(max_length=36, db_index=True) <NEW_LINE> path = models.TextField() <NEW_LINE> token = models.CharField(max_length=10, unique=True) <NEW_LINE> ctime = models.DateTimeField...
Model used for file or dir shared link.
62598fa92ae34c7f260ab036
class RideImportSettingAdded(RideImportSetting): <NEW_LINE> <INDENT> pass
Sent whenever an import setting is added. ``datafile`` is the suite or resource file whose imports have changed, ``type`` is either ``resource``, ``library``, or ``variables``.
62598fa9aad79263cf42e729
class Usage(models.Model): <NEW_LINE> <INDENT> added = models.DateTimeField(auto_now_add=True) <NEW_LINE> app_version_target_config = models.ForeignKey( ApplicationVersionTargetConfig, on_delete=models.CASCADE, related_name="+", null=False) <NEW_LINE> app_deployment = models.ForeignKey( ApplicationDeployment, on_delete...
Keep some usage information about instances that are being launched.
62598fa94a966d76dd5eee37
class RobustProteinAnalysis(ProteinAnalysis): <NEW_LINE> <INDENT> PROTEIN_LETTERS = set(Bio.Data.IUPACData.protein_letters) <NEW_LINE> def __init__(self, prot_sequence: str, monoisotopic: bool = False, ignore_invalid: bool = True) -> None: <NEW_LINE> <INDENT> if not isinstance(ignore_invalid, bool): <NEW_LINE> <INDENT>...
A simple subclass of ProteinAnalysis that can deal with a protein sequence containing invalid characters. If ignoring invalid characters, the molecular weight is increased by the average weight of an amino-acid (i.e. 110) for each invalid case.
62598fa9d486a94d0ba2bf22
class ImportImageParameters(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'source': {'required': True}, } <NEW_LINE> _attribute_map = { 'source': {'key': 'source', 'type': 'ImportSource'}, 'target_tags': {'key': 'targetTags', 'type': '[str]'}, 'untagged_target_repositories': {'key': 'untaggedTargetRe...
ImportImageParameters. All required parameters must be populated in order to send to Azure. :ivar source: Required. The source of the image. :vartype source: ~azure.mgmt.containerregistry.v2017_10_01.models.ImportSource :ivar target_tags: List of strings of the form repo[:tag]. When tag is omitted the source will be...
62598fa932920d7e50bc5faa
class UserSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> def validate_email(self, value: str) -> str: <NEW_LINE> <INDENT> if not user_settings["EMAIL_VALIDATION"]: <NEW_LINE> <INDENT> return value <NEW_LINE> <DEDENT> if check_validation(value=value): <NEW_LINE> <INDENT> return value <NEW_LINE> <DEDENT> el...
UserRegisterSerializer is a model serializer which includes the attributes that are required for registering a user.
62598fa9a8370b77170f0330
class ElementSigned(ElementUnsigned): <NEW_LINE> <INDENT> signed = True
Signed integer.
62598fa916aa5153ce400458
class Bracket: <NEW_LINE> <INDENT> def __init__(self, bracket_type, position): <NEW_LINE> <INDENT> self.bracket_type = bracket_type <NEW_LINE> self.position = position <NEW_LINE> <DEDENT> def Match(self, c): <NEW_LINE> <INDENT> if self.bracket_type == '[' and c == ']': <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT...
Class for storing 'brackets'
62598fa9d486a94d0ba2bf23
class MinimisationFailedError(PacmanException): <NEW_LINE> <INDENT> pass
Raised when a routing table could not be minimised to reach a specified target.
62598fa94f6381625f199469
@swagger.tags('Category_Resource') <NEW_LINE> class CategorySHOP_routes(Resource): <NEW_LINE> <INDENT> @swagger.reorder_with(Category_listSHEMA, response_code=200, description="OK") <NEW_LINE> @swagger.reorder_with(MessageSHEMA, response_code=404, description="Shop does not exists") <NEW_LINE> @swagger.parameter(_in='q...
Restfull class for category shop
62598fa9cb5e8a47e493c123
class Function(Token): <NEW_LINE> <INDENT> concat = '.' <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> params = [] <NEW_LINE> if len(self.args): <NEW_LINE> <INDENT> for arg in self.args: <NEW_LINE> <INDENT> if issubclass(type(arg), Statement): <NEW_LINE> <INDENT> self.apply_statment(arg) <NEW_LINE> params.append...
class used to create a Gremlin function it assumes that the last argument passed to the function is the only thing that will be bound if you need more than the last argument bound, you can do: g = Gremlin() value1 = g.bind_param('value1')[0] value2 = g.bind_param('value2')[0] g.functionName('not_bound'...
62598fa9b7558d5895463585
class LoginRoutes(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'logout_endpoint': {'key': 'logoutEndpoint', 'type': 'str'}, } <NEW_LINE> def __init__( self, *, logout_endpoint: Optional[str] = None, **kwargs ): <NEW_LINE> <INDENT> super(LoginRoutes, self).__init__(**kwargs) <NEW_LINE> self.logout...
The routes that specify the endpoints used for login and logout requests. :ivar logout_endpoint: The endpoint at which a logout request should be made. :vartype logout_endpoint: str
62598fa9e5267d203ee6b861
class FavoritesPage(JsonPage): <NEW_LINE> <INDENT> @method <NEW_LINE> class iter_favorites(DictElement): <NEW_LINE> <INDENT> item_xpath = 'aaData' <NEW_LINE> ignore_duplicate = True <NEW_LINE> class item(ItemElement): <NEW_LINE> <INDENT> klass = Favorites <NEW_LINE> obj_id = Regexp(Dict('0'), '/([0-9]+)\\"') <NEW_LINE>...
Display a list of your favorite bands.
62598fa92c8b7c6e89bd371c
class gaussian_flat_layer(nn.Module): <NEW_LINE> <INDENT> def __init__(self, input_size, latent_z_size, latent_y_size): <NEW_LINE> <INDENT> super(gaussian_flat_layer, self).__init__() <NEW_LINE> self.input_size = input_size <NEW_LINE> self.latent_y_size = latent_y_size <NEW_LINE> self.latent_z_size = latent_z_size <NEW...
h / y z \ / x
62598fa92ae34c7f260ab038
class LineStickerAnimatedGifDownloadView(TemplateResponseMixin, View): <NEW_LINE> <INDENT> def get(self, request, pack_id, sticker_id): <NEW_LINE> <INDENT> binary_io = LineStickerUtils.get_downloaded_animated(pack_id, sticker_id) <NEW_LINE> if not binary_io: <NEW_LINE> <INDENT> return HttpResponse(status=404) <NEW_LINE...
View to download an animated sticker as gif.
62598fa94428ac0f6e65847a
class IRevisionFile(Interface): <NEW_LINE> <INDENT> pass
The revision file marker interface
62598fa90c0af96317c562d9
class JIDMalformedProtocolError(ProtocolError, JIDError): <NEW_LINE> <INDENT> def __init__(self, message): <NEW_LINE> <INDENT> JIDError.__init__(self) <NEW_LINE> ProtocolError.__init__(self, "jid-malformed", message)
Raised when invalid JID is encountered.
62598fa9d486a94d0ba2bf24
class Motor: <NEW_LINE> <INDENT> def __init__(self, thrust_f, torque_f, pos, quat): <NEW_LINE> <INDENT> self.thrust_map = thrust_f <NEW_LINE> self.torque_map = torque_f <NEW_LINE> self.pos = pos <NEW_LINE> self.quat = quat <NEW_LINE> self.direction = quat_rotate(self.quat, np.array((1, 0, 0))) <NEW_LINE> self.torque_di...
thrust_f is from RPM to force torque_f is from force to torque
62598fa9627d3e7fe0e06e03
class MyClass: <NEW_LINE> <INDENT> def myFunc(self, x, y): <NEW_LINE> <INDENT> return x + y
A sample class
62598fa901c39578d7f12cd6
class RequestedPhase(Phase): <NEW_LINE> <INDENT> startDT = time.time() <NEW_LINE> endDT = time.time() <NEW_LINE> isOptimized = 0 <NEW_LINE> def initFromPhase(self, cyclePhase): <NEW_LINE> <INDENT> self.componentName = cyclePhase.componentName <NEW_LINE> self.cycleName = cyclePhase.cycleName <NEW_LINE> self.name = cycle...
Enriches CyclePhase with information related to requested scheduling and optimization. Attributes: startDT: cycle phase start date and time. If a cycle phase is optimally scheduled (isOptimized = 1), scheduled cycle phase start (scheduledStartDT) will be chosen by an optimization algorithm to be not earli...
62598fa9498bea3a75a57a74
class ChainedManyToManyField(IntrospectiveFieldMixin, ManyToManyField): <NEW_LINE> <INDENT> def __init__(self, to, chained_field=None, chained_model_field=None, auto_choose=False, horizontal=False, verbose_name='', **kwargs): <NEW_LINE> <INDENT> self.chain_field = chained_field <NEW_LINE> self.chained_model_field = cha...
chains the choices of a previous combo box with this ManyToMany
62598fa960cbc95b063642a4
class TaskView(tk.Toplevel): <NEW_LINE> <INDENT> def __init__(self, master): <NEW_LINE> <INDENT> tk.Toplevel.__init__(self, master) <NEW_LINE> if isinstance(master, tk.Tk) == False: <NEW_LINE> <INDENT> raise Exception("master is not a tk.Tk()") <NEW_LINE> <DEDENT> """Ensure widget instances are deleted.""" <NEW_LINE> s...
Close the root Tk() task window, and create a Toplevel window. This is a child class of Toplevel. Keyword arguments: master -- A Tk constructor.
62598fa95fc7496912d4822e
class SingletonMF: <NEW_LINE> <INDENT> def __init__(self, name, position): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.position = position <NEW_LINE> <DEDENT> def calculate_membership(self, x): <NEW_LINE> <INDENT> if x == self.position: <NEW_LINE> <INDENT> return 1 <NEW_LINE> <DEDENT> return 0
Singletom fuzzy logic membership function class. :param name: name of MF :param: position of MF
62598fa938b623060ffa8fef
class more_produce_line(models.TransientModel): <NEW_LINE> <INDENT> _name = 'more.produce.line' <NEW_LINE> _description = 'Wizard More Produce Line' <NEW_LINE> _rec_name = 'product_id' <NEW_LINE> @api.model <NEW_LINE> def _type_get(self): <NEW_LINE> <INDENT> return [ ('rm', 'RM'), ('fp', 'FP'), ] <NEW_LINE> <DEDENT> pr...
Wizard More Produce Line
62598fa9925a0f43d25e7f96
class RestorableSqlDatabasesOperations: <NEW_LINE> <INDENT> models = _models <NEW_LINE> def __init__(self, client, config, serializer, deserializer) -> None: <NEW_LINE> <INDENT> self._client = client <NEW_LINE> self._serialize = serializer <NEW_LINE> self._deserialize = deserializer <NEW_LINE> self._config = config <NE...
RestorableSqlDatabasesOperations async operations. You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. :type models: ~azure.mgmt.cosmosdb.models :pa...
62598fa97c178a314d78d3f4
class DlinkException(service.BasicException): <NEW_LINE> <INDENT> pass
Базовое исключение.
62598fa963b5f9789fe850bd
class RPCCoverage(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.dir = tempfile.mkdtemp(prefix="coverage") <NEW_LINE> self.flag = '--coveragedir=%s' % self.dir <NEW_LINE> <DEDENT> def report_rpc_coverage(self): <NEW_LINE> <INDENT> uncovered = self._get_uncovered_rpc_commands() <NEW_LINE> if uncover...
Coverage reporting utilities for test_runner. Coverage calculation works by having each test script subprocess write coverage files into a particular directory. These files contain the RPC commands invoked during testing, as well as a complete listing of RPC commands per `dash-cli help` (`rpc_interface.txt`). After a...
62598fa9435de62698e9bd4e
class ReflectPanel(BoxLayout): <NEW_LINE> <INDENT> x_axis = ObjectProperty(None) <NEW_LINE> y_axis = ObjectProperty(None) <NEW_LINE> observer = None <NEW_LINE> def __init__(self,observer,**kw): <NEW_LINE> <INDENT> super(ReflectPanel,self).__init__(**kw) <NEW_LINE> self.observer = observer <NEW_LINE> <DEDENT> def update...
Instances are panels for defining an Reflection transform. x_axis is a Kivy property for a checkbox indicating a reflection about the the x-axis y_axis is a Kivy property for a checkbox indicating a reflection about the the y-axis When either x_axis or y_axis change, Kivy invokes the method update. T...
62598fa92ae34c7f260ab03a
class StackUdpRaet(deeding.Deed): <NEW_LINE> <INDENT> Ioinits = odict( inode="raet.udp.stack.", stack='stack', txmsgs=odict(ipath='txmsgs', ival=deque()), rxmsgs=odict(ipath='rxmsgs', ival=deque()), local=odict(ipath='local', ival=odict( name='master', eid=0, host='0.0.0.0', port=raeting.RAET_PORT, sigkey=None, prike...
StackUdpRaet initialize and run raet udp stack
62598fa955399d3f0562647c
class ThreadlocalCassandraDataManager(object): <NEW_LINE> <INDENT> implements(IDataManager) <NEW_LINE> def __init__(self, tx): <NEW_LINE> <INDENT> self.tx = tx <NEW_LINE> <DEDENT> def abort(self, trans): <NEW_LINE> <INDENT> if self.tx is not None: <NEW_LINE> <INDENT> self.tx.rollback() <NEW_LINE> self.tx = None <NEW_LI...
Instances of this class will be used to 'join' Zope's transactions.
62598fa9aad79263cf42e72d
class _RedirectStream: <NEW_LINE> <INDENT> _stream = None <NEW_LINE> def __init__(self, new_target=None): <NEW_LINE> <INDENT> self._new_target = new_target <NEW_LINE> self._old_targets = [] <NEW_LINE> <DEDENT> def open(self, new_target): <NEW_LINE> <INDENT> self._new_target = new_target <NEW_LINE> self._old_targets.app...
A base class for a context manager to redirect streams from the sys module.
62598fa9627d3e7fe0e06e05
class TenantServicePluginAttr(BaseModel): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> db_table = "tenant_service_plugin_attr" <NEW_LINE> <DEDENT> service_id = models.CharField(max_length=32, help_text=u"组件ID") <NEW_LINE> service_alias = models.CharField(max_length=32, help_text=u"主组件别名") <NEW_LINE> dest_service...
旧版组件插件属性
62598fa9b7558d5895463588
class TestApiPromotion(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def testApiPromotion(self): <NEW_LINE> <INDENT> pass
ApiPromotion unit test stubs
62598fa9a8370b77170f0333
class DataVisualizer(object): <NEW_LINE> <INDENT> def __init__(self, data): <NEW_LINE> <INDENT> self.data = data <NEW_LINE> <DEDENT> def inspectDataFile(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def illustrate(self, xlabel, ylabel): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def saveArtwork(self, name='imag...
for data visualization purposes, to be implemented .. Author: Tong Zhang .. Date : 2016-03-14
62598fa910dbd63aa1c70b0b
class Parameter(AnnotatedObject): <NEW_LINE> <INDENT> def __init__(self, name: str, annotation: Any, description: str, kind: Any, default: Any = empty) -> None: <NEW_LINE> <INDENT> super().__init__(annotation, description) <NEW_LINE> self.name = name <NEW_LINE> self.kind = kind <NEW_LINE> self.default = default <NEW_LI...
A helper class to store information about a signature parameter.
62598fa93539df3088ecc20d
@dataclass <NEW_LINE> class _YEAR(TimeDataType): <NEW_LINE> <INDENT> pass
YEAR A year in four-digit format. Values allowed in four-digit format: 1901 to 2155, and 0000. MySQL 8.0 does not support year in two-digit format.
62598fa9d6c5a102081e20a1