code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class DocumentPretranslatingStatus(object): <NEW_LINE> <INDENT> openapi_types = { 'pretranslation': 'str' } <NEW_LINE> attribute_map = { 'pretranslation': 'pretranslation' } <NEW_LINE> def __init__(self, pretranslation=None, local_vars_configuration=None): <NEW_LINE> <INDENT> if local_vars_configuration is None: <NEW_L...
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually.
62598fb999cbb53fe683102d
class OG_303: <NEW_LINE> <INDENT> events = OWN_SPELL_PLAY.after(Buff(CTHUN, "OG_303e"))
Cult Sorcerer
62598fb9283ffb24f3cf39d8
class TripleSource(abc.ABC): <NEW_LINE> <INDENT> @abc.abstractmethod <NEW_LINE> def cache(self, a, cache_updater): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @abc.abstractmethod <NEW_LINE> def initializer(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @abc.abstractmethod <NEW_LINE> def generate_triples(self, fet...
Base class for triples sources.
62598fb9ad47b63b2c5a79a9
class InvalidUser(Exception): <NEW_LINE> <INDENT> pass
Invalid token for user; cannot authenticate.
62598fb9377c676e912f6e1a
class ProtocolStates(BaseEnum): <NEW_LINE> <INDENT> UNKNOWN = DriverProtocolState.UNKNOWN <NEW_LINE> COMMAND = DriverProtocolState.COMMAND <NEW_LINE> AUTOSAMPLE = DriverProtocolState.AUTOSAMPLE <NEW_LINE> DIRECT_ACCESS = DriverProtocolState.DIRECT_ACCESS
Protocol states for MAVS-4. Cherry picked from DriverProtocolState enum.
62598fb98e7ae83300ee91f5
class GetAccountDataCommand(FilterCommand): <NEW_LINE> <INDENT> command = 'getAccountData' <NEW_LINE> def get_request_filter(self): <NEW_LINE> <INDENT> return GetAccountDataRequestFilter() <NEW_LINE> <DEDENT> def get_response_filter(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> async def _execute(self, request: d...
Executes ``getAccountData`` extended API command. See :py:meth:`iota.api.Iota.get_account_data` for more info.
62598fb9a05bb46b3848a9c1
class Tanh(Activation): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def function(z): <NEW_LINE> <INDENT> return np.tanh(z) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def derivative(z): <NEW_LINE> <INDENT> return np.divide(1., np.cosh(z)**2)
Tanh Activation Function
62598fb901c39578d7f12ed0
class OperationList(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'value': {'key': 'value', 'type': '[Operation]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } <NEW_LINE> def __init__( self, **kwargs ): <NEW_LINE> <INDENT> super(OperationList, self).__init__(**kwargs) <NEW_LINE> self.value ...
OperationList represents an RP operation list. :param value: List of operations supported by the resource provider. :type value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.Operation] :param next_link: The link used to get the next page of operations. :type next_link: str
62598fb94f88993c371f05b8
class VcfReadOptionsTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self._options = variant_transform_options.VcfReadOptions() <NEW_LINE> <DEDENT> def _make_args(self, args): <NEW_LINE> <INDENT> return make_args(self._options, args) <NEW_LINE> <DEDENT> def test_failure_for_conflicting_...
Tests cases for the VcfReadOptions class.
62598fb94c3428357761a411
class WXXX(UrlFrame): <NEW_LINE> <INDENT> _framespec = [ EncodingSpec('encoding', default=Encoding.UTF16), EncodedTextSpec('desc'), Latin1TextSpec('url'), ] <NEW_LINE> @property <NEW_LINE> def HashKey(self): <NEW_LINE> <INDENT> return '%s:%s' % (self.FrameID, self.desc)
User-defined URL data. Like TXXX, this has a freeform description associated with it.
62598fb9283ffb24f3cf39d9
class BasicInterfaceTests(ExpandedTestCase): <NEW_LINE> <INDENT> def test_setting_csharp_attr(self): <NEW_LINE> <INDENT> form = Form() <NEW_LINE> form.Text = "Testing" <NEW_LINE> self.assertAllEqual(form.text, form.Text, "Testing") <NEW_LINE> <DEDENT> def test_setting_python_attr(self): <NEW_LINE> <INDENT> form = Form(...
Basic tests to ensure that we can correctly interface between C# and Python names and types.
62598fb9cc40096d6161a284
class REPSOptimizerNumerical(REPSOptimizer): <NEW_LINE> <INDENT> def set_evaluation_feedback(self, feedbacks): <NEW_LINE> <INDENT> self.reward = check_feedback(feedbacks, compute_sum=True) <NEW_LINE> self.history_theta.append(self.params) <NEW_LINE> self.history_R.append(self.reward) <NEW_LINE> self.it += 1 <NEW_LINE> ...
Relative Entropy Policy Search (REPS) (using umerical gradients). Inherits all parameters and methods from REPSOptimizer, with the only difference being 'set_evaluation_feedback' using a modified 'solve_dual_reps' function which uses numerical gradients when minimizing the dual function.
62598fb9f548e778e596b6fb
class GEOSContextHandle(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.ptr = lgeos.initGEOS_r(notice_h, error_h) <NEW_LINE> <DEDENT> def __del__(self): <NEW_LINE> <INDENT> if self.ptr: lgeos.finishGEOS_r(self.ptr)
Python object representing a GEOS context handle.
62598fb94f6381625f19956d
@register('Jupyter.Accordion') <NEW_LINE> class Accordion(_SelectionContainer): <NEW_LINE> <INDENT> _view_name = Unicode('AccordionView').tag(sync=True) <NEW_LINE> _model_name = Unicode('AccordionModel').tag(sync=True)
Displays children each on a separate accordion page.
62598fb957b8e32f525081c8
class ServiceModel(object): <NEW_LINE> <INDENT> SHAPE_CLASSES = { 'structure': StructureShape, 'list': ListShape, 'map': MapShape, } <NEW_LINE> def __init__(self, service_description, service_name=None): <NEW_LINE> <INDENT> self._service_description = service_description <NEW_LINE> self.metadata = service_description.g...
:ivar service_description: The parsed service description dictionary.
62598fb94a966d76dd5ef028
class CourseModesDetailView(CourseModesMixin, RetrieveUpdateDestroyAPIView): <NEW_LINE> <INDENT> http_method_names = ['get', 'patch', 'delete', 'head', 'options'] <NEW_LINE> parser_classes = (MergePatchParser,) <NEW_LINE> multiple_lookup_fields = ('course_id', 'mode_slug') <NEW_LINE> queryset = CourseMode.objects.all()...
View to retrieve, update, or delete a specific course mode for a course. **Use Case** Get or update course mode details for a specific course mode on a course. Or you may delete a specific course mode from a course. **Example Requests** GET /api/course_modes/v1/courses/{course_id}/{mode_slug} R...
62598fb95166f23b2e243533
class OPS_add_mesh_to_assembly(Operator): <NEW_LINE> <INDENT> bl_idname = "fd_assembly.add_mesh_to_assembly" <NEW_LINE> bl_label = "Add Mesh To Assembly" <NEW_LINE> bl_description = "This will add a mesh to the selected assembly" <NEW_LINE> bl_options = {'UNDO'} <NEW_LINE> mesh_name = StringProperty(name="Mesh Name",de...
Since this looks to the context this should only be called from the ui.
62598fb967a9b606de546128
class ColorInput(Input): <NEW_LINE> <INDENT> input_type = 'color'
This widget is a radiobutton
62598fb9f548e778e596b6fc
class EntryPublishedManager(models.Manager): <NEW_LINE> <INDENT> def get_query_set(self): <NEW_LINE> <INDENT> return entries_published( super(EntryPublishedManager, self).get_query_set()) <NEW_LINE> <DEDENT> def search(self, pattern): <NEW_LINE> <INDENT> lookup = None <NEW_LINE> for pattern in pattern.split(): <NEW_LIN...
Manager to retrieve published entries
62598fb956b00c62f0fb2a11
class Generator(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.filestring = "" <NEW_LINE> <DEDENT> def generate(self, macr, decl, defi, adddate=True): <NEW_LINE> <INDENT> header = "File generated automatically from ASN.1 JSON description\n" <NEW_LINE> if adddate: <NEW_LINE> <INDENT> date = datetime...
Generator takes all declarations, definitions and defines objects and converts them to string, then forms that string correctly and dumps it to specified file.
62598fb9498bea3a75a57c7a
class myVGG(nn.Module): <NEW_LINE> <INDENT> def __init__(self, opts, cfg): <NEW_LINE> <INDENT> super(myVGG, self).__init__() <NEW_LINE> vgg16 = torchvision.models.vgg16(pretrained=True) <NEW_LINE> self.vgg16_enc = torch.nn.Sequential(*list(vgg16.children())[0][:22]) <NEW_LINE> for param in self.vgg16_enc.parameters(): ...
VGG Discriminator.
62598fb97d43ff24874274af
class NLWrapper(object): <NEW_LINE> <INDENT> def __init__(self, list, func): <NEW_LINE> <INDENT> self.list = list <NEW_LINE> self.func = func <NEW_LINE> <DEDENT> def _return_nodelist(self): <NEW_LINE> <INDENT> return self.nodelist <NEW_LINE> <DEDENT> def _gen_nodelist(self): <NEW_LINE> <INDENT> mylist = self.list <NEW_...
A wrapper class that delays turning a list of sources or targets into a NodeList until it's needed. The specified function supplied when the object is initialized is responsible for turning raw nodes into proxies that implement the special attributes like .abspath, .source, etc. This way, we avoid creating those prox...
62598fb9dc8b845886d53710
class pfException(Exception): <NEW_LINE> <INDENT> pass
Printful exception returned from the API.
62598fb94f88993c371f05b9
class MapTester(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.mappings = [] <NEW_LINE> self.mapper = PslMap(self) <NEW_LINE> <DEDENT> def mapBlock(self, psl, blk, qRngStart, qRngEnd, tRngStart, tRngEnd): <NEW_LINE> <INDENT> self.mappings.append(("blk", psl.qName, blk.iBlk, qRngStart, qRngEnd...
test object that collects results
62598fb94c3428357761a413
class Diary(object): <NEW_LINE> <INDENT> def __init__(self, data_file='data.pickle'): <NEW_LINE> <INDENT> self.data_file = data_file <NEW_LINE> self.entries = self.load_data() <NEW_LINE> <DEDENT> def load_data(self): <NEW_LINE> <INDENT> entry_data = [] <NEW_LINE> if not os.path.isfile(self.data_file): <NEW_LINE> <INDEN...
A Diary class that contains a list of DiaryEntry objects and has methods to modify them. This class also handles local storing and fetching of all DiaryEntry data.
62598fb9f548e778e596b6fd
class CopyTestCase(TestCase): <NEW_LINE> <INDENT> def test_copy_success(self): <NEW_LINE> <INDENT> source_file = NamedTemporaryFile(delete=False) <NEW_LINE> source_file.seek(0) <NEW_LINE> source_file.write(b"cur report") <NEW_LINE> source_file.flush() <NEW_LINE> source_file_name = os.path.split(source_file.name)[1] <NE...
TestCase class for copy
62598fb9f9cc0f698b1c5379
class Objective(QtCore.QObject): <NEW_LINE> <INDENT> magnificationChanged = QtCore.pyqtSignal(str, float) <NEW_LINE> offsetChanged = QtCore.pyqtSignal(str, float, float) <NEW_LINE> def __init__(self, fixed = None, objective_item = None, objective_name = None, **kwds): <NEW_LINE> <INDENT> super().__init__(**kwds) <NEW_L...
Handles controls for a single objective.
62598fb9091ae35668704d79
class CursorBase(MySQLCursorAbstract): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._description = None <NEW_LINE> self._rowcount = -1 <NEW_LINE> self._last_insert_id = None <NEW_LINE> self.arraysize = 1 <NEW_LINE> super(CursorBase, self).__init__() <NEW_LINE> <DEDENT> def callproc(self, procname, a...
Base for defining MySQLCursor. This class is a skeleton and defines methods and members as required for the Python Database API Specification v2.0. It's better to inherite from MySQLCursor.
62598fb93346ee7daa3376f4
class SyncV1TestCase(_SuccessMixin, _BaseTestCase): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def setUpClass(cls): <NEW_LINE> <INDENT> super(SyncV1TestCase, cls).setUpClass() <NEW_LINE> docker_utils.repo_create( cls.cfg, feed=DOCKER_V1_FEED_URL, repo_id=cls.repo_id, upstream_name=_UPSTREAM_NAME, ) <NEW_LINE> cls.comp...
Show it is possible to sync a docker repository with a v1 registry.
62598fb9099cdd3c6367548e
class ModelOptions(usage.Options): <NEW_LINE> <INDENT> synopsis = '[options] name table' <NEW_LINE> optFlags = [ ['dump', 'd', 'Dump the configuration to the standard output'], ['noschema', 's', 'Set this if you don\'t want Mamba manaing this at schema-level'], ['noquestions', 'n', 'When this option is set, mamba will ...
Model Configuration options for mamba-admin tool
62598fb9bf627c535bcb15fc
class LDObjectField(models.TextField): <NEW_LINE> <INDENT> def __init__(self, type_hint=None, **kwargs): <NEW_LINE> <INDENT> self.type_hint = type_hint <NEW_LINE> super(LDObjectField, self).__init__(**kwargs) <NEW_LINE> <DEDENT> def to_python(self, value): <NEW_LINE> <INDENT> if not isinstance(value, str): <NEW_LINE> <...
LDObject is a generic textfield that neatly serializes/unserializes JSON objects seamlessly. deserialization_params added on 2011-01-09 to provide additional hints at deserialization time
62598fb97047854f4633f52f
class SecretManager(base.BaseEntityManager): <NEW_LINE> <INDENT> def __init__(self, api): <NEW_LINE> <INDENT> super(SecretManager, self).__init__(api, 'secrets') <NEW_LINE> <DEDENT> def get(self, secret_ref, payload_content_type=None): <NEW_LINE> <INDENT> LOG.debug("Getting secret - Secret href: {0}".format(secret_ref)...
Entity Manager for Secret entities
62598fb9377c676e912f6e1c
class ConveRTFFN(nn.Module): <NEW_LINE> <INDENT> def __init__(self, insz, hszs, outsz, pdrop): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.dense_stack = DenseStack(insz, hszs, activation='gelu', pdrop_value=pdrop, skip_connect=True, layer_norm=True) <NEW_LINE> self.final = Dense(hszs[-1], outsz) <NEW_LINE> s...
Implementation of the FFN layer from the convert paper (https://arxiv.org/pdf/1911.03688.pdf)
62598fb9009cb60464d0167c
class MapImageThresholdsCalculator: <NEW_LINE> <INDENT> def __init__(self, thr_coeff: float = 0.0005, no_value: float = 0.0): <NEW_LINE> <INDENT> self._thr_coeff = thr_coeff <NEW_LINE> self._no_value = no_value <NEW_LINE> <DEDENT> def __call__(self, map_image: np.ndarray) -> t.Optional[Thresholds]: <NEW_LINE> <INDENT> ...
Statistics/CNR map thresholds calculator class The class computes the optimal thresholds for display a map.
62598fb9e1aae11d1e7ce8d1
class CurrentSensor(GEMSensor): <NEW_LINE> <INDENT> _attr_icon = CURRENT_SENSOR_ICON <NEW_LINE> _attr_unit_of_measurement = UNIT_WATTS <NEW_LINE> def __init__(self, monitor_serial_number, number, name, net_metering): <NEW_LINE> <INDENT> super().__init__(monitor_serial_number, name, "current", number) <NEW_LINE> self._n...
Entity showing power usage on one channel of the monitor.
62598fb9ec188e330fdf89ea
class TestLoginHTML(MobileHTMLRenderingCase): <NEW_LINE> <INDENT> def test_login_page_in_a_clean_state(self): <NEW_LINE> <INDENT> fixture_name = 'login_clean.html' <NEW_LINE> fixture_filepath = self._get_fixture_file_path(fixture_name) <NEW_LINE> if fixture_filepath: <NEW_LINE> <INDENT> tree = etree.parse(fixture_filep...
Test case collecting all the tests relating to the RENDERING of the 'login' page. Compare the actual rendered HTML pages against fixtures (i.e. 'fake' HTML files) specially built.
62598fb99f2886367281891e
class StopInstancesException(BaseException): <NEW_LINE> <INDENT> pass
A child exception for the stop_instance method.
62598fb9dc8b845886d53712
class NullEvent: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return "Null Reaction" <NEW_LINE> <DEDENT> def updaterate(self): <NEW_LINE> <INDENT> return None
Null event represents nothing happening. Useful in path generation.
62598fb9656771135c4897c7
class MedicationPrescriptionDosageInstruction(fhirelement.FHIRElement): <NEW_LINE> <INDENT> resource_name = "MedicationPrescriptionDosageInstruction" <NEW_LINE> def __init__(self, jsondict=None): <NEW_LINE> <INDENT> self.additionalInstructions = None <NEW_LINE> self.asNeededBoolean = None <NEW_LINE> self.asNeededCodeab...
How medication should be taken. Indicates how the medication is to be used by the patient.
62598fb9a8370b77170f0538
class SerializedDataField(fields.TextField): <NEW_LINE> <INDENT> __metaclass__ = SubfieldBase <NEW_LINE> def to_python(self, value): <NEW_LINE> <INDENT> if value is None or value is "": return <NEW_LINE> if not isinstance(value, basestring): return value <NEW_LINE> try: <NEW_LINE> <INDENT> return pickle.loads(base64.b6...
A field which serializes python values to the database, and returns them intact.
62598fb94527f215b58ea02f
class TokenPageTestCase(ptc.PloneTestCase): <NEW_LINE> <INDENT> def afterSetUp(self): <NEW_LINE> <INDENT> request = TestRequest() <NEW_LINE> self.consumerManager = zope.component.getMultiAdapter( (self.portal, request), IConsumerManager) <NEW_LINE> self.consumer = Consumer('consumer.example.com', 'consumer-secret') <NE...
Testing functionalities of forms that don't fit well into doctests.
62598fb944b2445a339b6a21
class PasswordGrant(grants.ResourceOwnerPasswordCredentialsGrant): <NEW_LINE> <INDENT> TOKEN_ENDPOINT_AUTH_METHODS = [ 'client_secret_basic', 'client_secret_post' ] <NEW_LINE> def authenticate_user(self, username, password): <NEW_LINE> <INDENT> user = User.query.filter_by(username=username).first() <NEW_LINE> if user.v...
Resource owner uses his username and password to exchange an access token, this grant type should be used only when the client is trustworthy, implement it with a subclass of ResourceOwnerPasswordCredentialsGrant
62598fb94f6381625f19956f
class ThisPerson(unittest.TestCase): <NEW_LINE> <INDENT> def test_add_item_return_list(self): <NEW_LINE> <INDENT> self.assertIsInstance(add_items(),{},msg='method returning a dictionary instance')
class holding tests for shopping list class
62598fb9f9cc0f698b1c537a
@python_2_unicode_compatible <NEW_LINE> class Pagamento(models.Model): <NEW_LINE> <INDENT> data = models.DateTimeField(db_index=True, verbose_name=_(u"Data do pagamento")) <NEW_LINE> valor = models.DecimalField(max_digits=20, decimal_places=2, verbose_name=_(u"Valor")) <NEW_LINE> juros = models.DecimalField(max_digits=...
Classe Pagamento. Criada para registrar todas as saídas financeiras do estabelecimento. Os registros de pagamentos entrarão automaticamente na tabela. Contudo, também será possível cadastrar pagamentos manualmente, pensando em casos em que valores são pagos, eventualmente, sem a compra ter sido cadastrada. Criada e...
62598fb923849d37ff85120d
class Fluid: <NEW_LINE> <INDENT> def __init__(self,density=1,viscosity=1,name='fluid',velocity=array([0,0]),relativePermittivity=81): <NEW_LINE> <INDENT> self.density = density <NEW_LINE> self.viscosity = viscosity <NEW_LINE> self.name = name <NEW_LINE> self.velocity = velocity <NEW_LINE> self.relativePermittivity = re...
The fluid object (SI units). Attributes: density : An integer for density (defaults to 1) viscosity : An integer for viscosity (defaults to 1) name : A string to define the fluid's name (defaults to 'fluid') velocity : A numpy.array for velocity field (numpy.array([[x1,y1],[x2,y2],[x3,y3],...])) re...
62598fb932920d7e50bc61a8
class ECU_am(AnsweringMachine): <NEW_LINE> <INDENT> function_name = "ECU_am" <NEW_LINE> sniff_options_list = ["store", "opened_socket", "count", "filter", "prn", "stop_filter", "timeout"] <NEW_LINE> def parse_options(self, supported_responses=None, main_socket=None, broadcast_socket=None, basecls=Raw, timeout=None): <N...
AnsweringMachine which emulates the basic behaviour of a real world ECU. Provide a list of ``ECUResponse`` objects to configure the behaviour of this AnsweringMachine. :param supported_responses: List of ``ECUResponse`` objects to define the behaviour. The default response is ...
62598fb992d797404e388c10
class LocalTransformations(ind.LocalTransformations): <NEW_LINE> <INDENT> def __init__(self, attribs): <NEW_LINE> <INDENT> super(LocalTransformations, self).__init__() <NEW_LINE> for key, value in attribs.items(): <NEW_LINE> <INDENT> setattr(self, key, value) <NEW_LINE> <DEDENT> self.DerivedField = [] <NEW_LINE> self.E...
Represents a <LocalTransformations> tag in v4.0 and provides methods to convert to PFA.
62598fb95fcc89381b2661f9
class HumanPoseDetectionServicer(object): <NEW_LINE> <INDENT> def Ping(self, request, context): <NEW_LINE> <INDENT> context.set_code(grpc.StatusCode.UNIMPLEMENTED) <NEW_LINE> context.set_details('Method not implemented!') <NEW_LINE> raise NotImplementedError('Method not implemented!') <NEW_LINE> <DEDENT> def StartSessi...
Missing associated documentation comment in .proto file.
62598fb997e22403b383b060
class Position(object): <NEW_LINE> <INDENT> def __init__(self, filename, line, col): <NEW_LINE> <INDENT> self.filename = filename <NEW_LINE> self.line = line <NEW_LINE> self.col = col <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return "%s:%d:%d" % (self.filename, self.line, self.col)
Each node has a position which is an instance of this type.
62598fb997e22403b383b061
class PMRequestPlugin(object): <NEW_LINE> <INDENT> @traceLog() <NEW_LINE> def __init__(self, plugins, conf, buildroot): <NEW_LINE> <INDENT> self.buildroot = buildroot <NEW_LINE> self.config = conf <NEW_LINE> plugins.add_hook("earlyprebuild", self.start_listener) <NEW_LINE> plugins.add_hook("preshell", self.start_listen...
Executes package manager commands requested by processes runninng in the chroot.
62598fb97b180e01f3e490ff
class S3EventProjectModel(S3Model): <NEW_LINE> <INDENT> names = ("event_project", ) <NEW_LINE> def model(self): <NEW_LINE> <INDENT> tablename = "event_project" <NEW_LINE> self.define_table(tablename, self.event_event_id(empty = False, ondelete = "CASCADE"), self.project_project_id( ), *s3_meta_fields()) <NEW_LINE> retu...
Link Projects to Events
62598fb97cff6e4e811b5b7c
class Infrator(Pessoa): <NEW_LINE> <INDENT> estado = models.CharField(max_length=255, null=True) <NEW_LINE> cidade = models.CharField(max_length=255, null=True) <NEW_LINE> endereco = models.CharField(max_length=255, null=True) <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> return self.nome <NEW_LINE> <DEDENT> cl...
Classe para models de infratores
62598fb91f5feb6acb162d7b
class BadStatement(object): <NEW_LINE> <INDENT> openapi_types = { 'type': 'str', 'text': 'str' } <NEW_LINE> attribute_map = { 'type': 'type', 'text': 'text' } <NEW_LINE> def __init__(self, type=None, text=None): <NEW_LINE> <INDENT> self._type = None <NEW_LINE> self._text = None <NEW_LINE> self.discriminator = None <NEW...
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually.
62598fb9adb09d7d5dc0a6d8
class Activation(Layer): <NEW_LINE> <INDENT> def __init__(self, f: F, f_prime: F) -> None: <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.f = f <NEW_LINE> self.f_prime = f_prime <NEW_LINE> <DEDENT> def forward(self, inputs: Tensor) -> Tensor: <NEW_LINE> <INDENT> self.inputs = inputs <NEW_LINE> return self.f(inp...
An activation layer just applies a function elementwise to its inputs
62598fb94f88993c371f05bb
class ActivitySchema(Schema): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> type_ = 'activity' <NEW_LINE> self_view = 'v1.activity_detail' <NEW_LINE> self_view_kwargs = {'id': '<id>'} <NEW_LINE> inflect = dasherize <NEW_LINE> <DEDENT> id = fields.Str(dump_only=True) <NEW_LINE> actor = fields.Str(allow_none=True) ...
Api schema for Activity Model
62598fb967a9b606de54612d
class _CommandBuilding: <NEW_LINE> <INDENT> def GetResources(self): <NEW_LINE> <INDENT> return {'Pixmap' : 'Arch_Building', 'MenuText': QtCore.QT_TRANSLATE_NOOP("Arch_Building","Building"), 'Accel': "B, U", 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Arch_Building","Creates a building object including selected objects.")} <N...
the Arch Building command definition
62598fb9cc40096d6161a287
class Resizer(object): <NEW_LINE> <INDENT> def __call__(self, sample, min_side=608, max_side=1280): <NEW_LINE> <INDENT> image, annots = sample['img'], sample['annot'] <NEW_LINE> rows, cols, cns = image.shape <NEW_LINE> smallest_side = min(rows, cols) <NEW_LINE> scale = min_side / smallest_side <NEW_LINE> largest_side =...
Convert ndarrays in sample to Tensors.
62598fb93d592f4c4edbb01a
class Seat(CSKAType): <NEW_LINE> <INDENT> @property <NEW_LINE> def _fields(self): <NEW_LINE> <INDENT> return ['seat_id', 'license_name']
license seat details. seat details contain the following fields: - seat_id (string): internal id representing the license seat. - license_name (string): type of license for the seat.
62598fb9097d151d1a2c118e
class Competence(ElementCollection): <NEW_LINE> <INDENT> def __init__(self, agent, competence_name, priority_elements, goal): <NEW_LINE> <INDENT> ElementCollection.__init__(self, agent, "C.%s" % competence_name) <NEW_LINE> self._name = competence_name <NEW_LINE> self._elements = priority_elements <NEW_LINE> self._goal ...
A POSH competence, containing competence priority elements.
62598fb966656f66f7d5a54e
class MemoryDetail(DetailView): <NEW_LINE> <INDENT> template_name = "happenings/memory_detail.html" <NEW_LINE> queryset = Memory.objects.all() <NEW_LINE> def dispatch(self, request, *args, **kwargs): <NEW_LINE> <INDENT> self.event_slug = kwargs.get('event_slug', False) <NEW_LINE> self.slug = kwargs.get('slug', False) <...
Creates a detail page for an Event.Memory.
62598fb94a966d76dd5ef02e
class blk(gr.sync_block): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> gr.sync_block.__init__( self, name="Gotenna decoder", in_sig=[np.int8], out_sig=None ) <NEW_LINE> self.prefix = "10"*16 + "0010110111010100" <NEW_LINE> self.bits = "" <NEW_LINE> <DEDENT> def work(self, input_items, output_items): <NEW...
Embedded Python Block example - a simple multiply const
62598fb9442bda511e95c5b8
class CppFileAnalyzer(IFileAnalyzer): <NEW_LINE> <INDENT> def initialize_fields(self, repo_detail: dict) -> None: <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> repo_detail["cpplint_errors"] <NEW_LINE> <DEDENT> except KeyError: <NEW_LINE> <INDENT> repo_detail["cpplint_errors"] = 0 <NEW_LINE> <DEDENT> <DEDENT> def __analy...
Analyzes C++ source and header files.
62598fb956b00c62f0fb2a17
class PartialUnit(namedtuple("PartialUnit", "span type features")): <NEW_LINE> <INDENT> pass
Partially instantiated unit, for use when you want to programmatically insert annotations into a document A partially instantiated unit does not have any metadata (creation date, etc); as these will be derived automatically
62598fb991f36d47f2230f58
class LRD_cooldown(LRC): <NEW_LINE> <INDENT> def __init__(self, lr, epoch_wait=1, decay_rate=0.9): <NEW_LINE> <INDENT> self.lr = lr <NEW_LINE> self.epoch_max = epoch_wait + 1 <NEW_LINE> self.decay_rate = decay_rate <NEW_LINE> self.err_seq = np.zeros(self.epoch_max) <NEW_LINE> self.err_seq[0] = np.inf <NEW_LINE> self.ep...
this LRD function will decrease the lr if err do not decrease.
62598fb93617ad0b5ee062a3
class PacketFunctionsTest(unittest.TestCase): <NEW_LINE> <INDENT> def test_checksums(self): <NEW_LINE> <INDENT> for i, (command, response) in enumerate(simulator.simulated_command_responses): <NEW_LINE> <INDENT> if command == b'$$$': <NEW_LINE> <INDENT> continue <NEW_LINE> <DEDENT> self.assertEqual(command[-1:], comms....
Tests for the comms module.
62598fb966673b3332c3052d
class ArduinoSerialUIData: <NEW_LINE> <INDENT> def __init__(self, serialport = 'COM2'): <NEW_LINE> <INDENT> self.serialcnx = serial.Serial(port=serialport, baudrate=9600, timeout=1, writeTimeout=1) <NEW_LINE> <DEDENT> def getmesures(): <NEW_LINE> <INDENT> while (self.serialcnx.in_waiting()==0): <NEW_LINE> <INDENT> pass...
Class pour se connecter à Arduino via le port serie et lire les données envoyées : tension et intensité via getmesures()
62598fb9dc8b845886d53716
class Resource(_NamedUIDObject): <NEW_LINE> <INDENT> def __init__(self, name: str) -> None: <NEW_LINE> <INDENT> super().__init__(name) <NEW_LINE> self.busy_intervals = {} <NEW_LINE> <DEDENT> def add_busy_interval(self, task, interval: Tuple[ArithRef, ArithRef]) -> None: <NEW_LINE> <INDENT> self.busy_intervals[task] = i...
base class for the representation of a resource
62598fb91f5feb6acb162d7d
class SqlStorageUpdateSettings(Model): <NEW_LINE> <INDENT> _attribute_map = { 'disk_count': {'key': 'diskCount', 'type': 'int'}, 'disk_configuration_type': {'key': 'diskConfigurationType', 'type': 'str'}, 'starting_device_id': {'key': 'startingDeviceId', 'type': 'int'}, } <NEW_LINE> def __init__(self, **kwargs): <NEW_L...
Set disk storage settings for SQL Server. :param disk_count: Virtual machine disk count. :type disk_count: int :param disk_configuration_type: Disk configuration to apply to SQL Server. Possible values include: 'NEW', 'EXTEND', 'ADD' :type disk_configuration_type: str or ~azure.mgmt.sqlvirtualmachine.models.DiskConf...
62598fb95fc7496912d4832a
class ImDisplay(Widget): <NEW_LINE> <INDENT> def create_im(self, mat, c_map, scale=True): <NEW_LINE> <INDENT> mat = np.flipud(mat) <NEW_LINE> dims = np.shape(mat) <NEW_LINE> self.texture = Texture.create(size=(dims[1], dims[0]), colorfmt='rgb') <NEW_LINE> self.scale = scale <NEW_LINE> self.cmap = color_map(c_map) <NEW...
Class for displaying numpy matrices as widgets on the canvas. Scaling is performed on the image by default otherwise image values must lie between 0 and 255. Mapping to rgb color scheme is then performed in Cython compiled code.
62598fb971ff763f4b5e78d6
class RCN(nn.Module): <NEW_LINE> <INDENT> def __init__(self, cell): <NEW_LINE> <INDENT> super(RCN, self).__init__() <NEW_LINE> if not isinstance(cell, RCNCell): <NEW_LINE> <INDENT> raise ValueError('cell must be an instance of RCNCell') <NEW_LINE> <DEDENT> self._cell = cell <NEW_LINE> <DEDENT> def forward(self, x, h0, ...
Convolutional RNN Args: cell - **cell**: instance of RCNCell. Inputs: x, h0 - **x** (batch, seq, channel, height, width): tensor containing input features. - **h0** (batch, channel, height, width): tensor containing the initial hidden state to feed the cell. - **output** (one in ['last', 'all', 'a...
62598fb9091ae35668704d7f
class PatternException(Exception): <NEW_LINE> <INDENT> def __init__(self, text): <NEW_LINE> <INDENT> self.txt = text
Образец не подходит для анализа
62598fb967a9b606de54612f
class UpdateOwnProfile(permissions.BasePermission): <NEW_LINE> <INDENT> def has_object_permission(self,request,view,obj): <NEW_LINE> <INDENT> if request.method in permissions.SAFE_METHODS: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> return obj.id == request.user.id
Allow users to edit their own profile
62598fb9cc40096d6161a288
class TestSdCIEIlluminantDSeries(unittest.TestCase): <NEW_LINE> <INDENT> def test_sd_CIE_illuminant_D_series(self): <NEW_LINE> <INDENT> for name, CCT, tolerance in ( ("D50", 5000, 0.001), ("D55", 5500, 0.001), ("D65", 6500, 0.00001), ("D75", 7500, 0.0001), ): <NEW_LINE> <INDENT> CCT = CCT * 1.4388 / 1.4380 <NEW_LINE> x...
Define :func:`colour.colorimetry.illuminants.sd_CIE_illuminant_D_series` definition unit tests methods.
62598fb9099cdd3c63675491
class DecryptResponse(proto.Message): <NEW_LINE> <INDENT> plaintext = proto.Field( proto.BYTES, number=1, ) <NEW_LINE> plaintext_crc32c = proto.Field( proto.MESSAGE, number=2, message=wrappers_pb2.Int64Value, ) <NEW_LINE> used_primary = proto.Field( proto.BOOL, number=3, ) <NEW_LINE> protection_level = proto.Field( pro...
Response message for [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. Attributes: plaintext (bytes): The decrypted data originally supplied in [EncryptRequest.plaintext][google.cloud.kms.v1.EncryptRequest.plaintext]. plaintext_crc32c (google.protobuf.wrappers_pb...
62598fb9236d856c2adc94ef
class TimerHandle: <NEW_LINE> <INDENT> def __init__(self, when, callback, args): <NEW_LINE> <INDENT> assert when is not None <NEW_LINE> self._callback = callback <NEW_LINE> self._args = args <NEW_LINE> self._cancelled = False <NEW_LINE> self._when = when <NEW_LINE> <DEDENT> def cancel(self): <NEW_LINE> <INDENT> self._c...
Took from toolip for heapq to work
62598fb9be7bc26dc9251f0b
class dRdX(KonaMatrix): <NEW_LINE> <INDENT> def product(self, in_vec, out_vec): <NEW_LINE> <INDENT> self._check_linearization() <NEW_LINE> if not self._transposed: <NEW_LINE> <INDENT> self._solver.multiply_dRdX( self._primal._data, self._state._data, in_vec._data, out_vec._data) <NEW_LINE> <DEDENT> else: <NEW_LINE> <IN...
Partial jacobian of the system residual with respect to primal variables.
62598fb91b99ca400228f5e0
class DropoutLayer(object): <NEW_LINE> <INDENT> def __init__(self, input, rng=RandomState(1234), p=0.5): <NEW_LINE> <INDENT> if T.lt(p,1e-5): <NEW_LINE> <INDENT> self.output = input <NEW_LINE> return <NEW_LINE> <DEDENT> srng = RandomStreams(rng.randint(999999)) <NEW_LINE> mask = srng.binomial(n=1, p=1-p, size=input.sha...
Dropout layer: https://github.com/mdenil/dropout
62598fb9167d2b6e312b70d4
class slj(wallpotential): <NEW_LINE> <INDENT> def __init__(self, walls, r_cut=False, d_max=None, name=""): <NEW_LINE> <INDENT> hoomd.util.print_status_line(); <NEW_LINE> wallpotential.__init__(self, walls, r_cut, name); <NEW_LINE> if d_max is None : <NEW_LINE> <INDENT> sysdef = hoomd.context.current.system_definition; ...
Shifted Lennard-Jones wall potential Args: walls (:py:class:`group`): Wall group containing half-space geometries for the force to act in. r_cut (float): The global r_cut value for the force. Defaults to False or 0 if not specified. name (str): The force name which will be used in the metadata and log file...
62598fb910dbd63aa1c70d18
class RoofFinish(Finish): <NEW_LINE> <INDENT> pass
The final material applied to a surface, either interior or exterior. Some structural components don't have an exterior finish, such as unfinished poured concrete.
62598fb9956e5f7376df572d
class ThrottlingInformation(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'duration': {'key': 'duration', 'type': 'duration'}, } <NEW_LINE> def __init__( self, *, duration: Optional[datetime.timedelta] = None, **kwargs ): <NEW_LINE> <INDENT> super(ThrottlingInformation, self).__init__(**kwargs) <N...
Optional throttling information for the alert rule. :param duration: The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes. :type duration: ~datetime.timedelta
62598fb9fff4ab517ebcd943
class RegistroY001(Registro): <NEW_LINE> <INDENT> campos = [ CampoFixo(1, 'REG', 'Y001'), Campo(2, 'IND_DAD'), ]
Abertura do Bloco Y – Informações Gerais
62598fb960cbc95b0636449e
class credentials: <NEW_LINE> <INDENT> credential_list = [] <NEW_LINE> def __init__(self,account_name,user_name,password): <NEW_LINE> <INDENT> self.account_name = account_name <NEW_LINE> self.user_name = user_name <NEW_LINE> self.password = password <NEW_LINE> <DEDENT> def save_account(self): <NEW_LINE> <INDENT> creden...
class that generates new instances of credentials
62598fb9a8370b77170f053e
class Server(Base): <NEW_LINE> <INDENT> def execute(self): <NEW_LINE> <INDENT> if self.args['cpu']: <NEW_LINE> <INDENT> cpu_info = utils.get_cpu_info() <NEW_LINE> for i in cpu_info: <NEW_LINE> <INDENT> utils.log_rep(i+" : "+str(cpu_info[i])) <NEW_LINE> <DEDENT> exit() <NEW_LINE> <DEDENT> if self.args['memory']: <NEW_LI...
usage: server cpu server memory server disk Run nvc server [command] [option] Options: -h --help Print usage
62598fb94f6381625f199572
class GA_segmented(object): <NEW_LINE> <INDENT> def __init__(self, service, profile_id): <NEW_LINE> <INDENT> self.service = service <NEW_LINE> self.profile_id = profile_id <NEW_LINE> <DEDENT> def get_results(self, service, profile_id, start_day, end_day, metric, segmentation): <NEW_LINE> <INDENT> return service.data()....
This class can be looped over to query results into a column. Need to define service and profile for the class, and service, profile, start_day, end_day, ga:{metric}, and segmentation.
62598fb9cc40096d6161a289
class TestBaseModelpep8(unittest.TestCase): <NEW_LINE> <INDENT> def test_pep8(self): <NEW_LINE> <INDENT> style = pep8.StyleGuide(quiet=True) <NEW_LINE> state_pep8 = "models/state.py" <NEW_LINE> test_state_pep8 = "tests/test_models/test_state.py" <NEW_LINE> result = style.check_files([state_pep8, test_state_pep8]) <NEW_...
Validate pep8
62598fb957b8e32f525081cd
class SensorResponseMode(GetSetSpotValue, EnumSpotValue): <NEW_LINE> <INDENT> _nParam = SpotCamConstant.SENSORRESPONSEMODE <NEW_LINE> _ctype = ctypes.c_ulong <NEW_LINE> _enum_class = SpotCamEnum.SensorRespMode
The sensor response mode.
62598fb9099cdd3c63675492
class RadarDataLayer(caffe.Layer): <NEW_LINE> <INDENT> def setup(self, bottom, top): <NEW_LINE> <INDENT> params = eval(self.param_str) <NEW_LINE> self.radarFiles = params['radar_files'] <NEW_LINE> self.videoIds = params['videos'] <NEW_LINE> self.videos = NSVideo.objects.filter(_id__in=self.videoIds) <NEW_LINE> self.bat...
Loading image, label from the medical data files
62598fb966656f66f7d5a552
class transformer_t(object): <NEW_LINE> <INDENT> USE_1_BASED_INDEXING = False <NEW_LINE> def __init__(self, function): <NEW_LINE> <INDENT> object.__init__( self ) <NEW_LINE> self.__function = function <NEW_LINE> <DEDENT> @property <NEW_LINE> def function( self ): <NEW_LINE> <INDENT> return self.__function <NEW_LINE> <D...
Base class for a function transformer.
62598fb98a349b6b4368639c
class DebManager(AbstractPkgManager): <NEW_LINE> <INDENT> CMDPREFIX_DETECT = 'dpkg -l' <NEW_LINE> CMDPREFIX_UPDATE = 'apt-get update' <NEW_LINE> CMDPREFIX_INSTALL = 'apt-get -y --force-yes install' <NEW_LINE> CMDPREFIX_REMOVE = 'apt-get -y --force-yes --purge remove' <NEW_LINE> CMDPREFIX_ADDREPO = '' <NEW_LINE> SOURCEL...
Deb Package System Manager(Debian, Ubuntu, LinuxMint)
62598fb9236d856c2adc94f0
class AlexDANN(chainer.Chain): <NEW_LINE> <INDENT> iter_count = 0 <NEW_LINE> def __init__(self, class_num=31): <NEW_LINE> <INDENT> super(AlexDANN, self).__init__() <NEW_LINE> with self.init_scope(): <NEW_LINE> <INDENT> self.conv1 = L.Convolution2D(3, 96, 11, stride=4) <NEW_LINE> self.conv2 = L.Convolution2D(96, 256, 5,...
input_size:(batch, 3ch, 227, 227)
62598fb997e22403b383b066
class MultiProcessingQueue(queue.Queue): <NEW_LINE> <INDENT> def __init__(self, maximum_number_of_queued_items=0): <NEW_LINE> <INDENT> super(MultiProcessingQueue, self).__init__() <NEW_LINE> queue_max_length = multiprocessing._multiprocessing.SemLock.SEM_VALUE_MAX <NEW_LINE> if maximum_number_of_queued_items > queue_ma...
Class that defines the multi-processing queue.
62598fb9f548e778e596b706
class ElectricHeater(annuity.Annuity): <NEW_LINE> <INDENT> def __init__(self, model, th_capacity): <NEW_LINE> <INDENT> self.model = model <NEW_LINE> self.th_capacity = th_capacity <NEW_LINE> self.heat_hourly = [0]*8760 <NEW_LINE> self.heat_yearly = 0 <NEW_LINE> self.imported_electricity = 0 <NEW_LINE> self.annuity = 0 ...
Class representing Electric Heaters. Efficiency is approximated to 100%. Attributes: model: Model of the Electric Heater. th_capacity: Thermal capacity of the Electric Heater [kW]. heat_yearly: Sum value of heat provided by the electric heater unit over the year [kWh]. heat_hourly: Hourly values of the...
62598fb93317a56b869be5fe
class Gear(object): <NEW_LINE> <INDENT> def __init__(self, pitch_dia, num_teeth): <NEW_LINE> <INDENT> dia_dim = dict(ureg.get_dimensionality(pitch_dia)) <NEW_LINE> if '[length]' not in dia_dim: <NEW_LINE> <INDENT> raise AttributeError("Arg 'pitch_dia' must have [length] dimensionality") <NEW_LINE> <DEDENT> self._pitch_...
Base class for gears Properties ---------- pitch_dia : Quantity [length] Pitch diameter num_teeth : int Number of teeth
62598fb956b00c62f0fb2a1b
class UpdateCacheMiddleware(object): <NEW_LINE> <INDENT> def process_response(self, request, response): <NEW_LINE> <INDENT> if not hasattr(request, '_cache_update_cache') or not request._cache_update_cache: <NEW_LINE> <INDENT> return response <NEW_LINE> <DEDENT> if request.method != 'GET': <NEW_LINE> <INDENT> return re...
Response-phase cache middleware that updates the cache if the response is cacheable. Must be used as part of the two-part update/fetch cache middleware. UpdateCacheMiddleware must be the first piece of middleware in MIDDLEWARE_CLASSES so that it'll get called last during the response phase.
62598fb93617ad0b5ee062a7
class LazyCachedDataset(Dataset): <NEW_LINE> <INDENT> def __init__(self, dataset, cache_dir=None, device="cpu"): <NEW_LINE> <INDENT> import tempfile <NEW_LINE> self.dataset = dataset <NEW_LINE> self.device = device <NEW_LINE> self._tmpdir = tempfile.TemporaryDirectory( dir=cache_dir, prefix="lagomorph.LazyCachedDataset...
Cache data to a tempdir as samples are requested
62598fb910dbd63aa1c70d1a
class AuthRouter(object): <NEW_LINE> <INDENT> def db_for_read(self, model, **hints): <NEW_LINE> <INDENT> if model._meta.app_label == 'auth': <NEW_LINE> <INDENT> return 'auth_db' <NEW_LINE> <DEDENT> if model._meta.app_label == 'sessions': <NEW_LINE> <INDENT> return 'auth_db' <NEW_LINE> <DEDENT> if model._meta.app_label ...
Foi criado um router para definir para onde vai a autenticacao no inicio do projeto.
62598fb966673b3332c30531
@skipIf(NO_MOCK, NO_MOCK_REASON) <NEW_LINE> @skipIf(not HAS_PYVMOMI, 'The \'pyvmomi\' library is missing') <NEW_LINE> @patch('salt.utils.vmware.get_datacenters', MagicMock(return_value=[MagicMock()])) <NEW_LINE> class GetDatacenterTestCase(TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.mock_si...
Tests for salt.utils.vmware.get_datacenter
62598fb97cff6e4e811b5b82
class DataSource(object): <NEW_LINE> <INDENT> def __init__(self, name): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.callbacks = [] <NEW_LINE> self._logger = logging.getLogger(self.name) <NEW_LINE> <DEDENT> def on_change(self, callback): <NEW_LINE> <INDENT> self.callbacks.append(callback) <NEW_LINE> <DEDENT> de...
Abstract data source model
62598fb94f88993c371f05be
class TargetMisfit(InversionDirective): <NEW_LINE> <INDENT> chifact = 1. <NEW_LINE> phi_d_star = None <NEW_LINE> @property <NEW_LINE> def target(self): <NEW_LINE> <INDENT> if getattr(self, '_target', None) is None: <NEW_LINE> <INDENT> if self.phi_d_star is None: <NEW_LINE> <INDENT> nD = 0 <NEW_LINE> for survey in self....
... note:: Currently the target misfit is not set up for joint inversions. Get `in touch <https://github.com/simpeg/simpeg/issues/new>`_ if you would like to help with the upgrade!
62598fb9ad47b63b2c5a79b5
class ra_rb_of_re(Inst54bit): <NEW_LINE> <INDENT> add_commas = False <NEW_LINE> def get_operands(self): <NEW_LINE> <INDENT> reg1 = self.get_bits(7,11) <NEW_LINE> reg2 = self.get_bits(12,16) <NEW_LINE> reg_count = self.get_bits(17,21) + 1 <NEW_LINE> adjust = self.get_bits(22,23) <NEW_LINE> offset = self.get_bits(25,50) ...
LDS LDT LDW STS STT STW
62598fb9f548e778e596b707