code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class ModelDoesNotExistError(Exception): <NEW_LINE> <INDENT> pass
Model does not exists
62598fa1be8e80087fbbeebd
class TaskData(_NodeData): <NEW_LINE> <INDENT> input: AbinitInput = Field(..., description="Abinit input object") <NEW_LINE> num_warnings: int = Field(..., description="Number of warnings found the in log file") <NEW_LINE> num_errors: int = Field(..., description="Number of errors") <NEW_LINE> num_comments: int = Field...
Data Model associated to an AbiPy |Task|.
62598fa1627d3e7fe0e06d09
class ShapemaskLoss(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._binary_crossentropy = tf.keras.losses.BinaryCrossentropy( reduction=tf.keras.losses.Reduction.SUM, from_logits=True) <NEW_LINE> <DEDENT> def __call__(self, logits, labels, valid_mask): <NEW_LINE> <INDENT> with tf.name_scope('...
ShapeMask mask loss function wrapper.
62598fa121bff66bcd722ac2
class DataFloat(_object): <NEW_LINE> <INDENT> __swig_setmethods__ = {} <NEW_LINE> __setattr__ = lambda self, name, value: _swig_setattr(self, DataFloat, name, value) <NEW_LINE> __swig_getmethods__ = {} <NEW_LINE> __getattr__ = lambda self, name: _swig_getattr(self, DataFloat, name) <NEW_LINE> __repr__ = _swig_repr <NEW...
Encapulates a vector of float elements, for example baseband data. This package can be retrieved from the module with the use of read_message_data_float in the XEP interface. Python warning: Accessing vectors directly can cause memory corruption if the parent object goes out of scope and is garbage collected. Use...
62598fa1851cf427c66b8126
class TestGatherTree(test.TestCase): <NEW_LINE> <INDENT> def test_gather_tree(self): <NEW_LINE> <INDENT> predicted_ids = np.array([[[1, 2, 3], [4, 5, 6], [7, 8, 9]], [[2, 3, 4], [5, 6, 7], [8, 9, 10]]]).transpose([1, 0, 2]) <NEW_LINE> parent_ids = np.array([ [[0, 0, 0], [0, 1, 1], [2, 1, 2]], [[0, 0, 0], [1, 2, 0], [2,...
Tests the gather_tree function.
62598fa1442bda511e95c2b9
class BaseGrammarTest(object): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(BaseGrammarTest, self).__init__(*args, **kwargs) <NEW_LINE> self.parser = ConvertibleParser(self.grammar) <NEW_LINE> <DEDENT> def test_expressions(self): <NEW_LINE> <INDENT> for expression, expected_node in...
Base test case for a grammar and the expressions its parser could handle. Subclasses must define all the following attributes for the test case to work. .. attribute:: grammar An instance of the grammar to be tested. **This attribute must be set in the subclasses**, like this:: from booleano...
62598fa18e7ae83300ee8efe
class StoogeSort(SortAlgorithm): <NEW_LINE> <INDENT> def sort(self): <NEW_LINE> <INDENT> for x in self.stoogeSort(0, len(self.items.items) - 1): <NEW_LINE> <INDENT> yield <NEW_LINE> <DEDENT> <DEDENT> def stoogeSort(self, left, right): <NEW_LINE> <INDENT> leftMarker = self.markers.addMarker(True, left, (0, 0, 255)) <NE...
Implements Stooge sort O(n^(lg 3 / lg 1.5)), ?-stable, in-place http://en.wikipedia.org/wiki/Stooge_sort
62598fa1fbf16365ca793f19
class LcBuilder(object): <NEW_LINE> <INDENT> def __init__(self,pions,kaons,protons,config): <NEW_LINE> <INDENT> self.pions = pions <NEW_LINE> self.kaons = kaons <NEW_LINE> self.protons = protons <NEW_LINE> self.config = config <NEW_LINE> self.pkpi = [self._makeLc2pKpi()] <NEW_LINE> <DEDENT> def _makeLc2pKpi(self): <NEW...
Produces all Lambda_c baryons for the Beauty2Charm module.
62598fa1a17c0f6771d5c098
class GazeNet(nn.Module): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(GazeNet, self).__init__() <NEW_LINE> self.face_net = resnext50(4,32) <NEW_LINE> self.eye_net = resnext50(4,32) <NEW_LINE> <DEDENT> def calc_gaze_lola(self,head,eye): <NEW_LINE> <INDENT> head_lo = head[:,0] <NEW_LINE> head_la = h...
The end_to_end model of Gaze Prediction Training
62598fa18da39b475be0303d
class Document(object): <NEW_LINE> <INDENT> def __init__(self, content, identifier, metadata): <NEW_LINE> <INDENT> self.metadata = metadata <NEW_LINE> self.identifier = identifier <NEW_LINE> self.tokens, _ = tokenize(content) <NEW_LINE> self.raw_tokens = list( filter(lambda x: x not in stopwords, self.tokens)) <NEW_LIN...
a container object for properties of a given document
62598fa1e76e3b2f99fd8896
class Save2eEsPipeline(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.es = EsObject(index_name=settings.INDEX_NAME, index_type=settings.INDEX_TYPE, host=settings.ES_HOST, port=settings.ES_PORT) <NEW_LINE> <DEDENT> def process_item(self, item, spider): <NEW_LINE> <INDENT> if item: <NEW_LINE> <...
存储elasticsearch
62598fa17047854f4633f236
class LogsView(BrowserView): <NEW_LINE> <INDENT> @property <NEW_LINE> def logs(self): <NEW_LINE> <INDENT> return sorted(self.context._logs, key=operator.itemgetter(1), reverse=True)
Display logs
62598fa10c0af96317c561e1
@error('xbr.network.error.username_already_exists') <NEW_LINE> class UsernameAlreadyExists(ApplicationError): <NEW_LINE> <INDENT> def __init__(self, username, alt_username=None): <NEW_LINE> <INDENT> if alt_username: <NEW_LINE> <INDENT> msg = 'username "{}" already exists. alternative available username "{}"'.format(use...
An action could not be performed because the chosen username already exists.
62598fa1be383301e0253655
class Position(_Position): <NEW_LINE> <INDENT> def __add__(self, other): <NEW_LINE> <INDENT> x, y = other <NEW_LINE> return Position(x=self.x + x, y=self.y + y) <NEW_LINE> <DEDENT> def __sub__(self, other): <NEW_LINE> <INDENT> x, y = other <NEW_LINE> return self.__add__((-x, -y))
Represents screen positions.
62598fa13d592f4c4edbad2c
class ClearBladeModbusProxyServerContext(ModbusServerContext): <NEW_LINE> <INDENT> def __init__(self, cb_system, cb_auth, cb_slaves_config, cb_data, **kwargs): <NEW_LINE> <INDENT> super(ClearBladeModbusProxyServerContext, self).__init__(single=kwargs.get('single', False)) <NEW_LINE> if is_logger(kwargs.get('log', None)...
A Modbus server context, initialized by reading a ClearBlade collection defining Slave configurations / templates
62598fa15f7d997b871f930f
class Genre(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=200, help_text='Enter a book genre (e.g. Science Fiction)') <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.name
Model representing a book genre.
62598fa185dfad0860cbf9a4
class Nfs(Deployment): <NEW_LINE> <INDENT> compatibility = 1 <NEW_LINE> def __init__(self, parent, parameters): <NEW_LINE> <INDENT> super(Nfs, self).__init__(parent) <NEW_LINE> self.action = NfsAction() <NEW_LINE> self.action.section = self.action_type <NEW_LINE> self.action.job = self.job <NEW_LINE> parent.add_action(...
Strategy class for a NFS deployment. Downloads rootfs and deploys to NFS server on dispatcher
62598fa1ac7a0e7691f7236a
class SettingValue: <NEW_LINE> <INDENT> def __init__(self, typ, default=None): <NEW_LINE> <INDENT> self.typ = typ <NEW_LINE> self.values = collections.OrderedDict.fromkeys( ['temp', 'conf', 'default']) <NEW_LINE> self.values['default'] = default <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return self.val...
Base class for setting values. Intended to be subclassed by config value "types". Attributes: typ: A BaseType subclass instance. value: (readonly property) The currently valid, most important value. values: An OrderedDict with the values on different layers, with the most significant layer fir...
62598fa12c8b7c6e89bd3626
class AllowTrustResult: <NEW_LINE> <INDENT> def __init__( self, code: AllowTrustResultCode, ) -> None: <NEW_LINE> <INDENT> self.code = code <NEW_LINE> <DEDENT> def pack(self, packer: Packer) -> None: <NEW_LINE> <INDENT> self.code.pack(packer) <NEW_LINE> if self.code == AllowTrustResultCode.ALLOW_TRUST_SUCCESS: <NEW_LIN...
XDR Source Code ---------------------------------------------------------------- union AllowTrustResult switch (AllowTrustResultCode code) { case ALLOW_TRUST_SUCCESS: void; default: void; }; ----------------------------------------------------------------
62598fa1379a373c97d98e76
class Action: <NEW_LINE> <INDENT> HARDWARE = None <NEW_LINE> @staticmethod <NEW_LINE> def hw(): <NEW_LINE> <INDENT> return Action.HARDWARE <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def nothing(): <NEW_LINE> <INDENT> None <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def do_power_payload(): <NEW_LINE> <INDENT> hw = Ac...
All actions associated with state transitions.
62598fa1f7d966606f747e42
class DummyAuth(object): <NEW_LINE> <INDENT> def __init__(self, **kw): <NEW_LINE> <INDENT> self._users = {} <NEW_LINE> <DEDENT> def create_user(self, user_name, password, email): <NEW_LINE> <INDENT> if user_name in self._users: <NEW_LINE> <INDENT> return False <NEW_LINE> <DEDENT> id_ = random.randint(1, 2000) <NEW_LINE...
Dummy authentication. Will store the user ids in memory
62598fa13c8af77a43b67e70
class MnliProcessor(DataProcessor): <NEW_LINE> <INDENT> def get_train_examples(self, data_dir): <NEW_LINE> <INDENT> return self._create_examples( self._read_tsv(os.path.join(data_dir, "train.tsv")), "train") <NEW_LINE> <DEDENT> def get_dev_examples(self, data_dir): <NEW_LINE> <INDENT> return self._create_examples( self...
Processor for the MultiNLI data set (GLUE version).
62598fa145492302aabfc331
class RaceConditionException(Exception): <NEW_LINE> <INDENT> pass
Raised when an object could not be saved in X attempts
62598fa1d268445f26639ab3
class Card: <NEW_LINE> <INDENT> card_size = (50, 70) <NEW_LINE> def __init__(self, num: int): <NEW_LINE> <INDENT> self.num = num <NEW_LINE> self.active = False <NEW_LINE> self.pos = [0, 0] <NEW_LINE> <DEDENT> def load_graphic(self): <NEW_LINE> <INDENT> self.img = pygame.image.load(folder+str(self.num)+".png") <NEW_LINE...
Describes Card entity - load image from folder if requested - store description - identify by number (num)
62598fa1d6c5a102081e1fa7
class TestHelpLinksInterface(Interface): <NEW_LINE> <INDENT> nickname = Text(title=u'nickname') <NEW_LINE> displayname = Text(title=u'displayname')
Test interface for the view below.
62598fa1dd821e528d6d8d95
@_register_parser <NEW_LINE> @_set_msg_type(ofproto.OFPT_PORT_STATUS) <NEW_LINE> class OFPPortStatus(MsgBase): <NEW_LINE> <INDENT> def __init__(self, datapath, reason=None, desc=None): <NEW_LINE> <INDENT> super(OFPPortStatus, self).__init__(datapath) <NEW_LINE> self.reason = reason <NEW_LINE> self.desc = desc <NEW_LINE...
Port status message The switch notifies controller of change of ports. ================ ====================================================== Attribute Description ================ ====================================================== reason One of the following values. | OFPPR_AD...
62598fa163b5f9789fe84fd5
class Email(Module): <NEW_LINE> <INDENT> MAILGUN = 'MAILGUN' <NEW_LINE> __default_config__ = { 'type': MAILGUN } <NEW_LINE> logger = logging.getLogger('wing_database') <NEW_LINE> def init(self, config): <NEW_LINE> <INDENT> self.app.context.modules.email = self <NEW_LINE> self._type = config.get('type') <NEW_LINE> if se...
Drongo module for sending emails
62598fa10a50d4780f70523b
class StatusWidetUpdateWorker(QtCore.QRunnable): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(StatusWidetUpdateWorker, self).__init__() <NEW_LINE> self.signal = StatusWidetUpdateWorkerSignals() <NEW_LINE> <DEDENT> @QtCore.pyqtSlot() <NEW_LINE> def run(self): <NEW_LINE> <INDENT> api = get_ckan_api()...
Worker for updating the current API situation
62598fa1c432627299fa2e3b
class DropDownItem(Widget, _MixinTextualWidget): <NEW_LINE> <INDENT> def __init__(self, text, *args, **kwargs): <NEW_LINE> <INDENT> super(DropDownItem, self).__init__(*args, **kwargs) <NEW_LINE> self.type = 'option' <NEW_LINE> self.set_text(text) <NEW_LINE> <DEDENT> def set_value(self, text): <NEW_LINE> <INDENT> return...
item widget for the DropDown
62598fa18e7ae83300ee8f01
class NormalItem(Item, ItemProps): <NEW_LINE> <INDENT> def __init__(self, name, sell_in, quality): <NEW_LINE> <INDENT> super().__init__(name, sell_in, quality) <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return super().__repr__() <NEW_LINE> <DEDENT> def update(self) -> None: <NEW_LINE> <INDENT> if self....
Item común y corriente de la tienda
62598fa156b00c62f0fb2711
class Storage: <NEW_LINE> <INDENT> def __init__(self, root_directory): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> self.__root_path = Path(root_directory) <NEW_LINE> self.__root_path.mkdir(parents=True, exist_ok=True) <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> raise IOError("Impossible d'initialiser le stockage."...
Parser for user input (intents).
62598fa1cc0a2c111447ae6f
class TestCharField(FieldValues): <NEW_LINE> <INDENT> valid_inputs = { 1: '1', 'abc': 'abc' } <NEW_LINE> invalid_inputs = { '': ['This field may not be blank.'] } <NEW_LINE> outputs = { 1: '1', 'abc': 'abc' } <NEW_LINE> field = serializers.CharField() <NEW_LINE> def test_trim_whitespace_default(self): <NEW_LINE> <INDEN...
Valid and invalid values for `CharField`.
62598fa1462c4b4f79dbb86d
class ExceptionStackContext(object): <NEW_LINE> <INDENT> def __init__(self, exception_handler): <NEW_LINE> <INDENT> self.exception_handler = exception_handler <NEW_LINE> <DEDENT> def __enter__(self): <NEW_LINE> <INDENT> self.old_contexts = _state.contexts <NEW_LINE> _state.contexts = (self.old_contexts + ((ExceptionSta...
Specialization of StackContext for exception handling. The supplied exception_handler function will be called in the event of an uncaught exception in this context. The semantics are similar to a try/finally clause, and intended use cases are to log an error, close a socket, or similar cleanup actions. The exc_info ...
62598fa199fddb7c1ca62d18
class BookLevel: <NEW_LINE> <INDENT> def __init__(self) -> None: <NEW_LINE> <INDENT> self.soccer, self.tennis, self.hockey, self.basket, self.volley = ([] for i in range(5)) <NEW_LINE> <DEDENT> def attrs_dict(self) -> dict: <NEW_LINE> <INDENT> return {attr: val for attr, val in self.__dict__.items() if isinstance(val, ...
Represent level of bookmaker, on which bookmaker has 5 types of sports.
62598fa15fdd1c0f98e5ddf9
@unittest.skip("option not available") <NEW_LINE> class InsiderAuctionComplaintResourceTest(BaseInsiderAuctionWebTest, AuctionComplaintResourceTestMixin): <NEW_LINE> <INDENT> pass
Test Case for Auction Complaint resource
62598fa1e64d504609df92e9
class URDFObject(object): <NEW_LINE> <INDENT> def __init__(self, urdf_path, sensor_pos_vector3): <NEW_LINE> <INDENT> if len(sensor_pos_vector3) == 3: <NEW_LINE> <INDENT> self._obj = p.loadURDF(urdf_path, sensor_pos_vector3) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> raise ValueError("use a 3 length sensor_pos_vector...
class to process all the URDF references usually inherited by other object creator classes
62598fa14f6381625f1993ed
class HIBC: <NEW_LINE> <INDENT> def __init__(self, _hibc_n): <NEW_LINE> <INDENT> self.hibc = _hibc_n <NEW_LINE> self.primary, self.secondary = None, None <NEW_LINE> self.lic = None <NEW_LINE> self.units = None <NEW_LINE> self.expire_date = None <NEW_LINE> self.edi_number = None <NEW_LINE> self.lot_number = None <NEW_LI...
Barcode Parser
62598fa1f548e778e596b40f
class MonitorServer(XmlRpcBaseServer): <NEW_LINE> <INDENT> server_name = "monitor" <NEW_LINE> method_names = XmlRpcBaseServer.method_names + [ 'startRecord', 'stopRecord', 'getResult', 'getXmlResult', 'getMonitorsConfig'] <NEW_LINE> def __init__(self, argv=None): <NEW_LINE> <INDENT> self.interval = None <NEW_LINE> self...
The XML RPC monitor server.
62598fa12ae34c7f260aaf41
class InjectSink(Sink): <NEW_LINE> <INDENT> def __init__(self, iface=None, name=None): <NEW_LINE> <INDENT> Sink.__init__(self, name=name) <NEW_LINE> if iface == None: <NEW_LINE> <INDENT> iface = conf.iface <NEW_LINE> <DEDENT> self.iface = iface <NEW_LINE> <DEDENT> def start(self): <NEW_LINE> <INDENT> self.s = conf.L2so...
Packets received on low input are injected to an interface +-----------+ >>-| |->> | | >-|--[iface] |-> +-----------+
62598fa16e29344779b004bd
class PendingCertificateSigningRequestResult(Model): <NEW_LINE> <INDENT> _validation = { 'value': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'value': {'key': 'value', 'type': 'str'}, } <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.value = None
The pending certificate signing request result. Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The pending certificate signing request as Base64 encoded string. :vartype value: str
62598fa11b99ca400228f45f
class SparkSqlToDF(AbstractSqlToDF): <NEW_LINE> <INDENT> __spark_context = None <NEW_LINE> __hive_context = None <NEW_LINE> def __init__(self, *args,**kwargs): <NEW_LINE> <INDENT> super(SparkSqlToDF, self).__init__() <NEW_LINE> if SparkSqlToDF.__spark_context: <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> if not os.e...
Conversion of Hive SQL resultset to Panda's dataframe.
62598fa132920d7e50bc5eb7
class Sets(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=40, help_text="Enter a name of an item") <NEW_LINE> summary = models.TextField(max_length=1000, help_text="Enter a brief description of an item") <NEW_LINE> image = models.ImageField(blank=True, null=True, upload_to="sets_images") <NEW_LIN...
Model representing a set (box with candies)
62598fa1baa26c4b54d4f111
class CrestList(list): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def fromlist(listt): <NEW_LINE> <INDENT> new = CrestList() <NEW_LINE> new.extend(listt) <NEW_LINE> return new
a special class that's produced when using an annotation with several states (transitions, updates)
62598fa1a219f33f346c667b
class TerminalBackendInterface: <NEW_LINE> <INDENT> def __init__(self, token, base_url): <NEW_LINE> <INDENT> self.token = token <NEW_LINE> self.base_url = base_url <NEW_LINE> self._auth_header = {'Authorization': 'Token '+self.token} <NEW_LINE> self._info = self.api_get('/terminals/myself') <NEW_LINE> <DEDENT> def api_...
Interface from terminal to backend server
62598fa12ae34c7f260aaf42
class ToolAction: <NEW_LINE> <INDENT> @abstractmethod <NEW_LINE> def execute(self, tool, trans, incoming=None, set_output_hid=True, **kwargs): <NEW_LINE> <INDENT> pass
The actions to be taken when a tool is run (after parameters have been converted and validated).
62598fa11f5feb6acb162a84
class SimplePatient(object): <NEW_LINE> <INDENT> def __init__(self, viruses, maxPop): <NEW_LINE> <INDENT> self.viruses = viruses <NEW_LINE> self.maxPop = maxPop <NEW_LINE> <DEDENT> def getTotalPop(self): <NEW_LINE> <INDENT> return len(self.viruses) <NEW_LINE> <DEDENT> def update(self): <NEW_LINE> <INDENT> viruses = [] ...
Representation of a simplified patient. The patient does not take any drugs and his/her virus populations have no drug resistance.
62598fa191f36d47f2230dd2
class LimiterBuilder(object): <NEW_LINE> <INDENT> def __init__(self, test, requestsPerSocket=3, socketCount=2): <NEW_LINE> <INDENT> self.requestsPerSocket = requestsPerSocket <NEW_LINE> self.socketCount = socketCount <NEW_LINE> self.limiter = ConnectionLimiter( 2, maxRequests=requestsPerSocket * socketCount ) <NEW_LINE...
A L{LimiterBuilder} can build a L{ConnectionLimiter} and associated objects for a given unit test.
62598fa19c8ee8231304009f
class DeviotRebuildBoardsCommand(WindowCommand): <NEW_LINE> <INDENT> def run(self): <NEW_LINE> <INDENT> PioBridge().save_boards_list_async()
Rebuild the boards.json file who is used to list the boards in the quick menu Extends: sublime_plugin.WindowCommand
62598fa116aa5153ce400362
class ModifyTos(base_tests.SimpleDataPlane): <NEW_LINE> <INDENT> def runTest(self): <NEW_LINE> <INDENT> logging.info("Running Modify_Tos test") <NEW_LINE> of_ports = config["port_map"].keys() <NEW_LINE> of_ports.sort() <NEW_LINE> self.assertTrue(len(of_ports) > 1, "Not enough ports for test") <NEW_LINE> rv = delete_all...
ModifyTOS :Modify the IP type of service of an IP packet
62598fa1097d151d1a2c0e8c
class BoltzmannTransform(Transform): <NEW_LINE> <INDENT> domain = constraints.real <NEW_LINE> codomain = constraints.simplex <NEW_LINE> event_dim = 1 <NEW_LINE> def __eq__(self, other): <NEW_LINE> <INDENT> return isinstance(other, BoltzmannTransform) <NEW_LINE> <DEDENT> def _call(self, x): <NEW_LINE> <INDENT> logprobs ...
Transform from unconstrained space to the simplex via `y = exp(x)` then normalizing. This is not bijective and cannot be used for HMC. However this acts mostly coordinate-wise (except for the final normalization), and thus is appropriate for coordinate-wise optimization algorithms.
62598fa1b7558d5895463490
class VMtranslator(object): <NEW_LINE> <INDENT> def __init__(self, file): <NEW_LINE> <INDENT> if file.endswith('.vm') and os.path.isfile(file): <NEW_LINE> <INDENT> self.__infilelist = [file] <NEW_LINE> self.__outfilename = file[:-2] + 'asm' <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> if not os.path.isdir(file): <NEW_...
translator .vm file to .asm file if more than one .vm file is given, bootstrap code will be written at the beginning of .asm file method: gen()
62598fa14527f215b58e9d45
class Variable: <NEW_LINE> <INDENT> def __init__(self, name, domain, value=None): <NEW_LINE> <INDENT> self._name = name <NEW_LINE> self._domain = domain[:] <NEW_LINE> self._value = value <NEW_LINE> <DEDENT> def copy(self): <NEW_LINE> <INDENT> return Variable(self._name, self._domain, self._value) <NEW_LINE> <DEDENT> de...
Representation of a discrete variable with a finite domain. As used in our VD table. A variable can be in the assigned state, in which v.is_assigned() will return true.
62598fa1a79ad16197769ec1
class MincutResult (Result): <NEW_LINE> <INDENT> _TypeDefinition = None <NEW_LINE> _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY <NEW_LINE> _Abstract = False <NEW_LINE> _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'MincutResult') <NEW_LINE> _XSDLocation = pyxb.utils.utility.Locat...
Complex type {http://www.fuzzed.org/backendResults}MincutResult with content type ELEMENT_ONLY
62598fa130bbd722464698a8
class OpenBound(_Bound): <NEW_LINE> <INDENT> name = 'open' <NEW_LINE> def larger(self, other): <NEW_LINE> <INDENT> return self > other <NEW_LINE> <DEDENT> def smaller(self, other): <NEW_LINE> <INDENT> return self < other
Sets larger and smaller functions to be `>` and `<`, respectively.
62598fa1fbf16365ca793f1d
class Subinterface(Interface): <NEW_LINE> <INDENT> _BASE_INTERFACE_NAME = 'entry BASE_INTERFACE_NAME' <NEW_LINE> _BASE_INTERFACE_TYPE = 'var BASE_INTERFACE_TYPE' <NEW_LINE> def set_name(self): <NEW_LINE> <INDENT> if '.' not in self.name: <NEW_LINE> <INDENT> self.name = '{0}.{1}'.format(self.name, self.tag) <NEW_LINE> <...
Subinterface class Do not instantiate this object. Use a subclass.
62598fa101c39578d7f12be1
class NumericReference ( HasPrivateTraits ): <NEW_LINE> <INDENT> context = Instance( 'enthought.model.numeric_context.a_numeric_context.' 'ANumericContext' ) <NEW_LINE> name = Str <NEW_LINE> value = Property <NEW_LINE> def _get_value ( self ): <NEW_LINE> <INDENT> return self.context[ self.name ] <NEW_LINE> <DEDENT> def...
A named reference to a single numeric context array value.
62598fa1a17c0f6771d5c09d
class GramMatrix(array.LabeledMatrix): <NEW_LINE> <INDENT> @chk.check(dict(data=chk.accept_any(chk.has_reals, chk.has_complex), beam_idx=beamforming.is_beam_index)) <NEW_LINE> def __init__(self, data, beam_idx): <NEW_LINE> <INDENT> data = np.array(data, copy=False) <NEW_LINE> N_beam = len(beam_idx) <NEW_LINE> if not ch...
Gram coefficients. Examples -------- .. testsetup:: import numpy as np import pandas as pd from pypeline.phased_array.util.gram import GramMatrix .. doctest:: >>> N_beam = 5 >>> beam_idx = pd.Index(range(N_beam), name='BEAM_ID') >>> G = GramMatrix(np.eye(N_beam), beam_idx) >>> G.data array(...
62598fa1dd821e528d6d8d97
class itkImageFileReaderVIUS3(itkImageSourcePython.itkImageSourceVIUS3): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") <NEW_LINE> __repr__ = _swig_...
Proxy of C++ itkImageFileReaderVIUS3 class
62598fa13539df3088ecc117
class travel_rental_service(orm.Model): <NEW_LINE> <INDENT> _name = 'travel.rental.service' <NEW_LINE> _description = _(__doc__) <NEW_LINE> @staticmethod <NEW_LINE> def _check_dep_arr_dates(start, end): <NEW_LINE> <INDENT> return not start or not end or start <= end <NEW_LINE> <DEDENT> def on_change_times(self, cr, uid...
Service rentals for travel
62598fa10a50d4780f70523d
class GmyUnstructuredGridReader(vtk.vtkProgrammableSource): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.SetExecuteMethod(self._Execute) <NEW_LINE> self.GetUnstructuredGridOutput() <NEW_LINE> self.FileName = "" <NEW_LINE> return <NEW_LINE> <DEDENT> def GetOutputPort(self, index=3): <NEW_LINE> <INDEN...
VTK-style reader for HemeLB Geometry files (.gmy). When run, it will create a VTK data structure with the same geometry as the file. The vtkUnstructuredGrid that is the output will have one cell for every fluid site in the geometry file. The cell will be a cube or voxel (in VTK terminology a cell with type VTK_VOXE...
62598fa138b623060ffa8ef6
class MigrationValidationResult(Model): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, 'migration_id': {'readonly': True}, 'status': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'migration_id': {'key': 'migrationId', 'type': 'str'}, 'summary_results': {'key': 's...
Migration Validation Result. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Migration validation result identifier :vartype id: str :ivar migration_id: Migration Identifier :vartype migration_id: str :param summary_results: Validation summary results for each databas...
62598fa1462c4b4f79dbb86f
class AccountManager: <NEW_LINE> <INDENT> def __init__(self, capital_base=100000, name="", currency=Currency("USD"), leverage=1): <NEW_LINE> <INDENT> self.__capital_base = capital_base <NEW_LINE> self.__name = name <NEW_LINE> self.__currency = currency <NEW_LINE> self.__leverage = leverage <NEW_LINE> self.initialize() ...
交易账户对象
62598fa199fddb7c1ca62d19
class Permissions(UserDict): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.data = {}
Overridden instance of dictionary with some functions to simplify access and searching through data. Attributes: data: Underlying dictionary containing hierarchical data.
62598fa10c0af96317c561e5
class Adjustment(): <NEW_LINE> <INDENT> def __init__(self, mask_type, output_size, predicted_available, configfile=None, config=None): <NEW_LINE> <INDENT> logger.debug("Initializing %s: (arguments: '%s', output_size: %s, " "predicted_available: %s, configfile: %s, config: %s)", self.__class__.__name__, mask_type, outpu...
Parent class for adjustments
62598fa144b2445a339b689f
class ZipFilesystem(NodeFilesystem): <NEW_LINE> <INDENT> def __init__(self, path: pathlib.Path) -> None: <NEW_LINE> <INDENT> node = zipfile.Path(path) <NEW_LINE> self.root = ZipFilesystemNode(node)
ZIP filesystem.
62598fa1e5267d203ee6b770
@Key.filter_registry.register('key-rotation-status') <NEW_LINE> class KeyRotationStatus(ValueFilter): <NEW_LINE> <INDENT> schema = type_schema('key-rotation-status', rinherit=ValueFilter.schema) <NEW_LINE> schema_alias = False <NEW_LINE> permissions = ('kms:GetKeyRotationStatus',) <NEW_LINE> def process(self, resources...
Filters KMS keys by the rotation status :example: .. code-block:: yaml policies: - name: kms-key-disabled-rotation resource: kms-key filters: - type: key-rotation-status key: KeyRotationEnabled value: false
62598fa13d592f4c4edbad30
@six.add_metaclass(abc.ABCMeta) <NEW_LINE> class Bridge(tf.keras.layers.Layer): <NEW_LINE> <INDENT> def __call__(self, encoder_state, decoder_zero_state): <NEW_LINE> <INDENT> inputs = [encoder_state, decoder_zero_state] <NEW_LINE> if compat.is_tf2(): <NEW_LINE> <INDENT> return super(Bridge, self).__call__(inputs) <NEW_...
Base class for bridges.
62598fa197e22403b383ad6f
class Sentinel(enum.Enum): <NEW_LINE> <INDENT> sentinel = object()
A type-safe sentinel class
62598fa12ae34c7f260aaf43
class CheckFieldDefaultMixin(object): <NEW_LINE> <INDENT> _default_hint = ('<valid default>', '<invalid default>') <NEW_LINE> def _check_default(self): <NEW_LINE> <INDENT> if self.has_default() and self.default is not None and not callable(self.default): <NEW_LINE> <INDENT> return [ checks.Warning( '%s default should b...
This was copied from https://github.com/django/django/commit/f6e1789654e82bac08cead5a2d2a9132f6403f52 More info: https://code.djangoproject.com/ticket/28577
62598fa16e29344779b004bf
class CellCrawler(object): <NEW_LINE> <INDENT> BASE_URL = 'http://www.cell.com/' <NEW_LINE> PREV_NEXT = '"/(issue\?pii[^"]+)' <NEW_LINE> FULL_TEXT = '"/(fulltext/[^"]+)' <NEW_LINE> PDF = 'href="(http://download.cell.com/pdf/[^"]+.pdf)"' <NEW_LINE> DATE = '<title>.*, (.*)</title>' <NEW_LINE> SWITCH_TIME = dt(2005, 5, 6,...
A crawler to retrive the links to the articles of Cell.
62598fa1460517430c431f8c
class EndpointQuery: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.redis_connection = RedisProxy() <NEW_LINE> self.handle_data = HandleData() <NEW_LINE> self.connection = self.redis_connection.get_connection() <NEW_LINE> self._data = self.handle_data <NEW_LINE> <DEDENT> def get_allEndpoints(self, que...
EndpointQuery is used for get the endpoints from the Redis.
62598fa11b99ca400228f460
class ParentsTagger(BaseOperator): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> __repr__ = _swig_repr <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> _simuPOP_muop.ParentsTagger_swiginit(self, _simuPOP_muop.new...
Details: This tagging operator records the indexes of parents (relative to the parental generation) of each offspring in specified information fields ( default to father_idx and mother_idx). Only one information field should be specified if an asexsual mating scheme is used so there is one parent f...
62598fa1498bea3a75a57985
class AudioTrack(Track): <NEW_LINE> <INDENT> def __init__(self, sampling_frequency=None, channels=None, output_sampling_frequency=None, bit_depth=None, **kwargs): <NEW_LINE> <INDENT> super(AudioTrack, self).__init__(**kwargs) <NEW_LINE> self.sampling_frequency = sampling_frequency <NEW_LINE> self.channels = channels <N...
Object for the Tracks EBML element with :data:`AUDIO_TRACK` TrackType
62598fa10a50d4780f70523e
class Validator(): <NEW_LINE> <INDENT> def __init__(self, predicate): <NEW_LINE> <INDENT> self.predicate = predicate <NEW_LINE> <DEDENT> def __call__(self, input): <NEW_LINE> <INDENT> if not self.predicate(input): <NEW_LINE> <INDENT> raise ValueError(f'{input} is invalid') <NEW_LINE> <DEDENT> return input
Creates a validator callable from a predicate.
62598fa14e4d562566372287
class LaTeX(Task): <NEW_LINE> <INDENT> __platforms__ = ["linux", "osx"] <NEW_LINE> __osx_deps__ = ["Homebrew"] <NEW_LINE> __osx_genfiles__ = [ "/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin/pdflatex", "/Applications/texstudio.app", "/Applications/texstudio.app/Contents/Resources/en_GB.ign", ] <NEW_LIN...
latex compiler and libraries
62598fa1be8e80087fbbeec3
class Member(models.Model): <NEW_LINE> <INDENT> user = models.ForeignKey( 'core.User', verbose_name='Usuário', blank=True, related_name='user_organization_member', on_delete=models.DO_NOTHING ) <NEW_LINE> position = models.CharField( verbose_name='Atividade/Cargo', help_text='Atividades que o membro realiza.', max_leng...
Organizations Member model definitions
62598fa1b7558d5895463491
class Ripple25(Benchmark): <NEW_LINE> <INDENT> def __init__(self, dimensions=2): <NEW_LINE> <INDENT> Benchmark.__init__(self, dimensions) <NEW_LINE> self.bounds = list(zip([0.0] * self.dimensions, [1.0] * self.dimensions)) <NEW_LINE> self.global_optimum = [0.1] * self.dimensions <NEW_LINE> self.fglob = -2.0 <NEW_LINE>...
Ripple 25 test objective function. This class defines the Ripple 25 global optimization problem. This is a multimodal minimization problem defined as follows: .. math:: f_{\text{Ripple25}}(\mathbf{x}) = \sum_{i=1}^2 -e^{-2 \log 2 (\frac{x_i-0.1}{0.8})^2} \left[\sin^6(5 \pi x_i) \right] Here, :math:`n` represent...
62598fa2796e427e5384e5f7
class FreqDist(Counter): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def load(klass, stream): <NEW_LINE> <INDENT> data = json.load(stream) <NEW_LINE> dist = klass() <NEW_LINE> for sample, count in data.items(): <NEW_LINE> <INDENT> dist[sample] = count <NEW_LINE> <DEDENT> return dist <NEW_LINE> <DEDENT> def N(self): <NE...
Based off of NLTK's FreqDist - this records the number of times each outcome of an experiment has occured. Useful for tracking metrics.
62598fa28c0ade5d55dc35c1
class PlaceHolder(object): <NEW_LINE> <INDENT> def __init__(self, dim): <NEW_LINE> <INDENT> self.out_dim = dim <NEW_LINE> <DEDENT> def load(self, data=None): <NEW_LINE> <INDENT> self.output = data
placeholders for training and test data they only have output fields, wont take inputs
62598fa2442bda511e95c2bf
class YelpReview(Item): <NEW_LINE> <INDENT> review_id = Field() <NEW_LINE> text = Field() <NEW_LINE> rating = Field() <NEW_LINE> date = Field() <NEW_LINE> reviewer_location = Field() <NEW_LINE> restaurant_id = Field()
Yelp container (dictionary-like object) for scraped data
62598fa28da39b475be03043
class BaseWriter(Generic[T]): <NEW_LINE> <INDENT> def __init__(self, ltsvfile, formatter): <NEW_LINE> <INDENT> self._ltsvfile = ltsvfile <NEW_LINE> self._formatter = formatter <NEW_LINE> return <NEW_LINE> <DEDENT> def writerow(self, row): <NEW_LINE> <INDENT> line = self._formatter.format(row) <NEW_LINE> n = self._ltsvf...
Base LTSV writer.
62598fa2d6c5a102081e1fab
class Store(models.Model): <NEW_LINE> <INDENT> user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) <NEW_LINE> name = models.CharField(max_length=255) <NEW_LINE> address = models.ManyToManyField("Address") <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.name
Store attributes
62598fa245492302aabfc335
class GpNextPointsConstantLiar(GpNextPointsPrettyView): <NEW_LINE> <INDENT> _route_name = GP_NEXT_POINTS_CONSTANT_LIAR_ROUTE_NAME <NEW_LINE> _pretty_route_name = GP_NEXT_POINTS_CONSTANT_LIAR_PRETTY_ROUTE_NAME <NEW_LINE> request_schema = GpNextPointsConstantLiarRequest() <NEW_LINE> _pretty_default_request = GpNextPoints...
Views for gp_next_points_constant_liar endpoints.
62598fa2a17c0f6771d5c09e
class PWrap(Pattern): <NEW_LINE> <INDENT> def __init__(self, pattern, min=40, max=80): <NEW_LINE> <INDENT> self.pattern = pattern <NEW_LINE> self.min = min <NEW_LINE> self.max = max <NEW_LINE> <DEDENT> def __next__(self): <NEW_LINE> <INDENT> value = next(self.pattern) <NEW_LINE> while value < self.min: <NEW_LINE> <INDE...
PWrap: Wrap input note values within <min>, <max>. >>> p = PWrap(PSeries(5, 3), 0, 10) >>> p.nextn(16) [5, 8, 1, 4, 7, 0, 3, 6, 9, 2, 5, 8, 1, 4, 7, 0]
62598fa266673b3332c3022b
class YamlSerialize(AbstractSerializer): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def load(path_to_file): <NEW_LINE> <INDENT> return YamlSerialize .base_load('y-' + path_to_file, yaml.load, '.yaml', 'r') <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def save(path_to_file, lst): <NEW_LINE> <INDENT> YamlSer...
Yaml serializer class
62598fa2d53ae8145f9182f0
class CompositeBase(FunctionBase): <NEW_LINE> <INDENT> abstract = True <NEW_LINE> def __call__(self, args, **kwargs): <NEW_LINE> <INDENT> import dynts <NEW_LINE> expression = dynts.parse(self.composite) <NEW_LINE> if args: <NEW_LINE> <INDENT> data = dict((('X{0}'.format(n+1),ts) for n,ts in enumerate(args))) <NEW_LINE>...
Base class for a timeseries function implementation. The only member function to implement is the ``__call__`` method. .. function:: __call__(args, **kwargs) where *args* is a list of arguments (timeseries or other objects) and *kwargs* is a dictionary of input parameters. For example, the...
62598fa2a17c0f6771d5c09f
class Events(object): <NEW_LINE> <INDENT> exposed = True <NEW_LINE> _cp_config = dict(LowDataAdapter._cp_config, **{ 'response.stream': True, 'tools.encode.encoding': 'utf-8', 'tools.salt_token.on': True, 'tools.salt_auth.on': False, 'tools.hypermedia_in.on': False, 'tools.hypermedia_out.on': False, }) <NEW_LINE> def _...
The event bus on the Salt master exposes a large variety of things, notably when executions are started on the master and also when minions ultimately return their results. This URL provides a real-time window into a running Salt infrastructure.
62598fa207f4c71912baf2a8
class TeamMembershipType(bb.Union): <NEW_LINE> <INDENT> _catch_all = None <NEW_LINE> full = None <NEW_LINE> limited = None <NEW_LINE> def is_full(self): <NEW_LINE> <INDENT> return self._tag == 'full' <NEW_LINE> <DEDENT> def is_limited(self): <NEW_LINE> <INDENT> return self._tag == 'limited' <NEW_LINE> <DEDENT> def _pro...
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar full: User uses a license and has full access to team resources like the shared quota. :ivar limited: User does not have access t...
62598fa2009cb60464d0138a
class BaseLobheader(object): <NEW_LINE> <INDENT> BLOB_TYPE = 1 <NEW_LINE> CLOB_TYPE = 2 <NEW_LINE> NCLOB_TYPE = 3 <NEW_LINE> LOB_TYPES = {type_codes.BLOB: BLOB_TYPE, type_codes.CLOB: CLOB_TYPE, type_codes.NCLOB: NCLOB_TYPE} <NEW_LINE> LOB_OPTION_ISNULL = 0x01 <NEW_LINE> LOB_OPTION_DATAINCLUDED = 0x02 <NEW_LINE> LOB_OPT...
Base LobHeader class
62598fa299cbb53fe6830d38
class MySeasonCalendar(Calendar): <NEW_LINE> <INDENT> def __init__(self, date=None, days=7): <NEW_LINE> <INDENT> self.url = 'calendars/my/shows/premieres' <NEW_LINE> super(MySeasonCalendar, self).__init__(date=date, days=days)
Personalized TraktTV TV Show Season Premiere
62598fa24428ac0f6e658390
class ParameterError(Exception): <NEW_LINE> <INDENT> pass
Custom errors for Parameters class
62598fa256b00c62f0fb2715
class RemovedInReviewBot50Warning(BaseRemovedInReviewBotVersionWarning): <NEW_LINE> <INDENT> pass
Deprecations for features removed in Review Bot 5.0. Note that this class will itself be removed in Review Bot 5.0. If you need to check against Review Bot deprecation warnings, please see :py:class:`BaseRemovedInReviewBotVersionWarning`. Alternatively, you can use the alias for this class, :py:data:`RemovedInNextRevi...
62598fa20c0af96317c561e7
class DataFilterValueRange(TypedDict): <NEW_LINE> <INDENT> dataFilter: DataFilter <NEW_LINE> majorDimension: Dimension <NEW_LINE> values: List[List[Any]]
A range of values whose location is specified by a DataFilter.
62598fa22c8b7c6e89bd362b
class Collector: <NEW_LINE> <INDENT> PARSER: t.Optional[parsers.Parser] = None <NEW_LINE> def __init__( self, session_factory: t.Optional[sessionmaker] = None, shutdown: t.Optional[threading.Event] = None, ): <NEW_LINE> <INDENT> self.session_factory: t.Optional[sessionmaker] = session_factory <NEW_LINE> self.shutdown: ...
Base class used to collect anomalies to analyze. Subclasses should implement the `collect` method. Parameters ---------- session_factory: Optional[sessionmaker] SQLAlchemy session factory. shutdown: threading.Event Threading event that indicates a shutdown occurred. Attributes ---------- session_factory: Opt...
62598fa25f7d997b871f9312
class LMTP(SMTP): <NEW_LINE> <INDENT> ehlo_msg = "lhlo" <NEW_LINE> def __init__(self, host='', port=LMTP_PORT, local_hostname=None, source_address=None): <NEW_LINE> <INDENT> SMTP.__init__(self, host, port, local_hostname=local_hostname, source_address=source_address) <NEW_LINE> <DEDENT> def connect(self, host='localhos...
LMTP - Local Mail Transfer Protocol The LMTP protocol, which is very similar to ESMTP, is heavily based on the standard SMTP client. It's common to use Unix sockets for LMTP, so our connect() method must support that as well as a regular host:port server. local_hostname and source_address have the same meaning as they...
62598fa2e64d504609df92eb
class AnnealedSplitMergeKernel(AbstractSplitMergKernel): <NEW_LINE> <INDENT> def copy_particle(self, particle): <NEW_LINE> <INDENT> return AnnealedSplitMergeParticle( particle.block_idx, tuple([x.copy() for x in particle.block_params]), particle.generation, particle.log_annealing_correction, particle.log_w, particle.pa...
Propose next state uniformly until all anchors are added then use fully adapted proposal.
62598fa28a43f66fc4bf1fe1
class Command(RunserverCommand): <NEW_LINE> <INDENT> help = 'Starts a lightweight Web server for development with LiveReload.' <NEW_LINE> def add_arguments(self, parser): <NEW_LINE> <INDENT> super(Command, self).add_arguments(parser) <NEW_LINE> parser.add_argument('--nolivereload', action='store_false', dest='use_liver...
Command for running the development server with LiveReload.
62598fa22ae34c7f260aaf45
class CourseTeamSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> id = serializers.CharField(source='team_id', read_only=True) <NEW_LINE> membership = UserMembershipSerializer(many=True, read_only=True) <NEW_LINE> class Meta(object): <NEW_LINE> <INDENT> model = CourseTeam <NEW_LINE> fields = ( "id", "discuss...
Serializes a CourseTeam with membership information.
62598fa23617ad0b5ee05fb7
class Train: <NEW_LINE> <INDENT> def __init__(self, id, route, name, period, lateness=None): <NEW_LINE> <INDENT> self.id = id <NEW_LINE> self.route = route <NEW_LINE> self.name = name <NEW_LINE> self.period = period <NEW_LINE> if lateness is None: <NEW_LINE> <INDENT> self.lateness = [] <NEW_LINE> <DEDENT> else: <NEW_LI...
id route name lateness []
62598fa2f7d966606f747e48
class DataCitePreconditionError(DataCiteRequestError): <NEW_LINE> <INDENT> pass
Metadata must be uploaded first.
62598fa257b8e32f5250804f