code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class RateLimit(ClientError): <NEW_LINE> <INDENT> def __init__(self, response, **kwargs): <NEW_LINE> <INDENT> super(self, response, **kwargs) <NEW_LINE> self._retry_after = response.headers.get('retry-after', None) <NEW_LINE> self._reset_at = response.headers.get('rate_limit_reset', None) <NEW_LINE> <DEDENT> @property ...
Rate Limit (429).
62598f86596a89723612774f
class UsefulVars(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.json_in = 'cpl_res_cdiv.json' <NEW_LINE> self.json_out = 'cpl_res_com_cdiv.json' <NEW_LINE> self.aeo_metadata = 'metadata.json' <NEW_LINE> self.cpl_data_skip_lines = 68 <NEW_LINE> self.columns_to_keep = ['t', 'v', 'r', 's', 'f', ...
Set up class to contain what would otherwise be global variables. Attributes: json_in (str): File name for the input JSON database. json_out (str): File name for the JSON output from this script. aeo_metadata (str): File name for the custom AEO metadata JSON. cpl_data_skip_lines (int): The number of li...
62598f8607d97122c4216781
class SequenceSummary(nn.Module): <NEW_LINE> <INDENT> def __init__(self, config: PretrainedConfig): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.summary_type = getattr(config, "summary_type", "last") <NEW_LINE> if self.summary_type == "attn": <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> s...
Compute a single vector summary of a sequence hidden states according to various possibilities: Args of the config class: summary_type: - 'last' => [default] take the last token hidden state (like XLNet) - 'first' => take the first token hidden state (like Bert) - 'mean' => take the mean of ...
62598f8616aa5153ce3fffde
class Customer(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=64,blank=True,null=True) <NEW_LINE> qq = models.CharField(max_length=64,unique=True,blank=True,null=True) <NEW_LINE> weixin = models.CharField(max_length=64,unique=True,blank=True,null=True) <NEW_LINE> phone = models.BigIntegerField(un...
客户表
62598f868da39b475be02cc2
class TFPyPolicy(tf_policy.Base): <NEW_LINE> <INDENT> def __init__(self, policy, name=None): <NEW_LINE> <INDENT> if not isinstance(policy, py_policy.Base): <NEW_LINE> <INDENT> raise TypeError( 'Input policy should implement py_policy.Base, but saw %s.' % type(policy).__name__) <NEW_LINE> <DEDENT> self._py_policy = poli...
Exposes a Python policy as an in-graph TensorFlow policy. # TODO(kbanoop): This class does not seem to handle batching/unbatching when # converting between TF and Py policies.
62598f86d53ae8145f917f6b
class InvalidOpenIdUrl(Error): <NEW_LINE> <INDENT> pass
The supplied openIDurl is invalid
62598f8676d4e153a661c6f0
class Class(object): <NEW_LINE> <INDENT> name = db.Column(db.String) <NEW_LINE> title = db.Column(db.String) <NEW_LINE> department = db.Column(db.String) <NEW_LINE> location = db.Column(db.String) <NEW_LINE> days = db.Column(db.String) <NEW_LINE> time = db.Column(db.String) <NEW_LINE> max_spots = db.Column(db.String) <...
Base db model to be inherited
62598f868a349b6b43685d21
@API.route('readyz') <NEW_LINE> class Readyz(Resource): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def get(): <NEW_LINE> <INDENT> return {'message': 'api is ready'}, 200
Determines if the service is ready to respond.
62598f86fbf16365ca793b86
class Sequential(Module): <NEW_LINE> <INDENT> def __init__(self, *layers): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.layers = layers <NEW_LINE> for idx, l in enumerate(self.layers): <NEW_LINE> <INDENT> self.add_module(str(idx), l) <NEW_LINE> <DEDENT> <DEDENT> def __iter__(self): <NEW_LINE> <INDENT> yield f...
Passes input data through stored layers, in order >>> model = Sequential(Linear(2,3), ReLU()) >>> model(x) <output after linear then relu> Inherits from: Module (nn.module.Module)
62598f86d10714528d69d9ac
class Consumer(threading.Thread): <NEW_LINE> <INDENT> def __init__(self,page_queue,img_queue,*args,**kwargs): <NEW_LINE> <INDENT> super(Consumer, self).__init__(*args,**kwargs) <NEW_LINE> self.page_queue = page_queue <NEW_LINE> self.img_queue = img_queue <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> while True...
消费者,通过URL将图片下载到本地
62598f86d10714528d69d9ad
class RHD2132AccelerometerSignal(AccelerometerSignal): <NEW_LINE> <INDENT> def __init__(self, xyz, fs, channel_order=['z', 'x', 'y'], **kwargs): <NEW_LINE> <INDENT> super(RHD2132AccelerometerSignal, self).__init__( xyz, fs, channel_order=channel_order, **kwargs)
Accelerometers on Intan's RHD2132 board have a different channel order For details see http://www.intantech.com/files/Intan_RHD2000_accelerometer_calibration.pdf The channels are reordered to match the eye's coordinate system.
62598f8607f4c71912baef20
class AutoSNVPhylError(ValueError): <NEW_LINE> <INDENT> def __init__(self, message, *args): <NEW_LINE> <INDENT> self.message = message <NEW_LINE> super(AutoSNVPhylError, self).__init__(message, *args)
Raise when a specific subset of values in context of app is wrong
62598f86a8ecb03325870cdd
class Win32BaseUI(terminal_interface_base.UI): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> terminal_interface_base.UI.__init__(self) <NEW_LINE> self.encoding = 'ascii'
User interface for Win32 terminals without ctypes.
62598f868e71fb1e983bb593
class AuditLog(dict): <NEW_LINE> <INDENT> def __init__(self, audit_log): <NEW_LINE> <INDENT> super(AuditLog, self).__init__() <NEW_LINE> self.update(audit_log) <NEW_LINE> <DEDENT> @property <NEW_LINE> def ref_table(self): <NEW_LINE> <INDENT> return self['ref_table'] <NEW_LINE> <DEDENT> @property <NEW_LINE> def ref_id(s...
AuditLog describes a single entry in the `audit_log` table. The table is used to to log `operation`s ('create', 'update', 'delete') performed on most of the database tables. Fields `ref_table` and `ref_id` are used to address referenced records.
62598f86c432627299fa2aac
class CancelOperation_args(object): <NEW_LINE> <INDENT> thrift_spec = ( None, (1, TTType.STRUCT, 'req', (TCancelOperationReq, TCancelOperationReq.thrift_spec), None, ), ) <NEW_LINE> def __init__(self, req=None,): <NEW_LINE> <INDENT> self.req = req <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot....
Attributes: - req
62598f86462c4b4f79dbb4e0
class UnaryOperator(Node): <NEW_LINE> <INDENT> def __init__(self, operation): <NEW_LINE> <INDENT> super().__init__('unary_operator', None, None) <NEW_LINE> self.value = operation <NEW_LINE> <DEDENT> def operation(self): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return VALID_OPERATORS[self.value] <NEW_LINE> <DEDENT> ...
Node for an OPENQASM unary operator. This node has no children. The data is in the value field.
62598f866fb2d068a7693b9d
class AppEngineAdapter(adapters.HTTPAdapter): <NEW_LINE> <INDENT> def __init__(self, validate_certificate=True, *args, **kwargs): <NEW_LINE> <INDENT> _check_version() <NEW_LINE> self._validate_certificate = validate_certificate <NEW_LINE> super(AppEngineAdapter, self).__init__(*args, **kwargs) <NEW_LINE> <DEDENT> def i...
The transport adapter for Requests to use urllib3's GAE support. Implements Requests's HTTPAdapter API. When deploying to Google's App Engine service, some of Requests' functionality is broken. There is underlying support for GAE in urllib3. This functionality, however, is opt-in and needs to be enabled explicitly fo...
62598f86507cdc57c63a486a
class Operation(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, 'display': {'key': 'display', 'type': 'OperationDisplay'}, 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'S...
Microsoft Insights API operation definition. :param name: Operation name: {provider}/{resource}/{operation}. :type name: str :param is_data_action: Property to specify whether the action is a data action. :type is_data_action: bool :param display: Display metadata associated with the operation. :type display: ~$(pytho...
62598f86d53ae8145f917f6c
class TestAssessmentTemplatesImport(TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(TestAssessmentTemplatesImport, self).setUp() <NEW_LINE> self.client.get("/login") <NEW_LINE> <DEDENT> def test_valid_import(self): <NEW_LINE> <INDENT> response = self.import_file("assessment_template_no_warning...
Assessment Template import tests.
62598f8645492302aabfbfbb
class LoginHandler(BaseRequestHandler): <NEW_LINE> <INDENT> def get(self): <NEW_LINE> <INDENT> self.render("login.html") <NEW_LINE> <DEDENT> def post(self, *args, **kwargs): <NEW_LINE> <INDENT> user = self.get_argument('username') <NEW_LINE> pwd = self.get_argument('passwd') <NEW_LINE> print(user,pwd) <NEW_LINE> r = db...
docstring for LoginHandler
62598f86d6c5a102081e1c27
class MultiAssignmentBase(InstructionBase): <NEW_LINE> <INDENT> fields = InstructionBase.fields | set(["expression"]) <NEW_LINE> pymbolic_fields = InstructionBase.pymbolic_fields | set(["expression"]) <NEW_LINE> @memoize_method <NEW_LINE> def read_dependency_names(self): <NEW_LINE> <INDENT> from loopy.symbolic import g...
An assignment instruction with an expression as a right-hand side.
62598f8623849d37ff850b9b
class Pickup(Event): <NEW_LINE> <INDENT> def __init__(self, timestamp, rider, driver): <NEW_LINE> <INDENT> super().__init__(timestamp) <NEW_LINE> self.rider = rider <NEW_LINE> self.driver = driver <NEW_LINE> <DEDENT> def do(self, dispatcher, monitor): <NEW_LINE> <INDENT> event = [] <NEW_LINE> self.driver.end_drive() <N...
Pickup a rider ========== Attributes: @param Rider rider: rider who is picked up @param Driver driver: driver who picks up the rider ===========
62598f866aa9bd52df0d49ba
class TestHangupAllOf(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 testHangupAllOf(self): <NEW_LINE> <INDENT> pass
HangupAllOf unit test stubs
62598f8607d97122c4216782
class HoraControlador(): <NEW_LINE> <INDENT> def validate_hora(self,hora): <NEW_LINE> <INDENT> for format in ['%d/%m/%y %H:%M:%S','%H:%M:%S']: <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> result = datetime.strptime(hora, format) <NEW_LINE> return True <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> pass <NEW_LINE> <DED...
El controlador de hora valida que la fecha introducida sea la correta
62598f86d4950a0f3b110ba4
class CommitType(LineRule): <NEW_LINE> <INDENT> name = "title-commit-type" <NEW_LINE> id = "UL1" <NEW_LINE> target = CommitMessageTitle <NEW_LINE> options_spec = [ListOption('special-words', ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert'], "Comma separated list of words th...
This rule will enforce that the commit message title contains special word indicating the type of commit, as recommended by PyCharm Git Commit Template plugin (see also https://udacity.github.io/git-styleguide/).
62598f86d53ae8145f917f6d
class LossTrackers(): <NEW_LINE> <INDENT> def __init__(self, *loss_trackers, log=None): <NEW_LINE> <INDENT> self.loss_trackers = loss_trackers <NEW_LINE> self.info = log.info if log else print <NEW_LINE> <DEDENT> def append(self, *losses): <NEW_LINE> <INDENT> for lt, loss in zip(self.loss_trackers, losses): <NEW_LINE> ...
Keep track of multiple losses.
62598f8676d4e153a661c6f2
class MeshConvolution(Module): <NEW_LINE> <INDENT> def __init__(self, in_ft_num, out_ft_num, bias=True): <NEW_LINE> <INDENT> super(MeshConvolution, self).__init__() <NEW_LINE> self.in_ft_num = in_ft_num <NEW_LINE> self.out_ft_num = out_ft_num <NEW_LINE> self.weight = Parameter(torch.Tensor(in_ft_num, out_ft_num)) <NEW_...
Mesh convolution layer
62598f86fbf16365ca793b88
class RpiPrimary: <NEW_LINE> <INDENT> def __init__(self, socket_bind_ip, socket_port, influxdb_host, influxdb_port, influxdb_database_prefix): <NEW_LINE> <INDENT> self.socket_bind_ip = socket_bind_ip <NEW_LINE> self.socket_port = socket_port <NEW_LINE> self.influxdb_host = influxdb_host <NEW_LINE> self.influxdb_port = ...
Class to create a primary node which will handle connections coming in from a secondary This will form the basis of a general primary node which will be in charge of listening for connections and handling each one. Attributes: socket_bind_ip: IP address to bind the listening socket server to socket_port: Port...
62598f86a05bb46b3848a359
class ConveyorMotors(Irp6Motors): <NEW_LINE> <INDENT> def __init__(self, context): <NEW_LINE> <INDENT> super(ConveyorMotors, self).__init__('ConveyorMotors') <NEW_LINE> self.change_motors_widget_state() <NEW_LINE> timerThread = threading.Thread(target=self.monitor_robot_activity) <NEW_LINE> timerThread.daemon = True <N...
Dashboard widget to display motor state and allow interaction.
62598f86d7e4931a7ef3bb7a
class FingerprintError(SirsimException, ValueError): <NEW_LINE> <INDENT> pass
An error in fingerprinting an object for cache identification.
62598f8607f4c71912baef22
class SignupPage(PageObject): <NEW_LINE> <INDENT> url = BASE_URL + "/signup" <NEW_LINE> def is_browser_on_page(self): <NEW_LINE> <INDENT> return self.is_css_present('body.view-signup')
Signup page for Studio.
62598f868e71fb1e983bb595
class ErrorCommand(Command): <NEW_LINE> <INDENT> NAME = "ERROR"
Sent by either side if there was an ERROR. The data is a string describing the error.
62598f860fa83653e46f49cd
class Metadata(ImpactFunctionMetadata): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def get_metadata(): <NEW_LINE> <INDENT> dict_meta = { 'id': 'TsunamiEvacuationFunction', 'name': tr('Tsunami Evacuation Function'), 'impact': tr('Need evacuation'), 'author': 'AIFDR', 'date_implemented': 'N/A', 'overview': tr( 'To asse...
Metadata for TsunamiEvacuationFunction. .. versionadded:: 2.1 We only need to re-implement get_metadata(), all other behaviours are inherited from the abstract base class.
62598f866fb2d068a7693b9e
class FieldPhenotypeSpec: <NEW_LINE> <INDENT> def __init__(self, name, field_id, field_type, one_hot_encoding = False): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.field_id = field_id <NEW_LINE> self.field_type = field_type <NEW_LINE> self.one_hot_encoding = one_hot_encoding <NEW_LINE> assert not self.one_hot_...
Specification of a phenotype by a UKBB field.
62598f86287bf620b6271693
class DictObj(object): <NEW_LINE> <INDENT> def __init__(self, obj, kw=None, failreturn=''): <NEW_LINE> <INDENT> self.obj = obj <NEW_LINE> self.failreturn = failreturn <NEW_LINE> if kw is None: <NEW_LINE> <INDENT> kw = {} <NEW_LINE> <DEDENT> self.kw = kw <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def _strip_itemname(n...
This is a class that allows us to see the objects below us as a dict-like object - both for any dict-like characteristics and for its attributes. This is for formatting them with the "usual" Python formatting rules like for example, "%(ipaddr)s".
62598f8694891a1f408b945e
class CylindricalDomain(DomainDescriptionInterface): <NEW_LINE> <INDENT> def __init__(self, domain=[[0, 0], [1, 1]], top=BoundaryType('dirichlet'), bottom=BoundaryType('dirichlet')): <NEW_LINE> <INDENT> assert domain[0][0] <= domain[1][0] <NEW_LINE> assert domain[0][1] <= domain[1][1] <NEW_LINE> self.boundary_types = s...
Describes a cylindrical domain. Boundary types can be associated edgewise. Parameters ---------- domain List of two points defining the lower-left and upper-right corner of the domain. The left and right edge are identified. top The `BoundaryType` of the top edge. bottom The `BoundaryType` of the bott...
62598f8666656f66f7d59ed5
class VkError(Exception): <NEW_LINE> <INDENT> pass
Класс-исключение, возбуждаемый в классе Vk.
62598f86b5575c28eb712a37
class AssemblerBssElement: <NEW_LINE> <INDENT> def __init__(self, name, size, und_symbols=None): <NEW_LINE> <INDENT> self.__name = name <NEW_LINE> self.__size = size <NEW_LINE> self.__und = (und_symbols and (name in und_symbols)) <NEW_LINE> <DEDENT> def get_name(self): <NEW_LINE> <INDENT> return self.__name <NEW_LINE> ...
.bss element, representing a memory area that would go to .bss section.
62598f86d6c5a102081e1c29
class GaussTruncTF(GaussTF): <NEW_LINE> <INDENT> def __init__(self, hop_size=p.hop_size, stft_channels=p.stft_channels, min_height=1e-4): <NEW_LINE> <INDENT> super().__init__(hop_size, stft_channels) <NEW_LINE> self.min_height = min_height <NEW_LINE> <DEDENT> def _analysis_window(self, x): <NEW_LINE> <INDENT> Lgtrue = ...
Time frequency transform object based on a Truncated Gauss window.
62598f8623849d37ff850b9d
class NonlinearBlockJac(NonlinearSolver): <NEW_LINE> <INDENT> SOLVER = 'NL: NLBJ' <NEW_LINE> def _iter_execute(self): <NEW_LINE> <INDENT> self._solver_info.prefix += '| ' <NEW_LINE> self._system._transfer('nonlinear', 'fwd') <NEW_LINE> with Recording('NonlinearBlockJac', 0, self) as rec: <NEW_LINE> <INDENT> for subsys...
Nonlinear block Jacobi solver.
62598f8682261d6c5272fc44
class SetPasswordForm(forms.Form): <NEW_LINE> <INDENT> new_password1 = forms.CharField( label = ("Nueva Contraseña"), widget = forms.PasswordInput(attrs={'class': 'form-control'}) ) <NEW_LINE> new_password2 = forms.CharField( label = ("Confirme Contraseña"), widget = forms.PasswordInput(attrs={'class': 'form-control'})...
A form that lets a user change set his/her password without entering the old password
62598f86009cb60464d0100b
class Distribution(): <NEW_LINE> <INDENT> def compute_message_to_parent(self, parent, index, u_self, *u_parents): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> def compute_mask_to_parent(self, index, mask): <NEW_LINE> <INDENT> return mask <NEW_LINE> <DEDENT> def plates_to_parent(self, index, plate...
A base class for the VMP formulas of variables. Sub-classes implement distribution specific computations. If a sub-class maps the plates differently, it needs to overload the following methods: * compute_mask_to_parent * plates_to_parent * plates_from_parent
62598f865f7d997b871f9148
class LoginWindow(QDialog): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> QDialog.__init__(self) <NEW_LINE> self.login = QLineEdit(self) <NEW_LINE> self.password = QLineEdit(self) <NEW_LINE> self.password.setEchoMode(QLineEdit.Password) <NEW_LINE> self.b_login = QPushButton("Login", self) <NEW_LINE> self....
Login dialog window.
62598f86435de62698e9b8d9
class SourceTerm(TracerTerm): <NEW_LINE> <INDENT> def residual(self, solution, solution_old, fields, fields_old, bnd_conditions): <NEW_LINE> <INDENT> f = 0 <NEW_LINE> source = fields_old.get('source') <NEW_LINE> if source is not None: <NEW_LINE> <INDENT> f += -inner(source, self.test)*self.dx <NEW_LINE> <DEDENT> return...
Generic source term The weak form reads .. math:: F_s = \int_\Omega \sigma \phi dx where :math:`\sigma` is a user defined scalar :class:`Function`.
62598f86004d5f362081ed69
@register_manager <NEW_LINE> class PaludisPackageManager(PackageManager, GentooPackageManager): <NEW_LINE> <INDENT> shortcut = 'ebuild' <NEW_LINE> @classmethod <NEW_LINE> def install(cls, *args, **kwargs): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def works(cls, *args, ...
Another package manager class for Gentoo (yep, for [paludis](http://paludis.exherbo.org/) ;-) NOTE Nowadays Paludis has Python2 only API, but Python3 is coming soon (I hope) (upstream bug is here http://paludis.exherbo.org/trac/ticket/1297). NOTE Ebuild for paludis w/ Python3 support available here: https://github.co...
62598f868da39b475be02cc6
class Argument(Parameter): <NEW_LINE> <INDENT> param_type_name = 'argument' <NEW_LINE> def __init__(self, param_decls, required=None, **attrs): <NEW_LINE> <INDENT> if required is None: <NEW_LINE> <INDENT> if attrs.get('default') is not None: <NEW_LINE> <INDENT> required = False <NEW_LINE> <DEDENT> else: <NEW_LINE> <IND...
Arguments are positional parameters to a command. They generally provide fewer features than options but can have infinite ``nargs`` and are required by default. All parameters are passed onwards to the parameter constructor.
62598f86d4950a0f3b110ba5
class Bola: <NEW_LINE> <INDENT> def cria_bola(self): <NEW_LINE> <INDENT> return draw.circle(self.janela, self.cor, [self.x, self.y], self.raio, self.largura) <NEW_LINE> <DEDENT> def reescreve(self, x, y, bol): <NEW_LINE> <INDENT> x_bol = bol.x <NEW_LINE> y_bol = bol.yr <NEW_LINE> <DEDENT> def __init__(self, janela, x, ...
Cria a classe ratangulo
62598f86b7558d5895463114
class Relation(SchemaObject): <NEW_LINE> <INDENT> config_names = ['relation', 'relations'] <NEW_LINE> def _get_identifier(self): <NEW_LINE> <INDENT> return "relation_%s_%s" % (self.schema.name, self.name) <NEW_LINE> <DEDENT> def _get_dependents(self): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> de...
Base class for relations that belong in a schema (e.g. tables, views, etc.)
62598f86a4f1c619b294e0cd
@export <NEW_LINE> @subscribe_hdf5( 'bands_inspect.eigenvals_data', extra_tags=('eigenvals_data', ) ) <NEW_LINE> class EigenvalsData(HDF5Enabled, types.SimpleNamespace): <NEW_LINE> <INDENT> def __init__(self, *, kpoints, eigenvals): <NEW_LINE> <INDENT> if not isinstance(kpoints, KpointsBase): <NEW_LINE> <INDENT> kpoint...
Data container for the eigenvalues at a given set of k-points. The eigenvalues are automatically sorted by value. :param kpoints: List of k-points where the eigenvalues are given. :type kpoints: list :param eigenvals: Eigenvalues at each k-point. The outer axis corresponds to the different k-points, and the inner axi...
62598f86f8510a7c17d7dee7
class Family(family.SubdomainFamily, family.WikimediaFamily): <NEW_LINE> <INDENT> name = 'wikisource' <NEW_LINE> closed_wikis = [ 'ang', 'ht', ] <NEW_LINE> removed_wikis = [ 'tokipona', ] <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.languages_by_size = [ 'en', 'pl', 'ru', 'de', 'fr', 'zh', 'he', 'it', 'es', ...
Family class for Wikisource.
62598f86d10714528d69d9b0
class BehlerSFBlock(SymmetryFunctions): <NEW_LINE> <INDENT> def __init__(self, n_radial=22, n_angular=5, zetas={1}, cutoff_radius=5.0, elements=frozenset((1, 6, 7, 8, 9)), centered=False, crossterms=False, mode='weighted'): <NEW_LINE> <INDENT> if mode == 'weighted': <NEW_LINE> <INDENT> initz = 'weighted' <NEW_LINE> pai...
Utility layer for fast initialisation of ACSFs and wACSFs. Args: n_radial (int): Number of radial functions n_angular (int): Number of angular functions zetas (set of int): Set of exponents used to compute the angular term, default is zetas={1} cutoff_radius (float): Cutoff radius, default are 5 Angst...
62598f86a4f1c619b294e0ce
class AnalyticsRouter(object): <NEW_LINE> <INDENT> def db_for_read(self, model, **hints): <NEW_LINE> <INDENT> if model._meta.app_label.startswith('analytics_'): <NEW_LINE> <INDENT> return 'analytics' <NEW_LINE> <DEDENT> return None <NEW_LINE> <DEDENT> def db_for_write(self, model, **hints): <NEW_LINE> <INDENT> if model...
A router to control all database operations on models in the tinla application
62598f86d10714528d69d9b1
class RoomForm(ModelForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = RoomTable <NEW_LINE> fields = ('room_name',)
ルームのフォーム
62598f86be383301e02532db
class ProgressBar(plugin.ViewSpacePlugin): <NEW_LINE> <INDENT> def __init__(self, viewSpace): <NEW_LINE> <INDENT> bar = self._bar = widgets.progressbar.TimedProgressBar() <NEW_LINE> viewSpace.status.layout().addWidget(bar, 0, Qt.AlignCenter) <NEW_LINE> bar.hide() <NEW_LINE> viewSpace.viewChanged.connect(self.viewChange...
A Simple progress bar to show a Job is running.
62598f8638b623060ffa8b77
class PipelineExecutionError(PipelineError): <NEW_LINE> <INDENT> pass
Raised when an invalid pipeline execution is attempted.
62598f861d351010ab8f361c
class ClientError(Exception): <NEW_LINE> <INDENT> print("Ошибка")
Ошибка
62598f86462c4b4f79dbb4e4
class URL(BaseConfigOption): <NEW_LINE> <INDENT> def run_validation(self, value): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> parsed_url = six.moves.urllib.parse.urlparse(value) <NEW_LINE> <DEDENT> except (AttributeError, TypeError): <NEW_LINE> <INDENT> raise ValidationError("Unable to parse the URL.") <NEW_LINE> <DED...
URL Config Option Validate a URL by requiring a scheme is present.
62598f8630dc7b766599f339
class AnsChkInterrupt(Enum): <NEW_LINE> <INDENT> no_interrupt = auto() <NEW_LINE> arrived_top = auto() <NEW_LINE> arrived_end = auto()
先頭に行ったとか最後尾行ったときに伝える用
62598f86b57a9660fecd155d
class SearchResultsPageLocators(object): <NEW_LINE> <INDENT> USER_SEARCH_TEXTBOX_CSS = (By.CSS_SELECTOR, "[id='searchSystemUser_userName']") <NEW_LINE> USER_SEARCH_TEXTBOX_ID = (By.XPATH, "//*[@id='searchSystemUser_userName']") <NEW_LINE> USER_ROLE_DROPDOWN_ID = (By.XPATH, "//*[@id='searchSystemUser_userType']") <NEW_L...
A class for search results locators. All search results locators should come here Note: for css selectors Input field is mandatory
62598f86596a897236127753
class Vertex(Vrepresentation): <NEW_LINE> <INDENT> def type(self): <NEW_LINE> <INDENT> return self.VERTEX <NEW_LINE> <DEDENT> def is_vertex(self): <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> def _repr_(self): <NEW_LINE> <INDENT> return 'A vertex at ' + repr(self.vector()); <NEW_LINE> <DEDENT> def evaluated_on(s...
A vertex of the polyhedron. Inherits from ``Vrepresentation``.
62598f8615baa72349461a5f
class timeout_after(object): <NEW_LINE> <INDENT> def __init__(self, dur, exctype = TimeoutError): <NEW_LINE> <INDENT> if not inspect.isclass(exctype): <NEW_LINE> <INDENT> raise TypeError('exctype must be a type (not instance)') <NEW_LINE> <DEDENT> self.exctype = exctype <NEW_LINE> self.completed = False <NEW_LINE> self...
Combined context manager and decorator for timed execution As decorator: @timeout_after(dur) As context manager: with timeout_after(dur): ... Wrapped code is allowed to run for up to dur seconds, after which TimeoutError is raised inside that thread. Exception is not raised if thread is in middle of a system call, bu...
62598f8666656f66f7d59ed7
class AgentTaggingMixin(object): <NEW_LINE> <INDENT> if not PY3: <NEW_LINE> <INDENT> NUMERIC_TYPES = (int, long) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> NUMERIC_TYPES = int <NEW_LINE> <DEDENT> @validates("tag", "software") <NEW_LINE> def validate_string_column(self, key, value): <NEW_LINE> <INDENT> if isinstance(...
Mixin used which provides some common structures to :class:`.AgentTag` and :class:`.AgentSoftware`
62598f86dc8b845886d53097
class Volume(object): <NEW_LINE> <INDENT> def __init__(self, **kw): <NEW_LINE> <INDENT> for k, v in kw.items(): <NEW_LINE> <INDENT> setattr(self, k, v) <NEW_LINE> <DEDENT> self.lv_api = kw <NEW_LINE> self.name = kw['lv_name'] <NEW_LINE> self.tags = parse_tags(kw['lv_tags']) <NEW_LINE> <DEDENT> def __str__(self): <NEW_L...
Represents a Logical Volume from LVM, with some top-level attributes like ``lv_name`` and parsed tags as a dictionary of key/value pairs.
62598f86cad5886f8bdc4dfa
class FastaDataProvider(base.FilteredDataProvider): <NEW_LINE> <INDENT> settings = { 'ids': 'list:str', } <NEW_LINE> def __init__(self, source, ids=None, **kwargs): <NEW_LINE> <INDENT> source = bx_seq.fasta.FastaReader(source) <NEW_LINE> super().__init__(source, **kwargs) <NEW_LINE> self.ids = ids <NEW_LINE> <DEDENT> d...
Class that returns fasta format data in a list of maps of the form:: { id: <fasta header id>, sequence: <joined lines of nucleotide/amino data> }
62598f866aa9bd52df0d49be
class ActiveUsersAcceptanceTest(AcceptanceTestCase): <NEW_LINE> <INDENT> DATE = '2017-07-24' <NEW_LINE> def setUp(self): <NEW_LINE> <INDENT> super(ActiveUsersAcceptanceTest, self).setUp() <NEW_LINE> self.upload_tracking_log('active_users_tracking.log', datetime.datetime(2017, 7, 21)) <NEW_LINE> self.upload_tracking_log...
End-to-end test of the workflow to load active_users_this_year warehouse table.
62598f8616aa5153ce3fffe4
class MapreducePipelineTest(testutil.HandlerTestBase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> testutil.HandlerTestBase.setUp(self) <NEW_LINE> pipeline.Pipeline._send_mail = self._send_mail <NEW_LINE> self.emails = [] <NEW_LINE> <DEDENT> def _send_mail(self, sender, subject, body, html=None): <NEW_LINE...
Tests for MapreducePipeline.
62598f8615fb5d323ce7e80d
class OfflineIsolatedInstancesRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.InstanceIds = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> self.InstanceIds = params.get("InstanceIds")
OfflineIsolatedInstances request structure.
62598f868a349b6b43685d27
class PollingMethod(Generic[PollingReturnType]): <NEW_LINE> <INDENT> def initialize(self, client, initial_response, deserialization_callback): <NEW_LINE> <INDENT> raise NotImplementedError("This method needs to be implemented") <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> raise NotImplementedError("This metho...
ABC class for polling method.
62598f86a4f1c619b294e0d0
class TestLibraryTypes(BaseTestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.create_user('foo@bar.io', 'foo-foo') <NEW_LINE> self.client.login(email='foo@bar.io', password='foo-foo') <NEW_LINE> self.library_protocol = LibraryProtocol( name=self._get_random_name(), type='DNA', provider='-', catalo...
Tests for library types.
62598f8607f4c71912baef26
class Roles: <NEW_LINE> <INDENT> def __init__(self, name): <NEW_LINE> <INDENT> self.name = name
Roles from discord context object
62598f86c432627299fa2ab2
class UsIdxDaily(Base): <NEW_LINE> <INDENT> __tablename__ = 'US_IDX_DAILY' <NEW_LINE> id = Column(Integer, primary_key=True) <NEW_LINE> code = Column(String(64), nullable=False, doc="指数代码") <NEW_LINE> day = Column(Date, nullable=False, doc="日期") <NEW_LINE> pre_close = Column(Numeric(20, 6), nullable=True, doc="前收价") <N...
美股指数基金净值数据
62598f86be383301e02532dd
class AxisEntityBase(Entity): <NEW_LINE> <INDENT> def __init__(self, device): <NEW_LINE> <INDENT> self.device = device <NEW_LINE> <DEDENT> async def async_added_to_hass(self): <NEW_LINE> <INDENT> self.async_on_remove( async_dispatcher_connect( self.hass, self.device.signal_reachable, self.update_callback ) ) <NEW_LINE>...
Base common to all Axis entities.
62598f868a43f66fc4bf1c65
class Nosh(Svc): <NEW_LINE> <INDENT> distro = 'nosh' <NEW_LINE> def __init__(self, module): <NEW_LINE> <INDENT> Svc.__init__(self,module) <NEW_LINE> self.sys_cmd = module.get_bin_path('system-control', opt_dirs=self.extra_paths) <NEW_LINE> self.svc_cmd = module.get_bin_path('service-control', opt_dirs=self.extra_paths)...
Class used for the nosh service manager
62598f86a17c0f6771d5bd25
class Genre(models.Model): <NEW_LINE> <INDENT> title = models.CharField(max_length=100) <NEW_LINE> slug = models.SlugField(unique=True) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> ordering = ('title',) <NEW_LINE> <DEDENT> def __unicode__(self): <NEW_LINE> <INDENT> return '%s' % self.title
Genre model
62598f86b5575c28eb712a39
class Summary: <NEW_LINE> <INDENT> def __init__(self, summary: str, url: str): <NEW_LINE> <INDENT> self.summary = summary <NEW_LINE> self.url = url
Base object to hold the result of a summary, which includes the summary of the webpage, and its url
62598f8615baa72349461a61
class Pose(AnimationTrack): <NEW_LINE> <INDENT> def __init__(self, name, poseData): <NEW_LINE> <INDENT> super(Pose, self).__init__(name, poseData, nFrames=1, framerate=1) <NEW_LINE> <DEDENT> def sparsify(self, newFrameRate): <NEW_LINE> <INDENT> raise NotImplementedError("sparsify() does not exist for poses") <NEW_LINE>...
A pose is an animation track with only one frame, and is not affected by playback time. It's possible to convert a frame from an animation to a pose using: Pose(anim.name, anim.getAtTime(t)) or Pose(anim.name, anim.getAtFramePos(i))
62598f8694891a1f408b9460
class Str(Prop): <NEW_LINE> <INDENT> _default = '' <NEW_LINE> def validate(self, val): <NEW_LINE> <INDENT> if not isinstance(val, string_types): <NEW_LINE> <INDENT> raise ValueError('Str prop %r requires a string.' % self.name) <NEW_LINE> <DEDENT> return val
Stores a string. Requires set value to be a string. The default value is the empty string.
62598f8671ff763f4b5e7252
class JSONResponse(HTTPResponse): <NEW_LINE> <INDENT> def __init__(self, body): <NEW_LINE> <INDENT> super().__init__(json.dumps(body), headers={'Content-Type': 'application/json'})
For sending JSON Responses
62598f86596a897236127755
class PyQuilExecutableResponse(Message): <NEW_LINE> <INDENT> __slots__ = ( 'program', 'attributes', ) <NEW_LINE> def asdict(self): <NEW_LINE> <INDENT> return { 'program': self.program, 'attributes': self.attributes } <NEW_LINE> <DEDENT> def astuple(self): <NEW_LINE> <INDENT> return ( self.program, self.attributes ) <NE...
Pidgin-serializable form of a pyQuil Program object.
62598f86dc8b845886d53099
class SessionProfileStore(Base): <NEW_LINE> <INDENT> def save_session(self, request): <NEW_LINE> <INDENT> if not hasattr(request, 'user'): <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> store = self.get_session_store(request) <NEW_LINE> if store is not None and store.session_key is not None: <NEW_LINE> <INDENT> sp, _ =...
Backend that saves the link between session_key and user in the databse.
62598f8610dbd63aa1c70697
class Menu(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=32) <NEW_LINE> url_name = models.CharField(max_length=64) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.name <NEW_LINE> <DEDENT> class Meta: <NEW_LINE> <INDENT> verbose_name_plural = "角色对应的菜单表"
角色对应的菜单表
62598f8663b5f9789fe84c54
class TestCategoryResponse(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 testCategoryResponse(self): <NEW_LINE> <INDENT> model = kinow_client.models.category_response.CategoryResponse()
CategoryResponse unit test stubs
62598f8624f1403a9268561f
class NexusParseStandardCharsWithMultistateTest(datatest.DataObjectVerificationTestCase): <NEW_LINE> <INDENT> def map_multistate_to_symbols(self, char_matrix): <NEW_LINE> <INDENT> self.assertEqual(len(char_matrix.state_alphabets), 1) <NEW_LINE> sa = char_matrix.state_alphabets[0] <NEW_LINE> for sae in sa: <NEW_LINE> <I...
This tests the capability of the NEXUS parser in handling "{}" and "()" constructs in the data. Two files are used, one in which the ambiguous data are marked up using "{}" and "()" constructs, and the other in which these are substituted by symbols representing the appropriate multistate. The first file is parsed, and...
62598f863eb6a72ae038a117
class Triangle(Wave): <NEW_LINE> <INDENT> module = 'trianglewave' <NEW_LINE> def tick(self, tm): <NEW_LINE> <INDENT> a = self.amplitude <NEW_LINE> p = self.frequency <NEW_LINE> raw = (2*a/p)*(abs((tm % p) - p/2) - p/4) <NEW_LINE> rounded = int(raw*1000)/1000 <NEW_LINE> shifted = self.lo + a/2 + rounded <NEW_LINE> self....
https://en.wikipedia.org/wiki/Triangle_wave
62598f86711fe17d825e01ce
class ShellySleepingBlockAttributeEntity(ShellyBlockAttributeEntity, RestoreEntity): <NEW_LINE> <INDENT> def __init__( self, wrapper: ShellyDeviceWrapper, block: aioshelly.Block, attribute: str, description: BlockAttributeDescription, entry: entity_registry.RegistryEntry | None = None, sensors: set | None = None, ) -> ...
Represent a shelly sleeping block attribute entity.
62598f8616aa5153ce3fffe6
class _ReentrantLock(_LockBase): <NEW_LINE> <INDENT> def __init__(self, client, lock_name, instance_value, ttl): <NEW_LINE> <INDENT> super(_ReentrantLock, self).__init__(client, lock_name, ttl) <NEW_LINE> self.__instance_value = instance_value <NEW_LINE> <DEDENT> def acquire(self): <NEW_LINE> <INDENT> self.client.debug...
This lock will allow the lock to be reacquired without blocking by anything with the same instance-value.
62598f86d4950a0f3b110ba7
class IgnoreRawDecorator: <NEW_LINE> <INDENT> def __init__(self, f): <NEW_LINE> <INDENT> self.f = f <NEW_LINE> <DEDENT> def __call__(self, *args, **kwargs): <NEW_LINE> <INDENT> if kwargs.get("raw"): <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> return self.f(*args, **kwargs)
The `IgnoreRawDecorator` is a decorator to ignore raw/fixture data during signals handling. usage example: @receiver(post_save, sender=settings.AUTH_USER_MODEL) @ignore_raw def my_signal_handler(sender, instance=None, created=False, **kwargs): ... return ...
62598f869b70327d1c57e882
class Action: <NEW_LINE> <INDENT> def __init__(self, name: str, default_action: bool, config_dict: dict): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.default_action = default_action <NEW_LINE> self.config_dict = config_dict <NEW_LINE> <DEDENT> def add_config_item(self, config_param: ConfigParam): <NEW_LINE> <I...
Class for describing the action to be performed everytime that the auction should be triggered Attributes ---------- name: String Name of the procedure to be performed default_action: Boolean defines whether or not this action is the default one for the auction config_dict: dict configuration tuple to be...
62598f860383005118f6d1df
class Statistics(GenStatistics): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> GenStatistics.__init__(self) <NEW_LINE> self.stats_names = ((_BENDS_DETECTED, )) <NEW_LINE> self.add_iteration() <NEW_LINE> <DEDENT> def get_stats (self, type=GenStatistics.SUMMARY): <NEW_LINE> <INDENT> str_out = [] <NEW_LINE> ...
Class that contains the statistics for the talweg cohenrence algorithm Attributes stat_names: Name of the statistics for the TalwegStatistics class. These name are used by the Statistics class
62598f86d10714528d69d9b5
class DataProcessor(object): <NEW_LINE> <INDENT> def get_train_examples(self, data_dir): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> def get_dev_examples(self, data_dir): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> def get_labels(self): <NEW_LINE> <INDENT> raise NotImplem...
Base class for data converters for sequence classification data sets.
62598f86498bea3a75a57608
class TestBaseRule(unittest.TestCase,metaclass=ABCMeta): <NEW_LINE> <INDENT> _submission = REDDIT.get_new() <NEW_LINE> @abstractmethod <NEW_LINE> def setUp(self): <NEW_LINE> <INDENT> self._rule = BaseRule(subreddits="drsbottesting") <NEW_LINE> <DEDENT> @abstractmethod <NEW_LINE> def tearDown(self): <NEW_LINE> <INDE...
A Rule should have a name; active subreddits; a condition; and an action. A rule should have equailty.
62598f860a50d4780f704ebd
class Revision(object): <NEW_LINE> <INDENT> table_name = Column(String(20), nullable=False, index=True) <NEW_LINE> record_id = Column(Integer, nullable=False, index=True) <NEW_LINE> command = Column(Enum('insert', 'update', 'delete'), nullable=False) <NEW_LINE> delta = Column(BigJSON, nullable=True) <NEW_LINE> def set_...
All revision records in a single table (role).
62598f863617ad0b5ee05c27
class Reporter(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._file = open('logs/report.txt','w') <NEW_LINE> self._file.write('\n') <NEW_LINE> <DEDENT> def append_to_report(self, report_line): <NEW_LINE> <INDENT> self._file.write(report_line + '\n') <NEW_LINE> return None <NEW_LINE> <DEDENT> ...
Reporter object that creates per day a file to which lines can be added reporting the activities of oli, so it can be sent at the end of the day
62598f860fa83653e46f49d3
class Tree: <NEW_LINE> <INDENT> class Node: <NEW_LINE> <INDENT> def __init__(self, value, parent): <NEW_LINE> <INDENT> self.value = value <NEW_LINE> self.parent = parent <NEW_LINE> self.children = set() <NEW_LINE> <DEDENT> def add(self, child): <NEW_LINE> <INDENT> self.children.add(child) <NEW_LINE> <DEDENT> <DEDENT> d...
General tree with both parent and children links.
62598f86287bf620b627169a
@implementer(IIntIdRemovedEvent) <NEW_LINE> class IntIdRemovedEvent(object): <NEW_LINE> <INDENT> def __init__(self, object, event): <NEW_LINE> <INDENT> self.object = object <NEW_LINE> self.original_event = event
The event which is published before the unique id is removed from the utility so that the catalogs can unindex the object.
62598f86a17c0f6771d5bd27
class AuthorBiographyManager(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.contents = {} <NEW_LINE> <DEDENT> def add(self, content): <NEW_LINE> <INDENT> if not isinstance(content, AuthorBiography): <NEW_LINE> <INDENT> raise Exception("This manager only accepts 'AuthorBiography' objects") <NE...
Manager for easy access to biography objects in templates.
62598f86a79ad16197769b46
class WorkflowVersion(Resource): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'created_time': {'readonly': True}, 'changed_time': {'readonly': True}, 'version': {'readonly': True}, 'access_endpoint': {'readonly': True}, } <NEW_LINE> _attribute_map...
The workflow version. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: The resource id. :vartype id: str :ivar name: Gets the resource name. :vartype name: str :ivar type: Gets the resource type. :vartype type: str :param location: The resource location. :type location...
62598f86ec188e330fdf8383
class TC_3544_T014670_search_vod_by_tytle (TC_OPL_template): <NEW_LINE> <INDENT> def __init__(self, methodName): <NEW_LINE> <INDENT> TC_OPL_template.__init__(self, methodName) <NEW_LINE> <DEDENT> def test(self): <NEW_LINE> <INDENT> self.logger.info("----- " + self.__class__.__name__ + " START -----") <NEW_LINE> ''' pre...
@author: Arek Kępka
62598f86596a897236127757
class ProjectUserTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> from stalker import Status, StatusList, Repository <NEW_LINE> self.test_repo = Repository( name='Test Repo' ) <NEW_LINE> self.status_new = Status(name='New', code='NEW') <NEW_LINE> self.status_wip = Status(name='Work ...
tests for ProjectUser class
62598f8607f4c71912baef29
class IamportResponse: <NEW_LINE> <INDENT> def __init__(self, requests_response): <NEW_LINE> <INDENT> self.status = requests_response.status_code <NEW_LINE> body = requests_response.json() <NEW_LINE> self.code = body.get('code') <NEW_LINE> self.message = body.get('message') <NEW_LINE> self.data = body.get('response', {...
아임포트 API 응답 객체 Attributes: status (int): API 응답 HTTP 상태 코드 code (int): API 응답코드 message (str): API 응답메세지 data (dict): API 응답 response 데이터
62598f8650485f2cf55daa58