code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class ConfigDataContextFactory(DataContextFactory): <NEW_LINE> <INDENT> def __init__(self, config_file): <NEW_LINE> <INDENT> self._config_file = config_file <NEW_LINE> <DEDENT> def create_data_context(self): <NEW_LINE> <INDENT> return NotImplementedError
:type _config_file: str
625990682c8b7c6e89bd4f9e
class SettingsForm(forms.Form): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(SettingsForm, self).__init__(*args, **kwargs) <NEW_LINE> settings.use_editable() <NEW_LINE> for name in sorted(registry.keys()): <NEW_LINE> <INDENT> setting = registry[name] <NEW_LINE> if setting["editable...
Form for settings - creates a field for each setting in ``mezzanine.conf`` that is marked as editable.
62599068e76e3b2f99fda1b9
class SetClientInfo_result: <NEW_LINE> <INDENT> thrift_spec = ( (0, TType.STRUCT, 'success', (TSetClientInfoResp, TSetClientInfoResp.thrift_spec), None, ), ) <NEW_LINE> def __init__(self, success=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot._...
Attributes: - success
62599068cc40096d6161adbc
class AutoRegressiveModel: <NEW_LINE> <INDENT> def __init__(self, regression_level, epochs): <NEW_LINE> <INDENT> self.epochs = epochs <NEW_LINE> self.current_step = 0 <NEW_LINE> self.regression_level = regression_level <NEW_LINE> num_scale_nets = 2 <NEW_LINE> g_scale_fms = [[8, 16, 8, C], [8, 16, 8, C]] <NEW_LINE> g_sc...
Use previous trained subnetworks to predict more than one time step ahead in time in autoregressive method
62599068aad79263cf42ff6e
class InheritanceTests: <NEW_LINE> <INDENT> subclasses = [] <NEW_LINE> superclasses = [] <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super().__init__(*args, **kwargs) <NEW_LINE> assert self.subclasses or self.superclasses, self.__class__ <NEW_LINE> self.__test = getattr(abc, self.__class__.__nam...
Test that the specified class is a subclass/superclass of the expected classes.
625990684a966d76dd5f06ad
class DingBotMessageService: <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> @service_template <NEW_LINE> async def send_text(token: str, msg: str): <NEW_LINE> <INDENT> if not token or not msg: <NEW_LINE> <INDENT> raise ValueError(f"参数非法,token:{token},msg:{msg}") <NEW_LINE> <DEDENT> await ding_bot_client.send_text(token, ...
钉钉自定义机器人发送消息,包含异常处理
625990687b180e01f3e49c40
class HasRevisions(ABCMixin): <NEW_LINE> <INDENT> @property <NEW_LINE> def versioned_relationships(self): <NEW_LINE> <INDENT> return [] <NEW_LINE> <DEDENT> @property <NEW_LINE> def propagated_attributes(self): <NEW_LINE> <INDENT> return [] <NEW_LINE> <DEDENT> @property <NEW_LINE> def should_suppress_transaction_creatio...
Mixin for tables that should be versioned in the transaction log.
62599068d6c5a102081e38e0
class EditProfileForm(forms.ModelForm): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(EditProfileForm, self).__init__(*args, **kwargs) <NEW_LINE> self.fields["First Name"] = forms.CharField(initial=self.instance.user.first_name) <NEW_LINE> self.fields["Last Name"] = forms.CharField(...
Form to add new album.
62599068009cb60464d02cf2
class NetworkService(model_base.BASEV2): <NEW_LINE> <INDENT> id = sa.Column(sa.String(36), primary_key=True, nullable=False) <NEW_LINE> vnfm_id = sa.Column(sa.String(4000),nullable=False) <NEW_LINE> vdus = sa.Column(sa.String(4000), nullable=False) <NEW_LINE> networks = sa.Column(sa.String(4000), nullable=False) <NEW_L...
Represents Network service details
625990687d847024c075db92
class ColorStream( Stream ): <NEW_LINE> <INDENT> _colors = 'black', 'red', 'green', 'yellow', 'blue', 'purple', 'cyan', 'white' <NEW_LINE> def __init__( self, color, bold=False ): <NEW_LINE> <INDENT> colorid = self._colors.index( color ) <NEW_LINE> boldid = 1 if bold else 0 <NEW_LINE> self.fmt = '\033[%d;3%dm%%s\033[0m...
Wraps all text in unix terminal escape sequences to select color and weight.
625990684f88993c371f10fb
class Testing2(ModuleBase): <NEW_LINE> <INDENT> def output_usage(self): <NEW_LINE> <INDENT> print("This is the usage\n")
Some dummy module
625990683539df3088ecda58
class FactsCollectionPhase(Phase): <NEW_LINE> <INDENT> name = 'FactsCollection' <NEW_LINE> filter = TagFilter(FactsPhaseTag) <NEW_LINE> policies = Policies(Policies.Errors.FailPhase, Policies.Retry.Phase) <NEW_LINE> flags = Flags()
Get information (facts) about the system (e.g. installed packages, configuration, ...). No decision should be done in this phase. Scan the system to get information you need and provide it to other actors in the following phases.
6259906897e22403b383c6c6
class Comment(Content): <NEW_LINE> <INDENT> implements(IComment) <NEW_LINE> id = Column(Integer, ForeignKey('contents.id'), primary_key=True) <NEW_LINE> message = Column('message', Unicode(256)) <NEW_LINE> creator = Column('creator', Unicode(256)) <NEW_LINE> type_info = Content.type_info.copy( name=u'Comment', title=_(...
This is your content type.
625990685fc7496912d48e44
class Game: <NEW_LINE> <INDENT> def __init__(self, game_date, home_team, away_team): <NEW_LINE> <INDENT> self.game_date = game_date <NEW_LINE> self.home_team = home_team <NEW_LINE> self.away_team = away_team <NEW_LINE> self.plays = {} <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return '{game_date: ' + s...
A game between two teams on a date
625990696e29344779b01e0b
class Task(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.TaskId = None <NEW_LINE> self.TaskName = None <NEW_LINE> self.MigrationType = None <NEW_LINE> self.Status = None <NEW_LINE> self.ProjectId = None <NEW_LINE> self.ProjectName = None <NEW_LINE> self.SrcInfo = None <NEW_LINE> self....
迁移任务类别
62599069442bda511e95d935
class TokenBucket: <NEW_LINE> <INDENT> def __init__(self, rate, capacity): <NEW_LINE> <INDENT> self._rate = rate <NEW_LINE> self._capacity = capacity <NEW_LINE> self._current_amount = 0 <NEW_LINE> self._last_consume_time = int(time.time()) <NEW_LINE> <DEDENT> def consume(self, token_amount): <NEW_LINE> <INDENT> increme...
令牌桶
625990694e4d562566373bc1
class DefaultResponseManager(AbstractJSONResponseManager): <NEW_LINE> <INDENT> def get_error_message(self, json_error_response: Any) -> Optional[str]: <NEW_LINE> <INDENT> return self.get_default_error_message(json_error_response) <NEW_LINE> <DEDENT> def get_error_response_schema(self) -> Optional[Any]: <NEW_LINE> <INDE...
JSON response manager for REST endpoints (PUT) returning a generic success response
6259906932920d7e50bc7800
class CobroCliente(ObjetoBase): <NEW_LINE> <INDENT> def __init__(self,numero,factura,tipo,importe): <NEW_LINE> <INDENT> self.numero=numero <NEW_LINE> self.id_factura=factura <NEW_LINE> self.tipo=tipo <NEW_LINE> self.importe=importe <NEW_LINE> self.nota_credito=None <NEW_LINE> <DEDENT> def setNC(self,nro_nota): <NEW_LIN...
Clase que modela la logica del Cobro al Cliente
625990698e71fb1e983bd281
class RemoteObjectInterface(object): <NEW_LINE> <INDENT> removed = False <NEW_LINE> @abstractmethod <NEW_LINE> def _remove(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def remove(self): <NEW_LINE> <INDENT> if self.removed: <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> self._remove() <NEW_LINE> self.removed = Tr...
Handle to data on workers of a |WorkerPool|. See documentation of :class:`WorkerPoolInterface` for usage of these handles in conjunction with :meth:`~WorkerPoolInterface.apply`, :meth:`~WorkerPoolInterface.scatter_array`, :meth:`~WorkerPoolInterface.scatter_list`. Remote objects can be used as a context manager: when...
62599069f548e778e596cd46
class Document(object): <NEW_LINE> <INDENT> def __init__(self, meta=None, body=None, uri=None, lang=None, basefile=None, version=None): <NEW_LINE> <INDENT> if meta is None: <NEW_LINE> <INDENT> self.meta = Graph() <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.meta = meta <NEW_LINE> <DEDENT> if body is None: <NEW_LI...
A document represents the content of a document together with a RDF graph containing metadata about the document. Don't create instances of :class:`~ferenda.Document` directly. Create them through :meth:`~ferenda.DocumentRepository.make_document` in order to properly initialize the ``meta`` property. :param meta: A RD...
62599069796e427e5384ff31
class SonyProjector(SwitchDevice): <NEW_LINE> <INDENT> def __init__(self, sdcp_connection, name): <NEW_LINE> <INDENT> self._sdcp = sdcp_connection <NEW_LINE> self._name = name <NEW_LINE> self._state = None <NEW_LINE> self._available = False <NEW_LINE> self._attributes = {} <NEW_LINE> <DEDENT> @property <NEW_LINE> def a...
Represents a Sony Projector as a switch.
62599069009cb60464d02cf4
class Spectrum(metaclass=abc.ABCMeta): <NEW_LINE> <INDENT> wavenumber_resolution = None <NEW_LINE> max_mode_order = None <NEW_LINE> _required_attributes = ["wavenumber_resolution", "max_mode_order"] <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> self._sizes = np.zeros(3) <NEW_LINE> required_attribu...
Abstract turbulence spectrum.
6259906901c39578d7f14312
class CommentParserError(Exception): <NEW_LINE> <INDENT> def __init__(self, token, comment_block, message): <NEW_LINE> <INDENT> self.token = token <NEW_LINE> self.comment_block = comment_block <NEW_LINE> self.message = f"Error parsing the comment block \n {comment_block} from the token \n {token}. With the error messag...
Custom class for a comment parser error.
625990694f88993c371f10fc
@provider(IFormFieldProvider) <NEW_LINE> class IGoogleNews(model.Schema): <NEW_LINE> <INDENT> model.fieldset( 'google-news', label=_(u'Google News'), fields=['standout_journalism', 'news_keywords'], ) <NEW_LINE> standout_journalism = schema.Bool( title=_(u'Standout Journalism'), description=_( u'help_standout_journalis...
Behavior interface to add some Google News features.
62599069f7d966606f749498
class A4(A3, B1): <NEW_LINE> <INDENT> def __init__(self, x0: int, y1: float = 1.): <NEW_LINE> <INDENT> A3.__init__(self, x0, y1=y1) <NEW_LINE> B1.__init__(self, x0)
This is an empty class that inherit from A3 and B1
6259906976e4537e8c3f0d3e
class JoinRequest(models.Model): <NEW_LINE> <INDENT> user = models.ForeignKey(User, related_name='join_requests') <NEW_LINE> group = models.ForeignKey(Group, related_name='join_requests') <NEW_LINE> date = models.DateTimeField(auto_now_add=True) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> unique_together = ('user', 'gro...
This model's purpose is to store data temporaly for join the group. An user can request to join into a group in two main scenaries: 1. While the registration: chooses the group(s) 2. A registered user: can request to join a group(s) Once the request is created, the group's admin have to check it accepting or refusing...
62599069ac7a0e7691f73ca1
class TestInlineResponse20027(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def make_instance(self, include_optional): <NEW_LINE> <INDENT> if include_optional : <NEW_LINE> <INDENT> return InlineRespo...
InlineResponse20027 unit test stubs
625990692ae34c7f260ac8a3
class _copyto: <NEW_LINE> <INDENT> __qualname__ = 'copyto' <NEW_LINE> def __new__(cls, inst): <NEW_LINE> <INDENT> return tuple.__new__(type(inst), inst)
U.copy() -> a shallow copy of U
62599069627d3e7fe0e08644
class SourcesTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.new_source = Sources('newsbyelkwal', 'My News', 'get the latest updates', 'https://google.com', 'general', 'kenya') <NEW_LINE> <DEDENT> def test_instance(self): <NEW_LINE> <INDENT> self.assertTrue(isinstance(self.new_sou...
Test case to test the behavior of the Sources class
62599069d486a94d0ba2d77a
class FileTransferConfigSchema(jsl.Document): <NEW_LINE> <INDENT> local_data_dir = jsl.StringField(pattern=schemautil.StringPatterns.absOrRelativePathPatternOrEmpty, required=True) <NEW_LINE> site_mapping_push = jsl.ArrayField(items=jsl.DocumentField(_SiteMappingSchema), unique_items=True, required=True) <NEW_LINE> sit...
schema for FileTransfer's config. Notice that push and fetch mappings are separate. This can be useful when we have a read-only (thus safe) mapping for fetch, and don't use mapping at all when push
62599069435de62698e9d5c6
class EnterpriseApiClient(JwtLmsApiClient): <NEW_LINE> <INDENT> API_BASE_URL = settings.LMS_INTERNAL_ROOT_URL + '/enterprise/api/v1/' <NEW_LINE> APPEND_SLASH = True <NEW_LINE> ENTERPRISE_CUSTOMER_ENDPOINT = 'enterprise-customer' <NEW_LINE> ENTERPRISE_CUSTOMER_CATALOGS_ENDPOINT = 'enterprise_catalogs' <NEW_LINE> DEFAULT...
Object builds an API client to make calls to the Enterprise API.
625990697d847024c075db95
class SnakeoilCACertificatePlugin(cert_manager.CertificatePluginBase): <NEW_LINE> <INDENT> def __init__(self, conf=CONF): <NEW_LINE> <INDENT> self.ca = SnakeoilCA(conf.snakeoil_ca_plugin.ca_cert_path, conf.snakeoil_ca_plugin.ca_cert_key_path) <NEW_LINE> self.cert_manager = CertManager(self.ca) <NEW_LINE> <DEDENT> def g...
Snakeoil CA certificate plugin. This is used for easily generating certificates which are not useful in a production environment.
625990695fcc89381b266d34
class FileFolderCopy(BaseFileFolderAction): <NEW_LINE> <INDENT> action_type = 'copy'
Copies a file or folder to a different location in the user’s Dropbox. If the source path is a folder all its content will be copied. If destination path doesn't exist it will be created.
625990693617ad0b5ee0790f
class Copy(object): <NEW_LINE> <INDENT> _filename = '' <NEW_LINE> _copy = {} <NEW_LINE> def __init__(self, filename, cell_wrapper_cls=None): <NEW_LINE> <INDENT> self._filename = filename <NEW_LINE> self._cell_wrapper_cls = cell_wrapper_cls or (lambda x: x) <NEW_LINE> self.load() <NEW_LINE> <DEDENT> def __getitem__(self...
Wraps copy text, for multiple worksheets, for error handling.
625990698a43f66fc4bf394d
class FlaskResourceful(object): <NEW_LINE> <INDENT> def init_app(self, app): <NEW_LINE> <INDENT> self.app = app <NEW_LINE> <DEDENT> def add_views(self, route, views): <NEW_LINE> <INDENT> for view in views: <NEW_LINE> <INDENT> self.add_view(route, view, [view._method]) <NEW_LINE> <DEDENT> <DEDENT> def add_view(self, rou...
REST API framework.
625990697047854f46340b71
class ServersManipulator: <NEW_LINE> <INDENT> def __init__(self, servers_query): <NEW_LINE> <INDENT> self.servers_query = servers_query <NEW_LINE> <DEDENT> def get_servers_names(self): <NEW_LINE> <INDENT> result = [] <NEW_LINE> for server in self.servers_query: <NEW_LINE> <INDENT> result.append(server.name) <NEW_LINE> ...
Purpose: To manipulate the Servers data gathered in a DB query
625990692c8b7c6e89bd4fa2
class IdentityCertActionInvoker(certlib.BaseActionInvoker): <NEW_LINE> <INDENT> def _do_update(self): <NEW_LINE> <INDENT> action = IdentityUpdateAction() <NEW_LINE> return action.perform()
An object to update the identity certificate in the event the server deems it is about to expire. This is done to prevent the identity certificate from expiring thus disallowing connection to the server for updates.
625990695166f23b2e244b8d
class _MockCalledSubject(_MockAssertionConverter): <NEW_LINE> <INDENT> def __init__(self, actual): <NEW_LINE> <INDENT> super(_MockCalledSubject, self).__init__(actual) <NEW_LINE> self._Resolve() <NEW_LINE> <DEDENT> def Once(self): <NEW_LINE> <INDENT> with self._WrapMockAssertions(): <NEW_LINE> <INDENT> self._actual.ass...
Subject for a mock already asserted [not] to have been called.
625990695fdd1c0f98e5f741
class elmundo(rss): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.doctype = "elmundo (www)" <NEW_LINE> self.rss_url = "http://estaticos.elmundo.es/elmundo/rss/portada.xml" <NEW_LINE> self.version = ".1" <NEW_LINE> self.date = datetime.datetime(year=2017, month=5, day=10) <NEW_LINE> <DEDENT> def parse...
Scrapes elmundo
62599069f548e778e596cd47
class AccountsController(rest.RestController): <NEW_LINE> <INDENT> charges = ChargeController() <NEW_LINE> transfer = TransferMoneyController() <NEW_LINE> detail = DetailController() <NEW_LINE> @pecan.expose() <NEW_LINE> def _lookup(self, user_id, *remainder): <NEW_LINE> <INDENT> if remainder and not remainder[-1]: <NE...
Manages operations on the accounts collection.
625990693d592f4c4edbc69a
class DefaultException(Exception): <NEW_LINE> <INDENT> def __init__(self, msg=None): <NEW_LINE> <INDENT> if msg is None: <NEW_LINE> <INDENT> msg = self.default_msg <NEW_LINE> <DEDENT> super(DefaultException, self).__init__(msg)
Exceptions with a default error message.
62599069cc40096d6161adbe
class Map(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length = 100, unique = True) <NEW_LINE> root = models.ForeignKey(System, related_name="root") <NEW_LINE> explicitperms = models.BooleanField() <NEW_LINE> class Meta: <NEW_LINE> <INDENT> permissions = (("map_unrestricted", "Do not require excplicit...
Stores the maps available in the map tool. root relates to System model.
62599069a219f33f346c7fc4
class ModelView(View): <NEW_LINE> <INDENT> model = None <NEW_LINE> name = None <NEW_LINE> edit = None <NEW_LINE> @admin_role_required <NEW_LINE> def get(self, request): <NEW_LINE> <INDENT> obj = self.model.objects.all() <NEW_LINE> return render(request, 'actions/model_view.html', {'objects': obj, 'name': self.name, 'ed...
Base class to View model
625990693cc13d1c6d466f01
class MetricsStore: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._store = dict() <NEW_LINE> <DEDENT> def __contains__(self, item): <NEW_LINE> <INDENT> return item in self._store <NEW_LINE> <DEDENT> def __len__(self): <NEW_LINE> <INDENT> return len(self._store) <NEW_LINE> <DEDENT> def add(self, workl...
A datastore for saving / retrieving metrics.
625990691f5feb6acb1643aa
class SCProjectDeactivate(ProjectServerCommand): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> ServerCommand.__init__(self, "project-deactivate") <NEW_LINE> <DEDENT> def run(self, serverState, request, response): <NEW_LINE> <INDENT> prj=self.getProject(request, serverState) <NEW_LINE> if request.hasParam(...
De-activate all elements in a project.
6259906932920d7e50bc7803
class SystemAPI(Resource): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.parser = reqparse.RequestParser() <NEW_LINE> if not WizardMiddleware.isShowWizard(): <NEW_LINE> <INDENT> abort(503, message="The wizard and its API is not available.") <NEW_LINE> <DEDENT> <DEDENT> def get(self, system_id): <NEW_...
API resource for representing a single system.
625990694f6381625f19a084
class SubModule(Scope, Module): <NEW_LINE> <INDENT> def __init__(self, path, start_pos=(1, 0), top_module=None): <NEW_LINE> <INDENT> super(SubModule, self).__init__(self, start_pos) <NEW_LINE> self.path = path <NEW_LINE> self.global_vars = [] <NEW_LINE> self._name = None <NEW_LINE> self.used_names = {} <NEW_LINE> self....
The top scope, which is always a module. Depending on the underlying parser this may be a full module or just a part of a module.
625990694428ac0f6e659cee
class RFnn(RPackage): <NEW_LINE> <INDENT> homepage = "https://cloud.r-project.org/package=FNN" <NEW_LINE> url = "https://cloud.r-project.org/src/contrib/FNN_1.1.tar.gz" <NEW_LINE> list_url = "https://cloud.r-project.org/src/contrib/Archive/FNN" <NEW_LINE> version('1.1.3', sha256='de763a25c9cfbd19d144586b9ed158135e...
Cover-tree and kd-tree fast k-nearest neighbor search algorithms and related applications including KNN classification, regression and information measures are implemented.
625990694428ac0f6e659cef
class MedicatedAllergicAdopter(AllergicAdopter): <NEW_LINE> <INDENT> def __init__(self, name, desired_species, allergic_species, medicine_effectiveness): <NEW_LINE> <INDENT> AllergicAdopter.__init__(self, name, desired_species, allergic_species) <NEW_LINE> self.medicine_effectiveness = medicine_effectiveness <NEW_LINE>...
A MedicatedAllergicAdopter is extremely allergic to a particular species However! They have a medicine of varying effectiveness, which will be given in a dictionary To calculate the score for a specific adoption center, we want to find what is the most allergy-inducing species that the adoption center has for the parti...
625990693eb6a72ae038be1d
class ListPitacscomp(generics.ListAPIView): <NEW_LINE> <INDENT> queryset = models.Pitacscomp.objects.all() <NEW_LINE> serializer_class = serializers.PitacscompSerializer
Returns percentage differences between the homeless and general Multnomah population for age and gender
62599069adb09d7d5dc0bd27
class EquationSet(set): <NEW_LINE> <INDENT> equation_class = Equation <NEW_LINE> @classmethod <NEW_LINE> def from_dict_def(cls, es_def): <NEW_LINE> <INDENT> expected_arg_names = list(inspect.signature(es_def).parameters) <NEW_LINE> args = {name: Variable(name) for name in expected_arg_names} <NEW_LINE> eq_dict = es_def...
A set of Equations
6259906976e4537e8c3f0d40
class CentralMassComposite: <NEW_LINE> <INDENT> def __init__(self, name): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.satellites = [] <NEW_LINE> <DEDENT> def count(self): <NEW_LINE> <INDENT> count = 1 <NEW_LINE> for satellite in self.satellites: <NEW_LINE> <INDENT> count += satellite.count() <NEW_LINE> <DEDENT...
This class is a composite component for central mass entities - such as what planets orbit around.
625990694e4d562566373bc4
class Dummy2(BaseDummyConverter): <NEW_LINE> <INDENT> TABLE = dict(zip( u"ABCDEGHIJKLOPRTUYZabcdefghijklmnopqrstuvwxyz", u"ȺɃȻĐɆǤĦƗɈꝀŁØⱣɌŦɄɎƵɐqɔpǝɟƃɥᴉɾʞlɯuødbɹsʇnʌʍxʎz" ))
A second dummy converter. Like Dummy, but uses a different obvious but readable automatic conversion: Strikes-through many letters, and turns lower-case letters upside-down.
6259906923849d37ff852872
class Explore_SQL: <NEW_LINE> <INDENT> def __init__(self,db_name): <NEW_LINE> <INDENT> self.database = db_name <NEW_LINE> self.conn = sqlite3.connect(db_name) <NEW_LINE> self.c = sqlite3.connect(db_name).cursor() <NEW_LINE> self.tables = "Not yet defined. Run the method 'print_tables' or 'tables2list' to set this attri...
Explores what tables are available in a database Turns table of interest into a pandas dataframe
625990695166f23b2e244b8f
class PremiumIdMiddleware(middleware.PremiumIdMiddleware): <NEW_LINE> <INDENT> def process_request(self, request): <NEW_LINE> <INDENT> request.premium_id = None <NEW_LINE> <DEDENT> def process_view(self, request, view_func, view_args, view_kwargs): <NEW_LINE> <INDENT> request.premium_id = request.GET.get('premium', Non...
Used instead of the Premium Skinner equivalent for compatibility with Wagtail
62599069009cb60464d02cf7
class BreakDataConfig(nlp.BuilderConfig): <NEW_LINE> <INDENT> def __init__(self, text_features, lexicon_tokens, **kwargs): <NEW_LINE> <INDENT> super(BreakDataConfig, self).__init__( version=nlp.Version("1.0.0", "New split API (https://tensorflow.org/datasets/splits)"), **kwargs ) <NEW_LINE> self.text_features = text_fe...
BuilderConfig for Break
625990693539df3088ecda5d
class TestOFPPortStatus(unittest.TestCase): <NEW_LINE> <INDENT> class Datapath(object): <NEW_LINE> <INDENT> ofproto = ofproto_v1_0 <NEW_LINE> ofproto_parser = ofproto_v1_0_parser <NEW_LINE> <DEDENT> c = OFPPortStatus(Datapath) <NEW_LINE> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): ...
Test case for ofproto_v1_0_parser.OFPPortStatus
62599069a219f33f346c7fc6
class LinearActivation(ActivationFunction): <NEW_LINE> <INDENT> def activate(self, x): <NEW_LINE> <INDENT> return x <NEW_LINE> <DEDENT> def derivative(self, output): <NEW_LINE> <INDENT> return 1.0
Linear Activation function (identity).
625990698e71fb1e983bd285
class Environment(dict): <NEW_LINE> <INDENT> def __init__(self, **kw): <NEW_LINE> <INDENT> self.update(dict( HOME = kw['BUILD_DIR'], DOWNLOAD_DIR = kw['DOWNLOAD_DIR'], BUILD_DIR = kw['BUILD_DIR'], INSTALL_DIR = kw['INSTALL_DIR'], ISISROOT = P.join(kw['INSTALL_DIR'], 'isis'), GIT_SSL_NO_VERIFY ...
Dictionary object containing the required environment info
62599069aad79263cf42ff74
class QueryExtendedFadeTime(_StandardCommand): <NEW_LINE> <INDENT> _cmdval = 0xa8 <NEW_LINE> response = command.Response
Query Extended Fade Time Bits 6:4 of the answer are extendedFadeTimeMultiplier, and bits 3:0 are extendedFadeTimeBase.
625990694527f215b58eb57f
class TestProjectTextUnitSimilarity(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def testProjectTextUnitSimilarity(self): <NEW_LINE> <INDENT> pass
ProjectTextUnitSimilarity unit test stubs
62599069796e427e5384ff35
class TestController(BaseTestCase, BaseTestController): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(TestController, self).__init__(*args, **kwargs) <NEW_LINE> self.init()
Deprecated unittest-style test controller
62599069f548e778e596cd4a
class Parameter (models.Model): <NEW_LINE> <INDENT> name = models.CharField ( verbose_name = 'Title', max_length = 30, primary_key=True ) <NEW_LINE> text = models.TextField ( verbose_name = 'Text String to be used', ) <NEW_LINE> f = models.FileField ( upload_to = 'paramaters/', blank=True, null=True, verbose_name = "Fi...
List of parameters changable in Admin used within the project These parameters are added through manage.py initialise and cannot be created or deleted in admin, only updated
625990693317a56b869bf122
class HEALPixTransform(object): <NEW_LINE> <INDENT> def __init__(self, nside): <NEW_LINE> <INDENT> self.nside = nside <NEW_LINE> <DEDENT> def __call__(self, img): <NEW_LINE> <INDENT> if isinstance(img, np.ndarray): <NEW_LINE> <INDENT> return self.img2healpix(img, self.nside) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT...
convert a square PIL img to a HEALPix array in numpy
625990699c8ee82313040d67
@pytest.mark.components <NEW_LINE> @pytest.allure.story('ProximityZone') <NEW_LINE> @pytest.allure.feature('POST') <NEW_LINE> class Test_PFE_Components(object): <NEW_LINE> <INDENT> @pytest.allure.link('https://jira.qumu.com/browse/TC-43816') <NEW_LINE> @pytest.mark.ProximityZone <NEW_LINE> @pytest.mark.POST <NEW_LINE> ...
PFE ProximityZone test cases.
625990694f88993c371f10fe
class Order(models.Model): <NEW_LINE> <INDENT> user = models.ForeignKey(User) <NEW_LINE> phone_Number = models.CharField(max_length=20, blank=False) <NEW_LINE> address_Line_One = models.CharField(max_length=40, blank=False) <NEW_LINE> address_Line_Two = models.CharField(max_length=40, blank=False) <NEW_LINE> address_Li...
A model to handle a customers delivery address when they checkout of the store from the cart.
625990697d847024c075db98
class SalesforceAuth(BaseOAuth2): <NEW_LINE> <INDENT> AUTHORIZATION_URL = SALESFORCE_AUTHORIZATION_URL <NEW_LINE> ACCESS_TOKEN_URL = SALESFORCE_ACCESS_TOKEN_URL <NEW_LINE> AUTH_BACKEND = SalesforceBackend <NEW_LINE> SETTINGS_KEY_NAME = 'SALESFORCE_CLIENT_ID' <NEW_LINE> SETTINGS_SECRET_NAME = 'SALESFORCE_CLIENT_SECRET' ...
Salesforce OAuth mechanism
62599069fff4ab517ebcefda
class FlowInterfaceTotals(BaseFlowAggregator): <NEW_LINE> <INDENT> target_filename = 'interface_%06d.sqlite' <NEW_LINE> agg_fields = ['if', 'direction'] <NEW_LINE> @classmethod <NEW_LINE> def resolutions(cls): <NEW_LINE> <INDENT> return [30, 300, 3600, 86400] <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def history_per_...
collect interface totals
625990690c0af96317c5793e
class GeneralLinearSolverIterationsLineAnalyzer(GeneralLinearSolverLineAnalyzer): <NEW_LINE> <INDENT> def __init__(self, doTimelines=True, doFiles=True, singleFile=False, startTime=None, endTime=None): <NEW_LINE> <INDENT> GeneralLinearSolverLineAnalyzer.__init__(self, doTimelines=doTimelines, doFiles=doFiles, singleFil...
Parses information about the linear solver and collects the iterations
62599069435de62698e9d5c9
@keras_export('keras.losses.SquaredHinge') <NEW_LINE> class SquaredHinge(LossFunctionWrapper): <NEW_LINE> <INDENT> def __init__(self, reduction=losses_impl.ReductionV2.SUM_OVER_BATCH_SIZE, name='squared_hinge'): <NEW_LINE> <INDENT> super(SquaredHinge, self).__init__( squared_hinge, name=name, reduction=reduction)
Computes the squared hinge loss between `y_true` and `y_pred`. Usage: ```python sh = tf.losses.SquaredHinge() loss = sh([0., 1., 1.], [1., 0., 1.]) print('Loss: ', loss.numpy()) # Loss: 0.66 ``` Usage with tf.keras API: ```python model = keras.models.Model(inputs, outputs) model.compile('sgd', loss=tf.losses.Squar...
6259906976e4537e8c3f0d42
class InMemoryNonceService(NonceService): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.generated_nonces = set() <NEW_LINE> self.invalid_nonces = set() <NEW_LINE> <DEDENT> def generate_nonce(self) -> str: <NEW_LINE> <INDENT> val = super().generate_nonce() <NEW_LINE> self...
In memory implementation of nonce service
62599069d486a94d0ba2d77d
class SpinBalanceDialog(QDialog): <NEW_LINE> <INDENT> def __init__(self, parent=None): <NEW_LINE> <INDENT> super(SpinBalanceDialog, self).__init__(parent) <NEW_LINE> self.setAttribute(Qt.WA_DeleteOnClose) <NEW_LINE> self.setWindowTitle('Spin balance dialog') <NEW_LINE> self.fig1 = BlankCanvas() <NEW_LINE> self.ax1 = se...
Displays two absorption images and calculates the ratio N1/N2.
62599069627d3e7fe0e08648
@view_defaults(renderer='json') <NEW_LINE> class RestHostAddressViews(RestView): <NEW_LINE> <INDENT> @view_config( route_name='rest_host_address_1', request_method='POST', require_csrf=True, permission='view' ) <NEW_LINE> def host_address_1_view_create(self): <NEW_LINE> <INDENT> host_name = self.request.matchdict['host...
RestHostAddress View. self.request: set via parent constructor self.dao: set via parent constructor
62599069e5267d203ee6cf9d
class somsc: <NEW_LINE> <INDENT> def __init__(self, data, amount_clusters, epouch = 100, ccore = False): <NEW_LINE> <INDENT> self.__data_pointer = data; <NEW_LINE> self.__amount_clusters = amount_clusters; <NEW_LINE> self.__epouch = epouch; <NEW_LINE> self.__ccore = ccore; <NEW_LINE> self.__network = None; <NEW_LINE> <...
! @brief Class represents simple clustering algorithm based on self-organized feature map. @details This algorithm uses amount of clusters that should be allocated as a size of SOM map. Captured objects by neurons are clusters. Algorithm is able to process data with Gaussian distribution that has spherical fo...
625990694e4d562566373bc6
@six.add_metaclass(abc.ABCMeta) <NEW_LINE> class Reducer(object): <NEW_LINE> <INDENT> def zip_and_reduce(self, x, y): <NEW_LINE> <INDENT> if tf.contrib.framework.nest.is_sequence(x): <NEW_LINE> <INDENT> tf.contrib.framework.nest.assert_same_structure(x, y) <NEW_LINE> x_flat = tf.contrib.framework.nest.flatten(x) <NEW_L...
Base class for reducers.
625990692ae34c7f260ac8a7
class ModulusPack (object): <NEW_LINE> <INDENT> def __init__(self, rpool): <NEW_LINE> <INDENT> self.pack = {} <NEW_LINE> self.discarded = [] <NEW_LINE> self.randpool = rpool <NEW_LINE> <DEDENT> def _parse_modulus(self, line): <NEW_LINE> <INDENT> timestamp, mod_type, tests, tries, size, generator, modulus = line.split()...
convenience object for holding the contents of the /etc/ssh/moduli file, on systems that have such a file.
6259906944b2445a339b753f
class ExceptionResponse(HTTPException): <NEW_LINE> <INDENT> def __init__(self, code, errorType, message, cause=None): <NEW_LINE> <INDENT> response = errorResponse(code, errorType, message, cause) <NEW_LINE> HTTPException.__init__(self, response=response)
Exception class that will be converted to error response.
625990695fcc89381b266d36
class Solution: <NEW_LINE> <INDENT> def uniqueMorseRepresentations(self, words): <NEW_LINE> <INDENT> code=[".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--","--.."] <NEW_LINE> transformations=[] <NEW_LINE> for word in...
@param words: the given list of words @return: the number of different transformations among all words we have
62599069097d151d1a2c282d
class MessageOutputDebug(object): <NEW_LINE> <INDENT> def __init__(self, nodes_visited=None, log_messages=None, branch_exited=None, branch_exited_reason=None): <NEW_LINE> <INDENT> self.nodes_visited = nodes_visited <NEW_LINE> self.log_messages = log_messages <NEW_LINE> self.branch_exited = branch_exited <NEW_LINE> self...
Additional detailed information about a message response and how it was generated. :attr list[DialogNodesVisited] nodes_visited: (optional) An array of objects containing detailed diagnostic information about the nodes that were triggered during processing of the input message. :attr list[DialogLogMessage] log_message...
625990695fdd1c0f98e5f745
class DescribeIngressesRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.EnvironmentId = None <NEW_LINE> self.ClusterNamespace = None <NEW_LINE> self.SourceChannel = None <NEW_LINE> self.IngressNames = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> se...
DescribeIngresses请求参数结构体
62599069e76e3b2f99fda1c1
class ContextTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def test_push_pop(self): <NEW_LINE> <INDENT> ctx = Context(self) <NEW_LINE> Context.push(ctx) <NEW_LINE> self.assertIs(ctx, Context.top()) <NEW_LINE> Context.pop(ctx) <NEW_LINE> <DEDENT> def test_contextmanager(self): <NEW_LINE> <INDENT> with Context(self) a...
Unit tests for compiler Context.
62599069462c4b4f79dbd1c6
class Character(Expression): <NEW_LINE> <INDENT> value: str <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return repr(self.value)
Character literals
625990693d592f4c4edbc69e
class TestAttribute(object): <NEW_LINE> <INDENT> def test_deprecated_convert_argument(self): <NEW_LINE> <INDENT> def conv(v): <NEW_LINE> <INDENT> return v <NEW_LINE> <DEDENT> with pytest.warns(DeprecationWarning) as wi: <NEW_LINE> <INDENT> a = Attribute( "a", True, True, True, True, True, True, convert=conv ) <NEW_LINE...
Tests for `attr.Attribute`.
62599069baa26c4b54d50a66
class ConstraintManager(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._actual_constraints = {} <NEW_LINE> <DEDENT> def get_constraint_object(self, index, constraint_data): <NEW_LINE> <INDENT> constraint = self._actual_constraints.get(index) <NEW_LINE> if constraint is None: <NEW_LINE> <INDEN...
There should be one such object per rule being verified. ConstraintManager collects constraints objects, one per each constraint. Constraint objects for each constraint type should not be duplicated (because e.g. two time constraints may have different time ranges), so constraints in _actual_constraints has the same nu...
62599069aad79263cf42ff75
class Gmkl(GccToolchain, IntelMKL, IntelFFTW): <NEW_LINE> <INDENT> NAME = 'gmkl' <NEW_LINE> SUBTOOLCHAIN = GccToolchain.NAME
Compiler toolchain with GCC, Intel Math Kernel Library (MKL) and Intel FFTW wrappers.
625990692ae34c7f260ac8a8
class Page(so.SQLObject): <NEW_LINE> <INDENT> domain = so.ForeignKey('Domain', notNull=True) <NEW_LINE> path = so.UnicodeCol(notNull=True) <NEW_LINE> title = so.UnicodeCol(default=None) <NEW_LINE> created_at = so.DateTimeCol(notNull=True, default=so.DateTimeCol.now) <NEW_LINE> image_url = so.UnicodeCol(default=None) <N...
Model a URI for a webpage on the internet. Do not worry about duplicate pairs of domain and path, since we want to allow those to occur on an import and to clean them up later. A page may have a null Folder (as unsorted), though a folder must always have a parent folder, even if the top folder is "root".
6259906926068e7796d4e0f9
class DiskRestorePointReplicationStatus(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'status': {'key': 'status', 'type': 'object'}, } <NEW_LINE> def __init__( self, *, status: Optional[Any] = None, **kwargs ): <NEW_LINE> <INDENT> super(DiskRestorePointReplicationStatus, self).__init__(**kwargs) <...
The instance view of a disk restore point. :ivar status: The resource status information. :vartype status: any
62599069f548e778e596cd4c
class KafkaConsumer: <NEW_LINE> <INDENT> def __init__( self, topic_name_pattern, message_handler, is_avro=True, offset_earliest=False, sleep_secs=1.0, consume_timeout=0.1, ): <NEW_LINE> <INDENT> self.topic_name_pattern = topic_name_pattern <NEW_LINE> self.message_handler = message_handler <NEW_LINE> self.sleep_secs = s...
Defines the base kafka consumer class
62599069379a373c97d9a7df
class _Namespace(argparse.Namespace): <NEW_LINE> <INDENT> def __init__(self, conf): <NEW_LINE> <INDENT> self._conf = conf <NEW_LINE> self._parser = MultiConfigParser() <NEW_LINE> self._files_not_found = [] <NEW_LINE> self._files_permission_denied = [] <NEW_LINE> <DEDENT> def _parse_cli_opts_from_config_file(self, secti...
An argparse namespace which also stores config file values. As we parse command line arguments, the values get set as attributes on a namespace object. However, we also want to parse config files as they are specified on the command line and collect the values alongside the option values parsed from the command line. ...
625990694428ac0f6e659cf3
class LogReport(object): <NEW_LINE> <INDENT> _format = 'csv' <NEW_LINE> _content_type = 'text/csv' <NEW_LINE> def __init__(self, data=None, user=None): <NEW_LINE> <INDENT> self.named_fields = [ {'field': 'photo', 'label': _('Photo id')}, {'field': 'title', 'label': _('Photo title')}, {'field': 'get_action_display', 'la...
Generates a csv file with logs of downloaded and visited images
6259906901c39578d7f14315
class Solution2: <NEW_LINE> <INDENT> def getIntersectionNode(self, headA, headB): <NEW_LINE> <INDENT> if headA is None or headB is None: <NEW_LINE> <INDENT> return None <NEW_LINE> <DEDENT> pa = headA <NEW_LINE> pb = headB <NEW_LINE> while pa is not pb: <NEW_LINE> <INDENT> pa = headB if pa is None else pa.next <NEW_LINE...
https://discuss.leetcode.com/topic/13419/concise-python-code-with-comments/2
62599069435de62698e9d5cb
class GEOSFuncFactory: <NEW_LINE> <INDENT> argtypes = None <NEW_LINE> restype = None <NEW_LINE> errcheck = None <NEW_LINE> def __init__(self, func_name, *, restype=None, errcheck=None, argtypes=None): <NEW_LINE> <INDENT> self.func_name = func_name <NEW_LINE> if restype is not None: <NEW_LINE> <INDENT> self.restype = re...
Lazy loading of GEOS functions.
6259906997e22403b383c6ce
class ItemBankSession(osid_sessions.OsidSession): <NEW_LINE> <INDENT> def can_lookup_item_bank_mappings(self): <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> def use_comparative_bank_view(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def use_plenary_bank_view(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> de...
This session provides methods to retrieve ``Item`` to ``Bank`` mappings. An ``Item`` may appear in multiple ``Banks``. Each ``Bank`` may have its own authorizations governing who is allowed to look at it. This lookup session defines two views: * comparative view: elements may be silently omitted or re-ordered * ...
62599069d486a94d0ba2d77f
class GsPushCommand(WindowCommand, PushBase): <NEW_LINE> <INDENT> def run(self, local_branch_name=None, force=False): <NEW_LINE> <INDENT> self.force = force <NEW_LINE> self.local_branch_name = local_branch_name <NEW_LINE> sublime.set_timeout_async(self.run_async) <NEW_LINE> <DEDENT> def run_async(self): <NEW_LINE> <IND...
Push current branch.
625990696e29344779b01e13
class See(Thread): <NEW_LINE> <INDENT> debug = False <NEW_LINE> log = True <NEW_LINE> VIEW_STOPPED = 0 <NEW_LINE> def __init__(self, outAxon): <NEW_LINE> <INDENT> Thread.__init__(self) <NEW_LINE> self.name='See' <NEW_LINE> self.outAxon = outAxon <NEW_LINE> self.inAxon = Axon(Config.DEFAULT_LOCATION) <NEW_LINE> self.inA...
See produces visual information with camera device
6259906944b2445a339b7540
class FixedSecrets(object): <NEW_LINE> <INDENT> def __init__(self, secrets): <NEW_LINE> <INDENT> if isinstance(secrets, str): <NEW_LINE> <INDENT> secrets = secrets.split() <NEW_LINE> <DEDENT> self._secrets = secrets <NEW_LINE> <DEDENT> def get(self, node): <NEW_LINE> <INDENT> return list(self._secrets) <NEW_LINE> <DEDE...
Use a fixed set of secrets for all nodes. This class provides the same API as the Secrets class, but uses a single list of secrets for all nodes rather than using different secrets for each node. Options: - **secrets**: a list of hex-encoded secrets to use for all nodes.
625990692ae34c7f260ac8a9
class SecretStr(SecretMixin, str): <NEW_LINE> <INDENT> _P: str = "*" <NEW_LINE> def __init__(self, value="", encoding=None, errors="strict"): <NEW_LINE> <INDENT> super().__init__(value, encoding=encoding, errors=errors)
A string that hides the true value in its repr. The hidden value may be accessed via :py:attr:`SecretStr.secret` Examples -------- >>> import typic >>> mysecret = typic.SecretStr("The Ring is in Frodo's pocket.") >>> print(mysecret) ****************************** >>> print(mysecret.secret) The Ring is in Frodo's pock...
625990698a43f66fc4bf3953
class Memstats(object): <NEW_LINE> <INDENT> templates = {} <NEW_LINE> def __init__(self, machine, cpu, poolname, memsecs, cell_names, space_names, mappings): <NEW_LINE> <INDENT> self.env = Environment(cell_names, space_names, mappings) <NEW_LINE> self.resources = Resources(machine, cpu, poolname) <NEW_LINE> self.revisi...
The top-level object representing the memory statistics collected.
6259906966673b3332c31bbf
class Data_Files: <NEW_LINE> <INDENT> def __init__(self,base_dir=None,files=None,copy_to=None,template=None,preserve_path=0,strip_dirs=0): <NEW_LINE> <INDENT> self.base_dir = base_dir <NEW_LINE> self.files = files <NEW_LINE> self.copy_to = copy_to <NEW_LINE> self.template = template <NEW_LINE> self.preserve_path = pres...
container for list of data files. supports alternate base_dirs e.g. 'install_lib','install_header',... supports a directory where to copy files supports templates as in MANIFEST.in supports preserving of paths in filenames eg. foo/xyz is copied to base_dir/foo/xyz supports stripping of leading dirs of source paths ...
62599069462c4b4f79dbd1c8
class ChildIdAllocator(object): <NEW_LINE> <INDENT> def __init__(self, router): <NEW_LINE> <INDENT> self.router = router <NEW_LINE> self.lock = threading.Lock() <NEW_LINE> self.it = iter(xrange(0)) <NEW_LINE> <DEDENT> def allocate(self): <NEW_LINE> <INDENT> self.lock.acquire() <NEW_LINE> try: <NEW_LINE> <INDENT> for id...
Allocate new context IDs from a block of unique context IDs allocated by the master process.
625990692c8b7c6e89bd4fa8