code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class WebCommand(command.Command): <NEW_LINE> <INDENT> app = Flask(__name__) <NEW_LINE> def __init__(self, args): <NEW_LINE> <INDENT> self.args = args <NEW_LINE> init() <NEW_LINE> <DEDENT> def run_flask(self): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> WebCommand.app.run(host="127.0.0.1", port=5000) <NEW_LINE> <DEDEN...
Defines the execution of :command: web
62598f6a1d351010ab8f32aa
class GHZPauliCost3qubits(Cost): <NEW_LINE> <INDENT> def _gen_list_meas(self): <NEW_LINE> <INDENT> return ['xxx','xyy','yxy','yyx', 'zzz'] <NEW_LINE> <DEDENT> def _gen_meas_func(self): <NEW_LINE> <INDENT> weights = [1, -1, -1, -1] <NEW_LINE> dim = self.dim <NEW_LINE> def meas_func(counts): <NEW_LINE> <INDENT> x_counts ...
Cost = fidelity w.r.t. a N-qubit GHZ state, estimated based on the expected values of N-fold Pauli operators (e.g. 'XXY'). Uses a reduced commuting measurement basis
62598f6aa8ecb0332587096f
class TestUtils(TestBase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(TestUtils, self).setUp() <NEW_LINE> self.namespace = 'node_discovery.driver' <NEW_LINE> self.alias = 'ovm_ironic' <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> super(TestUtils, self).tearDown() <NEW_LINE> <DEDENT> de...
This class test the utils module from oneview_monasca.shared.
62598f6a507cdc57c63a4504
class EntityBlueprint(Blueprint): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(EntityBlueprint, self).__init__(*args, **kwargs) <NEW_LINE> self.url_value_preprocessor(self._assign_global_entity) <NEW_LINE> self.url_defaults(self._use_global_entity) <NEW_LINE> self.url_defaults(self...
A blueprint that provides g.entity, either using SINGLE_USER_MODE or an url prefix of ``/<entity>``
62598f6a0a366e3fb87dc12d
class VMHelperTest(BaseVolumeManagerTests): <NEW_LINE> <INDENT> def _test_get_udf_path(self, suggested_path): <NEW_LINE> <INDENT> assert isinstance(suggested_path, unicode) <NEW_LINE> assert suggested_path.startswith(u'~') <NEW_LINE> path = get_udf_path(suggested_path) <NEW_LINE> expected = suggested_path.replace(u'/',...
Test the vm_helper methods.
62598f6a167d2b6e312b66e6
class CMAAdaptSigmaTPA(CMAAdaptSigmaBase): <NEW_LINE> <INDENT> def __init__(self, dimension=None, opts=None): <NEW_LINE> <INDENT> CMAAdaptSigmaBase.__init__(self) <NEW_LINE> self.initialized = False <NEW_LINE> <DEDENT> def initialize(self, N): <NEW_LINE> <INDENT> self.sp = _BlancClass() <NEW_LINE> self.sp.damp = eval('...
two point adaptation for step-size sigma. Relies on a specific sampling of the first two offspring, whose objective function value ranks are used to decide on the step-size change. Example ======= >>> import cma >>> cma.CMAOptions('adapt').pprint() >>> es = cma.CMAEvolutionStrategy(10 * [0.2], 0.1, {'AdaptSigma': cma...
62598f6ad6c5a102081e18ad
class IO(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.current_dir: str = os.getcwd() <NEW_LINE> self.__log_path: str = os.path.join(self.current_dir, '.log') <NEW_LINE> <DEDENT> def make_sure_sudo_permission(self): <NEW_LINE> <INDENT> if os.getuid() != 0: <NEW_LINE> <INDENT> print("\n I only got ...
This is for normal IO processing
62598f6a5166f23b2e242b44
class Programme: <NEW_LINE> <INDENT> def __init__(self, shortcrid, crid=None, bitrate=None, onair=True, recommendation=True, version=1): <NEW_LINE> <INDENT> self.shortcrid = shortcrid <NEW_LINE> self.crid = crid <NEW_LINE> self.version = version <NEW_LINE> self.bitrate = bitrate <NEW_LINE> self.onair = onair <NEW_LINE>...
Describes and locates a programme. :param shortcrid: Short Crid :type shortcrid: int :param crid: Full Crid :type crid: str :param bitrate: Where the programme differs from the default service bitrate, this indicates the highgest bitrate that the programme can broadcast at, in kHz. :type bitrate: int :param o...
62598f6a73bcbd0ca4bc99bf
class ProcessCloudProvider(process.Processor): <NEW_LINE> <INDENT> KEY = 'cloud_provider' <NEW_LINE> DEPS = ['dmi_bios_version', 'dmi_chassis_asset_tag', 'dmi_system_manufacturer', 'dmi_system_product_name'] <NEW_LINE> REQUIRE_DEPS = False <NEW_LINE> @staticmethod <NEW_LINE> def process(output, dependencies): <NEW_LINE...
Process the cloud_provider fact based on dmidecode facts.
62598f6a711fe17d825dfe54
class ModelRouter(object): <NEW_LINE> <INDENT> @property <NEW_LINE> def sf_alias(self): <NEW_LINE> <INDENT> return getattr(settings, 'SALESFORCE_DB_ALIAS', 'salesforce') <NEW_LINE> <DEDENT> def db_for_read(self, model, **hints): <NEW_LINE> <INDENT> if 'instance' in hints: <NEW_LINE> <INDENT> db = hints['instance']._sta...
Database router for Salesforce models.
62598f6a26238365f5fac2e0
class __MetaClusterMember(Base): <NEW_LINE> <INDENT> __tablename__ = _MCM <NEW_LINE> metacluster_id = Column(ForeignKey(MetaCluster.cluster_id, ondelete='CASCADE'), nullable=False) <NEW_LINE> cluster_id = Column(ForeignKey(Cluster.id, ondelete='CASCADE'), nullable=False, unique=True) <NEW_LINE> creation_date = deferred...
Binds clusters to metaclusters
62598f6acad5886f8bdc4a88
class DnaSampleLookup(SampleLookupBase): <NEW_LINE> <INDENT> model = M.DnaSample <NEW_LINE> search_fields = ('container__displayId__startswith', 'displayId__startswith', 'dna__displayId__startswith')
For selectable auto-completion field in Sequencing form
62598f6a21bff66bcd7223c8
class Cluster(SvdElement): <NEW_LINE> <INDENT> props = [ "registers", "derivedFrom", "dim", "dimIncrement", "dimIndex", "name", "description", "alternateCluster", "headerStructName", "addressOffset" ] <NEW_LINE> props_to_integer = ["addressOffset", "dim", "dimIncrement"] <NEW_LINE> def from_element(self, element, defau...
SVD Cluster extension level Cluster adds an optional sub-level within the CMSIS SVD registers level. A cluster describes a sequence of neighboring registers within a peripheral.
62598f6a66656f66f7d59b5a
class SysUserListHandler(LayerListHandler): <NEW_LINE> <INDENT> _table = SysUser._table <NEW_LINE> _template = "system/user-list.html" <NEW_LINE> _order_by = "create_time desc" <NEW_LINE> _table_query_args = ("id", "role_id", ) <NEW_LINE> _ex_query_args = ("time", ) <NEW_LINE> def _handler_result_data(self, data, **kwa...
用户列表
62598f6aff9c53063f519dc1
class RequestDeserializer(object): <NEW_LINE> <INDENT> def __init__(self, body_deserializers=None, headers_deserializer=None): <NEW_LINE> <INDENT> self.body_deserializers = { 'application/json': JSONDeserializer(), } <NEW_LINE> self.body_deserializers.update(body_deserializers or {}) <NEW_LINE> self.headers_deserialize...
Break up a Request object into more useful pieces.
62598f6a30c21e258be97f6b
class TransformerVAE(nn.Module): <NEW_LINE> <INDENT> def __init__( self, state_dim, action_dim, msg_dim, batch_size, max_num_limbs, args=None, ): <NEW_LINE> <INDENT> super(TransformerVAE, self).__init__() <NEW_LINE> self.num_limbs = 1 <NEW_LINE> self.max_num_limbs = max_num_limbs <NEW_LINE> self.input_state = [None] * ...
a weight-sharing dynamic graph policy that changes its structure based on different morphologies and passes messages between nodes
62598f6a167d2b6e312b66e8
class App: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.api = FalconApi().api
Class App Base
62598f6a1f5feb6acb1623a4
class ofp_queue_stats_request: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.port_no = 0 <NEW_LINE> self.pad= [0,0] <NEW_LINE> self.queue_id = 0 <NEW_LINE> <DEDENT> def __assert(self): <NEW_LINE> <INDENT> if(not isinstance(self.pad, list)): <NEW_LINE> <INDENT> return (False, "self.pad is not list as ...
Automatically generated Python class for ofp_queue_stats_request Date 2012-05-23 Created by of.pythonize.pythonizer Core structure: Messages do not include ofp_header Does not include var-length arrays
62598f6a56b00c62f0fb2021
class StrengthOfSecondStrongestRhythmicPulseFeature( featuresModule.FeatureExtractor): <NEW_LINE> <INDENT> id = 'R5' <NEW_LINE> def __init__(self, dataOrStream=None, *arguments, **keywords): <NEW_LINE> <INDENT> featuresModule.FeatureExtractor.__init__(self, dataOrStream=dataOrStream, *arguments, **keywords) <NEW_LINE> ...
not yet implemented Frequency of the beat bin of the peak with the second highest frequency.
62598f6a76d4e153a661c384
class Testset(object): <NEW_LINE> <INDENT> name = None <NEW_LINE> description = None <NEW_LINE> _libs = None <NEW_LINE> _testcases = None <NEW_LINE> _dependencies = [] <NEW_LINE> def __init__(self, name, testcases=[], libs=None): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self._libs = {} <NEW_LINE> self._testcases...
Represents a list of testcases.
62598f6ad18da76e235b6cec
class functions: <NEW_LINE> <INDENT> class wkt(BaseFunction): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> class wkb(BaseFunction): <NEW_LINE> <INDENT> def __init__(self, *arguments): <NEW_LINE> <INDENT> BaseFunction.__init__(self, type_=_WKBType, *arguments) <NEW_LINE> <DEDENT> <DEDENT> class dimension(BaseFunction): ...
Functions that implement OGC SFS or SQL/MM and that are supported by most databases
62598f6a15fb5d323ce7e491
class ConstantsModule(ModuleType): <NEW_LINE> <INDENT> Constant = Constant <NEW_LINE> possible_submodules = set(context.oses) | set(context.architectures) <NEW_LINE> def __init__(self, name, module): <NEW_LINE> <INDENT> super(ConstantsModule, self).__init__(name) <NEW_LINE> self.__dict__.update(module.__dict__) <NEW_LI...
ModuleType specialization in order to automatically route queries down to the correct module based on the current context arch / os. >>> with context.local(arch='i386', os='linux'): ... print(constants.SYS_execve + constants.PROT_WRITE) 13 >>> with context.local(arch='amd64', os='linux'): ... ...
62598f6a1f037a2d8b9e385c
class split_line_at_token_when_between_tokens_unless_token_is_found(structure.Rule): <NEW_LINE> <INDENT> def __init__(self, name, identifier, lTokens, oStart, oEnd, oStop): <NEW_LINE> <INDENT> structure.Rule.__init__(self, name=name, identifier=identifier) <NEW_LINE> self.solution = None <NEW_LINE> self.phase = 1 <NEW_...
Checks the case for words. Parameters ---------- name : string The group the rule belongs to. identifier : string unique identifier. Usually in the form of 00N. lTokens : list of parser object types object type to split a line at oStart : token type The start of the range oEnd : token type The end...
62598f6a50485f2cf55da6db
class AddressManager(models.Manager): <NEW_LINE> <INDENT> def get_queryset(self): <NEW_LINE> <INDENT> return AddressQueryset(self.model, using=self._db) <NEW_LINE> <DEDENT> def check_existence(self, public_key_b64): <NEW_LINE> <INDENT> return self.get_queryset().check_existence(public_key_b64) <NEW_LINE> <DEDENT> def g...
Add custom Manager
62598f6a0a366e3fb87dc131
class ExplanationOfBenefitItemDetail(backboneelement.BackboneElement): <NEW_LINE> <INDENT> resource_type = "ExplanationOfBenefitItemDetail" <NEW_LINE> def __init__(self, jsondict=None, strict=True): <NEW_LINE> <INDENT> self.adjudication = None <NEW_LINE> self.category = None <NEW_LINE> self.factor = None <NEW_LINE> sel...
Additional items. Second-tier of goods and services.
62598f6a8e05c05ec3f6e9fc
class RegistroD200(Registro): <NEW_LINE> <INDENT> campos = [ CampoFixo(1, 'REG', 'D200'), Campo(2, 'COD_MOD', obrigatorio=True), CampoNumerico(3, 'COD_SIT', obrigatorio=True), Campo(4, 'SER'), CampoNumerico(5, 'SUB'), CampoNumerico(6, 'NUM_DOC_INI', obrigatorio=True), CampoNumerico(7, 'NUM_DOC_FIN', obrigatorio=True), ...
Resumo da Escrituração Diária – Prestação de Serviços de Transportes (Códigos 07, 08, 8B, 09, 10, 11, 26, 27 e 57).
62598f6ad99f1b3c44d04e21
class MirroredExtended(CoreMirroredExtended): <NEW_LINE> <INDENT> def __init__(self, container_strategy, devices=None, num_gpus_per_worker=None, cross_device_ops=None, auto_shard_dataset=False): <NEW_LINE> <INDENT> super(MirroredExtended, self).__init__( container_strategy, devices, num_gpus_per_worker, cross_device_op...
Implementation of (contrib) MirroredStrategy.
62598f6a287bf620b627132b
class Rider: <NEW_LINE> <INDENT> def __init__(self, identifier, origin, destination, patience): <NEW_LINE> <INDENT> self.id = identifier <NEW_LINE> self.origin = origin <NEW_LINE> self.destination = destination <NEW_LINE> self.patience = patience <NEW_LINE> self.status = WAITING <NEW_LINE> <DEDENT> def __eq__(self, oth...
A rider for a ride-share service Attributes ========== @type id: str A unique identifier for this Rider @type origin: Location the starting Location of the Rider @type destination: Location the Location of the Rider's destination @type status: str the current status of the Rider (Waiting, Cancelled or ...
62598f6ad10714528d69d639
class Consumer(mongo.Document): <NEW_LINE> <INDENT> name = mongo.StringField(max_length=30) <NEW_LINE> key = mongo.StringField(max_length=24) <NEW_LINE> secret = mongo.StringField(max_length=48) <NEW_LINE> ikey = Index().ascending('key').unique() <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return getattr(self, '...
Model for API consumers.
62598f6a8c3a8732951f5cbd
class Result(_AttributeKind): <NEW_LINE> <INDENT> pass
Represents a result for ``AutoDB`` to process.
62598f6ad6c5a102081e18b1
class JingInfo(JingException): <NEW_LINE> <INDENT> def __init__(self, msg, e='', codec='UTF-8'): <NEW_LINE> <INDENT> JingException.__init__(self, msg, e, codec) <NEW_LINE> self.log() <NEW_LINE> <DEDENT> def log(self): <NEW_LINE> <INDENT> content = self.make_log() <NEW_LINE> logging.info(content)
INFO等级的Exception.
62598f6acad5886f8bdc4a8c
class Connectivity(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def is_connected(C): <NEW_LINE> <INDENT> if nx is None: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> G = nx.from_numpy_matrix(C, create_using=nx.DiGraph()) <NEW_LINE> return nx.is_strongly_connected(G) <NEW_LINE> <DEDENT> def __init__(self,...
Constrain the connectivity.
62598f6a9b70327d1c57e519
@value.value_equality <NEW_LINE> class CircularShiftGate(PermutationGate): <NEW_LINE> <INDENT> def __init__(self, num_qubits: int, shift: int, swap_gate: Gate=SWAP) -> None: <NEW_LINE> <INDENT> super(CircularShiftGate, self).__init__(num_qubits, swap_gate) <NEW_LINE> self.shift = shift <NEW_LINE> <DEDENT> def __repr__(...
Performs a cyclical permutation of the qubits to the left by a specified amount. Args: shift: how many positions to circularly left shift the qubits. swap_gate: the gate to use when decomposing.
62598f6aa4f1c619b294dd64
class GenericSynapse(Current): <NEW_LINE> <INDENT> @py.autoinit <NEW_LINE> def __init__(self, parent, basename="GenericSynapse", current="g*(reversal - v)", reversal=None): pass <NEW_LINE> current = "g*(reversal - v)" <NEW_LINE> reversal = None <NEW_LINE> spike_target = None
A generic synapse.
62598f6a711fe17d825dfe59
class Buffer: <NEW_LINE> <INDENT> def __init__(self, sync_manager=None, max_length=25): <NEW_LINE> <INDENT> self.cond = multiprocessing.Condition() <NEW_LINE> if sync_manager is not None: <NEW_LINE> <INDENT> self.buffer = sync_manager.deque(maxlen=max_length) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.buffer = ...
Add items to a deque and provide a function to wait for new items, which will be run in a separate thread. You'll need this too: # Allow working with a deque between threads # http://stackoverflow.com/a/27345949 from multiprocessing.managers import SyncManager SyncManager.register('deque', deque) Base...
62598f6a796e427e5384df04
class TruexBlacklistedUser(db.Model): <NEW_LINE> <INDENT> user_id = db.Column('user_id', UUIDType(binary=False), db.ForeignKey("user.user_id"), primary_key=True, nullable=False) <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return '<user_id: %s>' % self.user_id
list of users that are manually blacklisted from getting truex tasks. not expecting a lof of these
62598f6a167d2b6e312b66ec
class URLPatternGenerator(): <NEW_LINE> <INDENT> _class_name = "" <NEW_LINE> package = "netbox_licences" <NEW_LINE> def __init__(self, class_name): <NEW_LINE> <INDENT> self._class_name = class_name <NEW_LINE> <DEDENT> def _endpoint(self): <NEW_LINE> <INDENT> return inflection.dasherize(inflection.tableize(self._class_n...
Generates urls associated with given name
62598f6a50485f2cf55da6de
class XmlSchema(A10BaseClass): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.ERROR_MSG = "" <NEW_LINE> self.required=[] <NEW_LINE> self.b_key = "xml-schema" <NEW_LINE> self.a10_url="/axapi/v3/waf/xml-schema" <NEW_LINE> self.DeviceProxy = "" <NEW_LINE> self.max_filesize = "" <NEW_LINE> for k...
Class Description:: Manage XML-Schema files. Class xml-schema supports CRUD Operations and inherits from `common/A10BaseClass`. This class is the `"PARENT"` class for this module.` :param max_filesize: {"description": "Set maximum XML-Schema file size (Maximum file size in KBytes, default is 32K)", "partition-visibil...
62598f6a925a0f43d25e77a9
class DoorPassTestCase(TestCase): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def setUpClass(cls): <NEW_LINE> <INDENT> cls.device = DeviceFactory.create() <NEW_LINE> <DEDENT> def test_generate_token(self): <NEW_LINE> <INDENT> door_pass = DoorPassFactory.build() <NEW_LINE> token = door_pass.generate_token() <NEW_LINE> s...
Test case for `models.DoorPass`.
62598f6abe8e80087fbbe7cc
class ColorMap(Feature): <NEW_LINE> <INDENT> def __init__(self, value): <NEW_LINE> <INDENT> super().__init__(color=value, cmap=value)
Track color map.
62598f6a76d4e153a661c388
class VScrollBar(table.Table): <NEW_LINE> <INDENT> def __init__(self,value,min,max,size,step=1,**params): <NEW_LINE> <INDENT> params.setdefault('cls','vscrollbar') <NEW_LINE> table.Table.__init__(self,**params) <NEW_LINE> self.style.check("minus") <NEW_LINE> self.style.check("plus") <NEW_LINE> self.minus = basic.Image(...
A vertical scroll bar.
62598f6a711fe17d825dfe5a
class Grouped(object): <NEW_LINE> <INDENT> def __init__(self, queryset, group_by_field, group_label=None, *args, **kwargs): <NEW_LINE> <INDENT> super(Grouped, self).__init__(queryset, *args, **kwargs) <NEW_LINE> self.group_by_field = group_by_field <NEW_LINE> if group_label is None: <NEW_LINE> <INDENT> self.group_label...
Auxiliar object to create hierarchical options in a select. See https://djangosnippets.org/snippets/1968/
62598f6a8c3a8732951f5cbf
class Impression(models.Model): <NEW_LINE> <INDENT> book = models.ForeignKey(Book, verbose_name=u'書籍', related_name='impressions') <NEW_LINE> comment = models.TextField(u'コメント', blank=True) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.comment
感想
62598f6a38b623060ffa880c
class cbioportalExportWorkflow(BaseStep): <NEW_LINE> <INDENT> name = "cbioportal_export" <NEW_LINE> sheet_shortcut_class = CancerCaseSheet <NEW_LINE> sheet_shortcut_kwargs = { "options": CancerCaseSheetOptions(allow_missing_normal=True, allow_missing_tumor=True) } <NEW_LINE> @classmethod <NEW_LINE> def default_config_y...
Perform cbioportal preparation
62598f6abf627c535bcb0bf1
class Reconstructor(torch.nn.Module): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.classifier = Classifier() <NEW_LINE> self.generator = Generator() <NEW_LINE> <DEDENT> def forward(self, x): <NEW_LINE> <INDENT> encoding = self.classifier(x) <NEW_LINE> appearance = self....
Identify a class from an image and show its representation. This is a composition of two separate networks, a classifier and a generator. The classifier will attempt to determine what class it's provided while the generator will try to figure out what the class looks like.
62598f6aec188e330fdf8012
class Session(ndb.Model): <NEW_LINE> <INDENT> name = ndb.StringProperty() <NEW_LINE> highlights = ndb.StringProperty() <NEW_LINE> speaker = ndb.StringProperty() <NEW_LINE> duration = ndb.IntegerProperty() <NEW_LINE> typeOfSession = ndb.StringProperty() <NEW_LINE> date = ndb.DateProperty() <NEW_LINE> startTime = ndb.T...
Session -- Session object
62598f6a26238365f5fac2e6
class TestSpoof(unittest.TestCase): <NEW_LINE> <INDENT> def test_configure_ioc(self): <NEW_LINE> <INDENT> out = _from_configure_ioc('CSS-gui') <NEW_LINE> print(out) <NEW_LINE> self.assertTrue('dls_sw' in out) <NEW_LINE> self.assertTrue('css' in out) <NEW_LINE> <DEDENT> def test_configure_ioc_with_relative_path(self): <...
A lot of these tests are fragile because they depend on the filesystem setup.
62598f6a9b70327d1c57e51b
class StopEvent(BaseEvent): <NEW_LINE> <INDENT> def __init__(self, data): <NEW_LINE> <INDENT> super(StopEvent, self).__init__('stop') <NEW_LINE> self.stop_id = data['pokestop_id'] <NEW_LINE> self.expiration = datetime.utcfromtimestamp(data['lure_expiration']) <NEW_LINE> self.lat = float(data['latitude']) <NEW_LINE> sel...
Event representing the discovery of a PokeStop.
62598f6a711fe17d825dfe5b
class CastleKilmereMember: <NEW_LINE> <INDENT> def __init__(self, name: str, birthyear: int, sex: str): <NEW_LINE> <INDENT> self._name = name <NEW_LINE> self.birthyear = birthyear <NEW_LINE> self.sex = sex <NEW_LINE> <DEDENT> def says(self, words): <NEW_LINE> <INDENT> return f"{self._name} says {words}" <NEW_LINE> <DED...
Creates a member of the Castle Kilmere School of Magic
62598f6a56b00c62f0fb2027
class EcommerceService(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.config = CommerceConfiguration.current() <NEW_LINE> <DEDENT> def is_enabled(self): <NEW_LINE> <INDENT> return self.config.checkout_on_ecommerce_service and not helpers.is_request_in_themed_site() <NEW_LINE> <DEDENT> def pay...
Helper class for ecommerce service integration.
62598f6abe8e80087fbbe7ce
class ProgressBar(Element): <NEW_LINE> <INDENT> def __init__(self, max_value, orientation=None, size=(None, None), auto_size_text=None, bar_color=(None, None), style=None, border_width=None, relief=None, key=None, pad=None, visible=True, metadata=None): <NEW_LINE> <INDENT> self.MaxValue = max_value <NEW_LINE> self.TKPr...
Progress Bar Element - Displays a colored bar that is shaded as progress of some operation is made
62598f6ad10714528d69d63d
class Chien(Animal): <NEW_LINE> <INDENT> def __init__(self, nom, masse=20, odorat=0.5): <NEW_LINE> <INDENT> Animal.__init__(self, nom, masse) <NEW_LINE> self.odorat = float(odorat) <NEW_LINE> <DEDENT> def aboyer(self): <NEW_LINE> <INDENT> print("Ouaf ! Ouaf !") <NEW_LINE> <DEDENT> def estVivant(self): <NEW_LINE> <INDEN...
Un `Chien` hérite de `Animal` avec des méthodes additionnelles (p.ex. l'aboyement et l'odorat).
62598f6a73bcbd0ca4bc99c7
class IGraph(object): <NEW_LINE> <INDENT> __metaclass__ = ABCMeta <NEW_LINE> @abstractmethod <NEW_LINE> def nodes(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @abstractmethod <NEW_LINE> def edges(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @abstractmethod <NEW_LINE> def neighbors(self, node): <NEW_LINE> ...
Represents the interface or contract that the graph for TextRank should implement.
62598f6ad4950a0f3b1109f1
class NonOrthogonalTransform: <NEW_LINE> <INDENT> def __init__(self, angle: float): <NEW_LINE> <INDENT> self._angle = angle <NEW_LINE> <DEDENT> @property <NEW_LINE> def angle(self): <NEW_LINE> <INDENT> return self._angle <NEW_LINE> <DEDENT> def tr(self, x, y): <NEW_LINE> <INDENT> angle = self._angle <NEW_LINE> return x...
Defines transformations to move between an orthogonal system and a non-orthogonal system defined by the lattice and projection vectors.
62598f6a711fe17d825dfe5c
class InstancePart: <NEW_LINE> <INDENT> def __init__(self, instance, ports, total): <NEW_LINE> <INDENT> self.instance = instance <NEW_LINE> self.ports = ports <NEW_LINE> self.total = total <NEW_LINE> <DEDENT> def __eq__(self, other): <NEW_LINE> <INDENT> return self.__class__ == other.__class__ and self.instance == othe...
This class represents a subset of input ports of an element instance (part of instance).
62598f6ad164cc61758206ec
class relation(object): <NEW_LINE> <INDENT> relation_class = None <NEW_LINE> def __init__(self, func=None, relation=None): <NEW_LINE> <INDENT> self._relation = relation <NEW_LINE> self._related = None <NEW_LINE> self._conditions = None <NEW_LINE> self.set_func(func) <NEW_LINE> <DEDENT> def set_func(self, func): <NEW_LI...
Base relation decorator
62598f6a1f037a2d8b9e3862
class Node: <NEW_LINE> <INDENT> def __init__(self, select_row, attribute, parent_a, value): <NEW_LINE> <INDENT> self.sample = select_row <NEW_LINE> self.attribute = attribute <NEW_LINE> self.parent_attr = parent_a <NEW_LINE> self.value = value <NEW_LINE> self.child = []
C45的决策树节点:包括 1、节点采用哪些属性来分裂 2、这个节点的字数包含哪些样例 3、该节点本身是由父节点的哪个属性分裂来的,它的属性值是什么
62598f6a8c3a8732951f5cc2
class Tests(IMP.test.TestCase): <NEW_LINE> <INDENT> def _create_density_map(self, res, apix): <NEW_LINE> <INDENT> self.dmap = IMP.em.particles2density(self.ps, res, apix) <NEW_LINE> self.dmap.show() <NEW_LINE> self.thr = IMP.em.get_threshold_for_approximate_mass( self.dmap, 2 * IMP.atom.get_mass_from_number_of_residues...
Class to test EM correlation restraint
62598f6a6e29344779affdcf
class CreateJobTemplate(jt_v1.CreateJobTemplate): <NEW_LINE> <INDENT> log = logging.getLogger(__name__ + ".CreateJobTemplate")
Creates job template
62598f6a711fe17d825dfe5d
class AccountWithdrawingLine(models.Model): <NEW_LINE> <INDENT> _name = 'account.retention.linea' <NEW_LINE> _description = 'Detalle de retenciones' <NEW_LINE> STATES_VALUE = {'draft': [('readonly', False)]} <NEW_LINE> withhold_id = fields.Many2one( 'account.retention', string='Documento', ondelete='cascade', index=Tru...
Implementacion de detalle del documento de retencion
62598f6aff9c53063f519dc9
@python_2_unicode_compatible <NEW_LINE> class ChoiceEnum(six.with_metaclass(ChoiceEnumMeta, enum.Enum)): <NEW_LINE> <INDENT> def __str__(self): <NEW_LINE> <INDENT> return ugettext('.'.join((self.__class__.__name__, self.name))) <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def default(cls): <NEW_LINE> <INDENT> try: <NEW_...
Utility class to handle choices in Django model fields
62598f6a66656f66f7d59b62
class Comment(db.Model): <NEW_LINE> <INDENT> id = db.Column(db.Integer, primary_key=True) <NEW_LINE> date_posted = db.Column(db.DateTime, nullable=False, default=datetime.utcnow) <NEW_LINE> comment = db.Column(db.Text(20), nullable=False) <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return f"Comment({self.date_po...
Data model for posts.
62598f6a63f4b57ef0085929
class ModelInfoQuestionFormTest(QuestionFormTest): <NEW_LINE> <INDENT> pass
Override and extend your tests here
62598f6a287bf620b6271331
class Client(object): <NEW_LINE> <INDENT> def __init__(self, base_url = 'https://api.engineyard.com', token = None): <NEW_LINE> <INDENT> self.__base_url = base_url <NEW_LINE> self.__token = token <NEW_LINE> <DEDENT> def __construct_request_url(self, path): <NEW_LINE> <INDENT> u = furl(self.__base_url) <NEW_LINE> u.path...
A base driver that talks to the Engine Yard API
62598f6a7b25080760ed6c0d
class BeersUtilsException(Exception): <NEW_LINE> <INDENT> pass
Base class for other exceptions in this package.
62598f6b0383005118f6ce80
class CalledProcessErrorMod(Exception): <NEW_LINE> <INDENT> def __init__(self, returncode, cmd, errFile=None, outFile=None, cmdFile=None): <NEW_LINE> <INDENT> self.returncode = returncode <NEW_LINE> self.cmd = cmd <NEW_LINE> self.errFile = errFile <NEW_LINE> self.outFile = outFile <NEW_LINE> self.cmdFile = cmdFile <NEW...
This exception is raised when subprocess.call returns a non-zero exit code and checking has been requested. This should not be accessed by the user it is used only within make_external_call.
62598f6b8c3a8732951f5cc3
class schema(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.description = {} <NEW_LINE> <DEDENT> def add(self, field_name, field_type=str, field_validator=None): <NEW_LINE> <INDENT> if not field_name or not isinstance(field_name, str) or field_name in self.description: <NEW_LINE> <INDENT> ret...
Schema is something like a description of a data class with validation. with validation. Basic look and feel. Please check the unit test to see more examples. >>> s = schema().add('first-name').add('surname').build() >>> s.is_valid({'first-name': 'Agatha', 'surname': 'Christie'}) True The name 'sur-name' does not exi...
62598f6b15fb5d323ce7e499
class SSTF: <NEW_LINE> <INDENT> def execute(self, cilindro_inicial, requisicoes): <NEW_LINE> <INDENT> cilindros_percorridos = 0 <NEW_LINE> posicao_atual = cilindro_inicial <NEW_LINE> for requisicao in range(len(requisicoes)): <NEW_LINE> <INDENT> i = self.__menor_distancia(posicao_atual, requisicoes) <NEW_LINE> cilindro...
Algoritmo de escalonamento Shortest Seek Time First (SSTF)
62598f6b1d351010ab8f32b6
class ModuleNotSupportedException(SuiteException): <NEW_LINE> <INDENT> pass
Exception raised when the requested action is not supported on a module.
62598f6ba8ecb0332587097b
class PropertyPairLessThanOrEqualsDetector(RestrictionTypeDetector): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(PropertyPairLessThanOrEqualsDetector, self).__init__() <NEW_LINE> self.addResult(MEASURE_OCCURRENCE, 0, TYPE_INT) <NEW_LINE> <DEDENT> def getRestrictionType(self): <NEW_LINE> <INDENT> r...
This class serves as interface for all shape constraint statistics of less-than-or-equals property pair constraints. Subclasses of this class, should implement the compute method in which they should perform their computation and call the set* methods of this class here.
62598f6b796e427e5384df0a
class Processor: <NEW_LINE> <INDENT> def process(self, input_eval: Evaluation) -> Evaluation: <NEW_LINE> <INDENT> raise NotImplementedError
Superclass for all processors that can be applied to Evaluation instances. All processors have a method process() that take an Evaluation instance and returns an Evaluation that has been processed in some way. The behavior of this method is specified by the specific subclass and its parameters.
62598f6b66656f66f7d59b64
class Triple (PrefixableObject): <NEW_LINE> <INDENT> leftOperand = None <NEW_LINE> boolean = None <NEW_LINE> rightOperand = None <NEW_LINE> def toXCQL(self, depth=0): <NEW_LINE> <INDENT> space = " " * depth <NEW_LINE> if (depth == 0): <NEW_LINE> <INDENT> xml = ['<triple xmlns="%s">\n' % (XCQLNamespace)] <NEW_LINE> <DE...
Object to represent a CQL triple
62598f6b287bf620b6271333
class File(db.Model): <NEW_LINE> <INDENT> name = db.StringProperty() <NEW_LINE> description = db.StringProperty() <NEW_LINE> has_header_row = db.BooleanProperty() <NEW_LINE> file_key = db.StringProperty() <NEW_LINE> last_modified = db.DateTimeProperty(auto_now_add=True) <NEW_LINE> delimiter = db.StringProperty() <NEW_L...
Model for file entity.
62598f6b66673b3332c2fb32
class NetworkInterfaceAssociation(Model): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, } <NEW_LINE> def __init__(self, *, security_rules=None, **kwargs) -> None: <NE...
Network interface and its custom security rules. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Network interface ID. :vartype id: str :param security_rules: Collection of custom security rules. :type security_rules: list[~azure.mgmt.network.v2018_01_01.models.Secur...
62598f6b6aa9bd52df0d4647
class MultiCohort: <NEW_LINE> <INDENT> def __init__(self, ids, pop_sizes, mortality_probs): <NEW_LINE> <INDENT> self._ids = ids <NEW_LINE> self._popSizes = pop_sizes <NEW_LINE> self._mortalityProbs = mortality_probs <NEW_LINE> self._survivalTimes = [] <NEW_LINE> self._meanSurvivalTimes = [] <NEW_LINE> self.percentages=...
simulates multiple cohorts with different parameters
62598f6b7c178a314d78cc18
@attr.s(slots=True) <NEW_LINE> class RefreshToken: <NEW_LINE> <INDENT> user = attr.ib(type=User) <NEW_LINE> client_id = attr.ib(type=Optional[str]) <NEW_LINE> access_token_expiration = attr.ib(type=timedelta) <NEW_LINE> client_name = attr.ib(type=Optional[str], default=None) <NEW_LINE> client_icon = attr.ib(type=Option...
RefreshToken for a user to grant new access tokens.
62598f6bd164cc61758206ee
class UserManager(BaseUserManager): <NEW_LINE> <INDENT> use_in_migrations = True <NEW_LINE> def _create_user(self, email, password, **extra_fields): <NEW_LINE> <INDENT> print(password) <NEW_LINE> if not email: <NEW_LINE> <INDENT> raise ValueError('The given email must be set') <NEW_LINE> <DEDENT> email = self.normalize...
Define a model manager for User model with no username field.
62598f6b1f037a2d8b9e3865
@format_doc(base_doc, components=doc_components, footer="") <NEW_LINE> class Supergalactic(BaseCoordinateFrame): <NEW_LINE> <INDENT> frame_specific_representation_info = { r.SphericalRepresentation: [ RepresentationMapping('lon', 'sgl'), RepresentationMapping('lat', 'sgb') ], r.CartesianRepresentation: [ Representation...
Supergalactic Coordinates (see Lahav et al. 2000, <https://ui.adsabs.harvard.edu/abs/2000MNRAS.312..166L>, and references therein).
62598f6b30c21e258be97f76
class Spawner(Construction): <NEW_LINE> <INDENT> def __init__(self, spawn_frequency=5, spawn_factory=None, **kwargs): <NEW_LINE> <INDENT> super(Spawner, self).__init__(**kwargs) <NEW_LINE> self.spawn_frequency = spawn_frequency <NEW_LINE> self.spawn_counter = 1 <NEW_LINE> self.spawn_factory = spawn_factory <NEW_LINE> <...
A construction that spawns enemies every few turns
62598f6bff9c53063f519dcd
class SkipPlayer(Event): <NEW_LINE> <INDENT> pass
The button for skipping a player was pressed.
62598f6b30c21e258be97f77
class TCell: <NEW_LINE> <INDENT> thrift_spec = ( None, (1, TType.STRING, 'value', None, None, ), (2, TType.I64, 'timestamp', None, None, ), ) <NEW_LINE> def __init__(self, value=None, timestamp=None,): <NEW_LINE> <INDENT> self.value = value <NEW_LINE> self.timestamp = timestamp <NEW_LINE> <DEDENT> def read(self, iprot)...
TCell - Used to transport a cell value (byte[]) and the timestamp it was stored with together as a result for get and getRow methods. This promotes the timestamp of a cell to a first-class value, making it easy to take note of temporal data. Cell is used all the way from HStore up to HTable. Attributes: - value - ti...
62598f6b63f4b57ef008592b
class ValidationTestCase(TestCase): <NEW_LINE> <INDENT> def assertStripped(self, obj, msg=None): <NEW_LINE> <INDENT> self.assertIsInstance(obj, basestring, 'Argument is not a string') <NEW_LINE> if len(obj) != len(obj.strip()): <NEW_LINE> <INDENT> standardMsg = '%s contains leading or trailing whitespace' <NEW_LINE> se...
A class that provides extra assert methods for validating data.
62598f6b7b25080760ed6c11
class _PackageSearchCommand(sublime_plugin.WindowCommand, pfs.PackageSearch): <NEW_LINE> <INDENT> def run(self, **kwargs): <NEW_LINE> <INDENT> self.search(**kwargs)
Package search base command.
62598f6b56b00c62f0fb202d
@parser(Specs.sysconfig_chronyd) <NEW_LINE> class ChronydSysconfig(SysconfigOptions): <NEW_LINE> <INDENT> pass
This parser analyzes the ``/etc/sysconfig/chronyd`` configuration file. Sample Input:: OPTIONS="-d" #HIDE="me" Examples: >>> 'OPTIONS' in chronyd_syscfg True >>> 'HIDE' in chronyd_syscfg False >>> chronyd_syscfg['OPTIONS'] '-d'
62598f6b925a0f43d25e77b1
class PartCategory(Model): <NEW_LINE> <INDENT> def __init__(self, name=None, description=None, id=None, parent=None, childs=None, path=None): <NEW_LINE> <INDENT> self.swagger_types = { 'name': str, 'description': str, 'id': int, 'parent': PartCategoryRef, 'childs': List[PartCategory], 'path': str } <NEW_LINE> self.attr...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f6b7c178a314d78cc1a
class KNXBinarySensor(KnxEntity, BinarySensorEntity): <NEW_LINE> <INDENT> _device: XknxBinarySensor <NEW_LINE> def __init__(self, xknx: XKNX, config: ConfigType) -> None: <NEW_LINE> <INDENT> super().__init__( device=XknxBinarySensor( xknx, name=config[CONF_NAME], group_address_state=config[BinarySensorSchema.CONF_STATE...
Representation of a KNX binary sensor.
62598f6bfb3f5b602db47d6d
class Beam(pygame.sprite.Sprite): <NEW_LINE> <INDENT> speed = 5 <NEW_LINE> def __init__(self, pos): <NEW_LINE> <INDENT> pygame.sprite.Sprite.__init__(self, self.containers) <NEW_LINE> self.rect = self.image.get_rect() <NEW_LINE> self.rect.center = pos <NEW_LINE> <DEDENT> def update(self): <NEW_LINE> <INDENT> self.rect....
エイリアンが発射するビーム
62598f6bd6c5a102081e18bb
class AssertStubActionCalledForTestPlanDirective(Directive): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def name(cls): <NEW_LINE> <INDENT> return 'stub_action_called_for_test' <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def get_full_grammar(cls): <NEW_LINE> <INDENT> return ( Literal('stub action') + ':' + Word(alphanu...
Use this directive to stub an action call to another service that your service calls and set an expectation that the stubbed action will be called (or not) by the test. If you use this directive without a corresponding `stub action ... body` or `stub action ... error` directive, the stubbed action will return an empty ...
62598f6b1f037a2d8b9e3867
class RenewalOption(object): <NEW_LINE> <INDENT> swagger_types = { } <NEW_LINE> attribute_map = { } <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.discriminator = None <NEW_LINE> <DEDENT> def to_dict(self): <NEW_LINE> <INDENT> result = {} <NEW_LINE> for attr, _ in six.iteritems(self.swagger_types): <NEW_LINE> ...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f6b8c3a8732951f5cc8
class SamtoolsError( Exception ): <NEW_LINE> <INDENT> def __init__(self, value): <NEW_LINE> <INDENT> self.value = value <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return repr(self.value)
exception raised in case of an error incurred in the samtools library.
62598f6b1d351010ab8f32ba
class Geo2Rdr(Workflow, family="flo.cli.geo2rdr"): <NEW_LINE> <INDENT> flow = flo.model.flows.flow() <NEW_LINE> flow.default = flo.isce3.workflows.geo2rdr <NEW_LINE> flow.doc = "the workflow to execute"
Invoke the {geo2rd} workflow to compute the transformation from geodetic coordinates to radar coordinates for a given SLC
62598f6b30c21e258be97f78
class RecipeTopicRelation(models.Model): <NEW_LINE> <INDENT> recipe = models.ForeignKey(Recipe, on_delete=models.CASCADE) <NEW_LINE> recipeTopic = models.ForeignKey(RecipeTopic, on_delete=models.CASCADE) <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> return u'%s -> %s' % (self.recipe, self.recipeTopic) <NEW_LINE...
class of a RecipeTopicRelation
62598f6bec188e330fdf801a
class CombiningMiddleware(object): <NEW_LINE> <INDENT> def __init__(self, app, mounts=None): <NEW_LINE> <INDENT> self.app = app <NEW_LINE> self.mounts = mounts or {} <NEW_LINE> <DEDENT> def __call__(self, environ, start_response): <NEW_LINE> <INDENT> script = environ.get('PATH_INFO', '') <NEW_LINE> while '/' in script:...
Allows one to mount middlewares or applications in a WSGI application. Unlike DispatcherMiddleware, this one doesn't alter the environment of the called application. That is, applications still receive the absolute path.
62598f6b26238365f5fac2ee
class ForParser(Parser): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.out = [] <NEW_LINE> <DEDENT> def visit_For(self, node): <NEW_LINE> <INDENT> tv = Parser.get_target_vars(node.target) <NEW_LINE> self.out.append( { "node": node, "iter": node.iter, "body": {"node": node.body, "target_vars": tv}, "o...
Find for structures. A parser which inherits from the basic parser to find for structures. Only 'top-level' for structures will be found!
62598f6b5e10d32532ce34a7
class Dissoc(object): <NEW_LINE> <INDENT> def __init__(self, n=2): <NEW_LINE> <INDENT> self.ngrams = {} <NEW_LINE> self.n = n <NEW_LINE> self.starting_ngrams = [] <NEW_LINE> <DEDENT> def train(self, messages): <NEW_LINE> <INDENT> for message in messages: <NEW_LINE> <INDENT> self.process(message) <NEW_LINE> <DEDENT> <DE...
A class for generating nonsense text based on a corpus.
62598f6b7c178a314d78cc1c
class Button(): <NEW_LINE> <INDENT> def __init__(self, type_button, title, payload_text): <NEW_LINE> <INDENT> self.type_button = type_button <NEW_LINE> self.title = title <NEW_LINE> self.payload_text = payload_text
Classe que representa o componente de botão. O botão criado por esta classe pode ser dos tipos: - Botão de postback (Já testado)
62598f6bfb3f5b602db47d6e
class NodeGroupTemplate(object): <NEW_LINE> <INDENT> pass
An object representing Node Group Template. id name description tenant_id flavor_id image_id plugin_name hadoop_version node_processes - list of node processes node_configs - configs dict converted to object, see the docs for details volumes_per_node volumes_size volumes_availability_zone volume_mount_p...
62598f6b15fb5d323ce7e49f
class HDF5_NumpyArrayPropertyLoader(): <NEW_LINE> <INDENT> def __init__(self, name, arraytype = np.ndarray, hfile = None): <NEW_LINE> <INDENT> assert arraytype == np.ndarray or arraytype == pq.Quantity <NEW_LINE> self.name = name <NEW_LINE> self.arraytype = arraytype <NEW_LINE> self.hfile = hfile <NEW_LINE> <DEDENT> de...
Class to manage property of numpy.ndarray attribute in mapped classe. HDF5 (PyTable) table way.
62598f6b5166f23b2e242b55
class AsNumpyResult(object): <NEW_LINE> <INDENT> def __init__(self, result_ptrs, columns): <NEW_LINE> <INDENT> self._result_ptrs = result_ptrs <NEW_LINE> self._columns = columns <NEW_LINE> self._py_arrays = None <NEW_LINE> <DEDENT> def GetValue(self): <NEW_LINE> <INDENT> if self._py_arrays is None: <NEW_LINE> <INDENT> ...
Future-like class that represents the result of an AsNumpy call. Provides AsNumpy with laziness when it comes to triggering the event loop. Attributes: _columns (list): list of the names of the columns returned by AsNumpy. _py_arrays (dict): results of the AsNumpy action. The key is the column...
62598f6b9b70327d1c57e525
class ResponseHandler(threading.Thread): <NEW_LINE> <INDENT> def __init__(self, server): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.server = server <NEW_LINE> self.name = 'ResponseHandler-thread' <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> _logger.info('starting ResponseHandler') <NEW_LINE> try: ...
Handles responses from the response queue.
62598f6b796e427e5384df10