code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class FreeTextAdmin(admin.ModelAdmin): <NEW_LINE> <INDENT> list_display = ('key', 'content', 'active') <NEW_LINE> search_fields = ('key', 'content') | Admin for FreeText model. | 62598f99e5267d203ee6b66d |
class IntermediateInitialSync(JsCustomBehavior): <NEW_LINE> <INDENT> DEFAULT_N = CleanEveryN.DEFAULT_N <NEW_LINE> def __init__(self, hook_logger, fixture, use_resync=False, n=DEFAULT_N): <NEW_LINE> <INDENT> description = "Intermediate Initial Sync" <NEW_LINE> js_filename = os.path.join("jstests", "hooks", "run_initial_... | This hook accepts a parameter 'n' that specifies a number of tests after which it will start up
a node to initial sync, wait for replication to finish, and then validate the data. It also
accepts a parameter 'use_resync' for whether to restart the initial sync node with resync or by
shutting it down and restarting it.
... | 62598f99d7e4931a7ef3bdf6 |
class Brewer(BeerDBModel): <NEW_LINE> <INDENT> name = models.CharField(max_length=255, help_text='Name of the brewer') <NEW_LINE> country = core_fields.CountryField(default='USA', help_text='Country of origin') <NEW_LINE> origin_state = models.CharField(max_length=128, default='', blank=True, null=True, help_text='Stat... | Describes a producer of beer. | 62598f99435de62698e9bb53 |
class InfoExec(InfoEval): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> __repr__ = _swig_repr <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> _simuPOP_la.InfoExec_swiginit(self, _simuPOP_la.new_InfoExec(*args, *... | Details:
Operator InfoExec is similar to InfoEval in that it works at the
individual level, using individual information fields as
variables. This is usually used to change the value of information
fields. For example, "b=a*2" will set the value of information
field b to a*a for all individuals. | 62598f99bde94217f3707519 |
class VirtualMachineScaleSetSku(Model): <NEW_LINE> <INDENT> _validation = { 'resource_type': {'readonly': True}, 'sku': {'readonly': True}, 'capacity': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'sku': {'key': 'sku', 'type': 'Sku'}, 'capacity': {'key': '... | Describes an available virtual machine scale set sku.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar resource_type: The type of resource the sku applies to.
:vartype resource_type: str
:ivar sku: The Sku.
:vartype sku: :class:`Sku
<azure.mgmt.compute.compute.v2016_03_30... | 62598f998c0ade5d55dc353e |
@ElastiCacheSnapshot.action_registry.register('copy-cluster-tags') <NEW_LINE> class CopyClusterTags(BaseAction): <NEW_LINE> <INDENT> schema = type_schema( 'copy-cluster-tags', tags={'type': 'array', 'items': {'type': 'string'}, 'minItems': 1}, required=('tags',)) <NEW_LINE> def get_permissions(self): <NEW_LINE> <INDENT... | Copy specified tags from Elasticache cluster to Snapshot
:example:
.. code-block:: yaml
- name: elasticache-test
resource: cache-snapshot
filters:
- type: value
key: SnapshotName
op: in
value:
- test-tags-backup
... | 62598f99cc0a2c111447ad6b |
class UserSiteView(LoginRequiredMixin, View): <NEW_LINE> <INDENT> def get(self, request): <NEW_LINE> <INDENT> user = request.user <NEW_LINE> address = Address.objects.get_default_address(user) <NEW_LINE> context = { 'page': 'address', 'address': address, } <NEW_LINE> return render(request,'user_center_site.html', conte... | 用户收货地址也页面 | 62598f99a219f33f346c6579 |
class Fixture(schema.Schema): <NEW_LINE> <INDENT> database = Database() <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> super(Fixture, self).__init__( creates=set(), drops=set(), deletes=set(), patch_package=None) <NEW_LINE> <DEDENT> @property <NEW_LINE> def store(self): <NEW_LINE> <INDENT> return Database().store()... | Create, insert, drop and clean table schemas.
| 62598f9999cbb53fe6830c30 |
class Segmentation(PmmlBinding): <NEW_LINE> <INDENT> def toPFA(self, options, context): <NEW_LINE> <INDENT> raise NotImplementedError | Represents a <Segmentation> tag and provides methods to convert to PFA. | 62598f99851cf427c66b8026 |
class DistroVersion: <NEW_LINE> <INDENT> DEBIAN_SQUEEZE = 'debian_squeeze' <NEW_LINE> DEBIAN_WHEEZY = 'debian_wheezy' <NEW_LINE> DEBIAN_JESSIE = 'debian_jessy' <NEW_LINE> UBUNTU_MAVERICK = 'ubuntu_maverick' <NEW_LINE> UBUNTU_LUCID = 'ubuntu_lucid' <NEW_LINE> UBUNTU_NATTY = 'ubuntu_natty' <NEW_LINE> UBUNTU_ONEIRIC = 'ub... | Enumeration of supported distribution versions | 62598f9999cbb53fe6830c31 |
class OpponentClassifierNN(nn.Module): <NEW_LINE> <INDENT> def __init__(self, input_size=7, hsize=16): <NEW_LINE> <INDENT> super(OpponentClassifierNN, self).__init__() <NEW_LINE> self.net = nn.Sequential( nn.Linear(input_size, hsize), nn.Tanh(), nn.Linear(hsize, hsize), nn.Tanh(), nn.Linear(hsize, hsize), nn.Tanh(), nn... | Neural network model. Input is aggregate features of game so far.
Output is prediction of whether the opponent is vulnerable to agentB. | 62598f99a8ecb03325870f6a |
class Triangle(object): <NEW_LINE> <INDENT> number_of_sides = 3 <NEW_LINE> def __init__(self, angle1, angle2, angle3): <NEW_LINE> <INDENT> self.angle1 = angle1 <NEW_LINE> self.angle2 = angle2 <NEW_LINE> self.angle3 = angle3 <NEW_LINE> <DEDENT> def check_angles(self): <NEW_LINE> <INDENT> if self.angle1 + self.angle2 + s... | 三角形类 | 62598f99c432627299fa2d35 |
class RawVideo(FileFinder): <NEW_LINE> <INDENT> glob_pattern = '*.mp4' <NEW_LINE> skip_if_includes_l = ['edge_tac_overlay.mp4'] | Finds raw video files | 62598f99498bea3a75a5787f |
class Apple: <NEW_LINE> <INDENT> def __init__(self, locations=None, appletype=None): <NEW_LINE> <INDENT> if not locations: <NEW_LINE> <INDENT> self.x = random.randint(0, 19) <NEW_LINE> self.y = random.randint(0, 19) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> location = random.choice(locations) <NEW_LINE> self.x = lo... | The apple class is the object that the snake will be eating. There are three different types of apples: 'add' which
will add a node to the snake, 'remove' which will shrink the snake, and 'reverse' which will reverse the snake. | 62598f9945492302aabfc238 |
class DatabaseExistsError(ProgrammingError): <NEW_LINE> <INDENT> pass | Database already exists. | 62598f9915baa72349461ce2 |
class TrackOptions( ChartOptions ): <NEW_LINE> <INDENT> custom = dict( lw=12, x_axis_color=TRANSPARENT, y_tick_color=TRANSPARENT, tpad=0, bpad=0, h=60, yscale=[-100, 100], xlabel=None, ylabel=None, ) <NEW_LINE> defaults = dict(ChartOptions.defaults) <NEW_LINE> defaults.update(custom) | Returns the default track options
>>> opts = TrackOptions( xyz='abc' )
>>> opts.w, opts.h, opts.lw, opts.xyz
(800, 60, 12, 'abc') | 62598f99f8510a7c17d7e027 |
class URIRule(oa.rules.base.BaseRule): <NEW_LINE> <INDENT> _rule_type = "URI: " <NEW_LINE> rule_type = 'uri' <NEW_LINE> def __init__(self, name, pattern, score=None, desc=None, priority=0, tflags=None): <NEW_LINE> <INDENT> super(URIRule, self).__init__(name, score=score, desc=desc, priority=priority, tflags=tflags) <NE... | Match a regular expression against any URI found in all parts of the
message body.
Note that this does include the protocol. | 62598f990c0af96317c560e2 |
class IfRange(object): <NEW_LINE> <INDENT> def __init__(self, etag=None, date=None): <NEW_LINE> <INDENT> self.etag = etag <NEW_LINE> self.date = date <NEW_LINE> <DEDENT> def to_header(self): <NEW_LINE> <INDENT> if self.date is not None: <NEW_LINE> <INDENT> return http_date(self.date) <NEW_LINE> <DEDENT> if self.etag is... | Very simple object that represents the `If-Range` header in parsed
form. It will either have neither a etag or date or one of either but
never both. | 62598f99596a8972361279e0 |
class ForwardIterator(object): <NEW_LINE> <INDENT> __slots__ = '_iterator', '_prefetched' <NEW_LINE> def __init__(self, iterable): <NEW_LINE> <INDENT> self._iterator = iter(iterable) <NEW_LINE> self._prefetched = collections.deque() <NEW_LINE> <DEDENT> def __iter__(self): <NEW_LINE> <INDENT> return self <NEW_LINE> <DED... | Wrapper around iterators that lets you read items in advance.
A ForwardIterator object is initialized passing an iterator as an argument:
>>> it = ForwardIterator(range(50))
Once initialized, it can be used exactly like the original iterator:
>>> next(it)
0
>>> next(it)
1
ForwardIterator supports an additional met... | 62598f9956b00c62f0fb2610 |
class BitPairAttestation(object): <NEW_LINE> <INDENT> def __init__(self, a, b, complement): <NEW_LINE> <INDENT> self.a = a <NEW_LINE> self.b = b <NEW_LINE> self.complement = complement <NEW_LINE> <DEDENT> def compress(self): <NEW_LINE> <INDENT> return self.a * self.b * self.complement <NEW_LINE> <DEDENT> def serialize(... | An attestation of a single bitpair of a larger Attestation. | 62598f999c8ee8231304001f |
class I2cBitCntrlCmd(RdSynced): <NEW_LINE> <INDENT> def _config(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def _declr(self): <NEW_LINE> <INDENT> self.din = Signal() <NEW_LINE> self.cmd = VectSignal(log2ceil(5)) <NEW_LINE> self.rd = Signal(masterDir=DIRECTION.IN) <NEW_LINE> <DEDENT> def _initSimAgent(self, sim:... | .. hwt-autodoc:: | 62598f99d268445f26639a34 |
class DoxygenDoc(): <NEW_LINE> <INDENT> def __init__(self, brief="", params=[], ret=""): <NEW_LINE> <INDENT> self.brief = brief <NEW_LINE> self.params = params <NEW_LINE> self.ret = ret <NEW_LINE> <DEDENT> def to_string(self): <NEW_LINE> <INDENT> dox = "/**" + NEXTLINE <NEW_LINE> for i in range(len(self.brief)): <NEW_L... | Doxygen documentation for C++ functions | 62598f99009cb60464d01285 |
class UnitNormal(Distribution): <NEW_LINE> <INDENT> continuous = True <NEW_LINE> reparameterized = True <NEW_LINE> min_event_ndims = 0 <NEW_LINE> _mean: Optional[T.Tensor] = None <NEW_LINE> _std: Optional[T.Tensor] = None <NEW_LINE> _logstd: Optional[T.Tensor] = None <NEW_LINE> def __init__(self, shape: List[int], dtyp... | Unit normal distribution, i.e., :math:`\mathcal{N}(0, 1)`.
Using ``UnitNormal(shape)`` is mostly equivalent to using
``Normal(T.zeros(shape), T.ones(shape))``, except that this class should
be a little faster. | 62598f9956ac1b37e6301f50 |
class VoteDealView(LoginRequiredMixin, View): <NEW_LINE> <INDENT> def post(self, request, pk, action): <NEW_LINE> <INDENT> deal = get_object_or_404(Deal, pk=pk) <NEW_LINE> if action not in ['up', 'down', 'delete']: <NEW_LINE> <INDENT> return Http404 <NEW_LINE> <DEDENT> if action in ['up', 'down']: <NEW_LINE> <INDENT> v... | Vote on a deal (up, down, or delete) | 62598f9963d6d428bbee251a |
class ManifestEntryDIST(ManifestFileEntry): <NEW_LINE> <INDENT> tag = 'DIST' <NEW_LINE> @classmethod <NEW_LINE> def from_list(cls, l): <NEW_LINE> <INDENT> path = cls.process_path(l[:2]) <NEW_LINE> if '/' in path: <NEW_LINE> <INDENT> raise gemato.exceptions.ManifestSyntaxError( 'DIST line: file name expected, got direct... | Distfile reference. | 62598f99cb5e8a47e493c024 |
class Encoder(nn.Module): <NEW_LINE> <INDENT> def __init__(self,input_size,conv_config,latent_dim): <NEW_LINE> <INDENT> super(Encoder, self).__init__() <NEW_LINE> in_channels = [input_size[2]] + [d['channel'] for d in conv_config[:-1]] <NEW_LINE> layers = [ l for indim, d in zip(in_channels,conv_config) for l in ... | Assumes shared parameters between mean and logstd for latent space
| 62598f99bd1bec0571e14f74 |
class HasRolePermission(BasePermission): <NEW_LINE> <INDENT> def has_permission(self, request: Request, view: Any) -> bool: <NEW_LINE> <INDENT> return self._check_permission(request, view) <NEW_LINE> <DEDENT> def _check_permission(self, request: Request, view: Any) -> bool: <NEW_LINE> <INDENT> result = False <NEW_LINE>... | Проверка наличия у роли пользователя разрешения с требуемым кодом | 62598f9999cbb53fe6830c33 |
class MacroPreprocessor(markdown.preprocessors.Preprocessor): <NEW_LINE> <INDENT> def run(self, lines): <NEW_LINE> <INDENT> new_text = [] <NEW_LINE> for line in lines: <NEW_LINE> <INDENT> m = MACRO_RE.match(line) <NEW_LINE> if m: <NEW_LINE> <INDENT> macro = m.group('macro').strip() <NEW_LINE> if macro in settings.METHO... | django-wiki macro preprocessor - parse text for various [some_macro] and
[some_macro (kw:arg)*] references. | 62598f9930bbd72246469826 |
class ObjectSelector(Selector): <NEW_LINE> <INDENT> __slots__ = ['objects','compute_default_fn','check_on_set'] <NEW_LINE> def __init__(self,default=None,objects=None,instantiate=False, compute_default_fn=None,check_on_set=None,**params): <NEW_LINE> <INDENT> if objects is None: <NEW_LINE> <INDENT> objects = [] <NEW_LIN... | Parameter whose value must be one object from a list of possible objects.
check_on_set restricts the value to be among the current list of
objects. By default, if objects are initially supplied,
check_on_set is True, whereas if no objects are initially
supplied, check_on_set is False. This can be overridden by
explici... | 62598f993539df3088ecc016 |
class TransactionBase(models.Model): <NEW_LINE> <INDENT> id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) <NEW_LINE> created = models.DateTimeField(auto_now_add=True) <NEW_LINE> modified = models.DateTimeField(auto_now=True) <NEW_LINE> merchant_id = models.CharField(db_index=True, max_length=... | "
All the fields that are common to the different transaction types.
Some of the fields declared here are redefined in subclasses:
For instance expiry_month and expiry_year are optional in this base class,
but in an alias registration those fields are mandatory. | 62598f996fb2d068a7693ce4 |
class ShipItColumn(Column): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> Column.__init__(self, *args, **kwargs) <NEW_LINE> self.image_url = settings.MEDIA_URL + "rb/images/shipit.png" <NEW_LINE> self.image_width = 16 <NEW_LINE> self.image_height = 16 <NEW_LINE> self.image_alt = "Ship It!... | A column used to indicate whether someone has marked this review request
as "Ship It!" | 62598f99c432627299fa2d37 |
@pytest.mark.tier1 <NEW_LINE> class test_dns_type_uri(test_dns): <NEW_LINE> <INDENT> @pytest.fixture(autouse=True, scope="class") <NEW_LINE> def dns_type_uri_setup(self, dns_setup): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> api.Command['dnszone_add'](zone1, idnssoarname=zone1_rname) <NEW_LINE> <DEDENT> except errors... | Test behavior specific for URI RR type. | 62598f9960cbc95b063640ab |
class InvalidArgumentError(Exception): <NEW_LINE> <INDENT> pass | Raised when the value to an argument given to an action
is invalid in the context of the action | 62598f99009cb60464d01286 |
@attr.s(frozen=True, auto_attribs=True) <NEW_LINE> class InvisibleComment(Statement): <NEW_LINE> <INDENT> comment: str | Comments that won't be processed in any way.
// this is a comment | 62598f99498bea3a75a57881 |
class Assertions: <NEW_LINE> <INDENT> def assertExists(self, path): <NEW_LINE> <INDENT> self.assertTrue(os.path.exists(util.syspath(path)), f'file does not exist: {path!r}') <NEW_LINE> <DEDENT> def assertNotExists(self, path): <NEW_LINE> <INDENT> self.assertFalse(os.path.exists(util.syspath(path)), f'file exists: {path... | A mixin with additional unit test assertions. | 62598f99ac7a0e7691f7226d |
class test_fcode_one_large_expr(unittest.TestCase): <NEW_LINE> <INDENT> import sympy <NEW_LINE> from sympy import symbols, sin <NEW_LINE> n= 8 <NEW_LINE> sss = symbols(','.join(['a{:d}'.format(v) for v in range(n)])) <NEW_LINE> e1 = 0 <NEW_LINE> for i in sss: <NEW_LINE> <INDENT> e1+=sin(i) <NEW_LINE> <DEDENT> m = sympy... | tests for fcode_one_large_expr | 62598f994e4d562566372184 |
class TestColstr(BaseTestCase): <NEW_LINE> <INDENT> def test_two_columns(self): <NEW_LINE> <INDENT> self.assertEqual( sql_builder.colstr(select_columns=['col_a', 'col_b']), 'col_a, col_b') <NEW_LINE> <DEDENT> def test_two_exprs(self): <NEW_LINE> <INDENT> self.assertEqual( sql_builder.colstr( select_columns=[sql_builder... | Test sql_builder.colstr. | 62598f9915baa72349461ce4 |
class PasswordSetField(teapot.html.PasswordField): <NEW_LINE> <INDENT> required_unicode_major_classes = { "L", "N", "S" } <NEW_LINE> minimum_password_length = 8 <NEW_LINE> tradeoff_per_missing_class = 4 <NEW_LINE> def input_validate(self, request, value): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> value = priyom.mode... | A field type which can be used for password inputs where a users password is
set (as opposed to being validated), e.g. in sign-up forms.
The password is validated more strictly and strength criteria are
applied. SASLprep is run with unassigned characters being prohibited. | 62598f993617ad0b5ee05eb0 |
class FilterModule(object): <NEW_LINE> <INDENT> def filters(self): <NEW_LINE> <INDENT> filters = { 'manala_git_config': config, 'manala_git_config_section': config_section, 'manala_git_config_parameter': config_parameter, } <NEW_LINE> return filters | Manala git config jinja2 filters | 62598f991f037a2d8b9e3e46 |
class DictLoader(BaseLoader): <NEW_LINE> <INDENT> def __init__(self, mapping): <NEW_LINE> <INDENT> self.mapping = mapping <NEW_LINE> <DEDENT> def get_source(self, environment, template): <NEW_LINE> <INDENT> if template in self.mapping: <NEW_LINE> <INDENT> source = self.mapping[template] <NEW_LINE> return source, None, ... | Loads a template from a python dict. It's passed a dict of unicode
strings bound to template names. This loader is useful for unittesting:
>>> loader = DictLoader({base.html 'source here'})
Because auto reloading is rarely useful this is disabled per default. | 62598f990a50d4780f70513a |
class ScoreBoard(object): <NEW_LINE> <INDENT> def __init__(self, status, start_y, start_x): <NEW_LINE> <INDENT> self.win = curses.newwin(5, 25, start_y, start_x) <NEW_LINE> self.status = status <NEW_LINE> self.win.addstr(0, 0, 'SCORE') <NEW_LINE> self.win.addstr(4, 0, 'Multiplier: ') <NEW_LINE> self.draw() <NEW_LINE> <... | The score board, displays data from
a GameStatus object as a curses window | 62598f99435de62698e9bb56 |
class Meta: <NEW_LINE> <INDENT> icon = 'image' <NEW_LINE> template = 'common/_captioned_image_block.html' | Class specific attrbutes. | 62598f9955399d3f05626282 |
class Snake(object): <NEW_LINE> <INDENT> def __init__(self, canvas): <NEW_LINE> <INDENT> self.x, self.y = 0, 0 <NEW_LINE> r = self.x, self.y, self.x + WIDTH, self.y + WIDTH <NEW_LINE> self.head = Square(canvas, r) <NEW_LINE> self.direction = 1, 0 <NEW_LINE> <DEDENT> def update(self): <NEW_LINE> <INDENT> self.x += WIDTH... | Controls the movement of the snake.
canvas: tk.Canvas to draw on. | 62598f9976e4537e8c3ef317 |
class _AnnotationExtractor: <NEW_LINE> <INDENT> __slots__ = ["sig"] <NEW_LINE> def __init__(self, callable): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> self.sig = inspect.signature(callable) <NEW_LINE> <DEDENT> except (ValueError, TypeError): <NEW_LINE> <INDENT> self.sig = None <NEW_LINE> <DEDENT> <DEDENT> def get_fi... | Extract type annotations from a callable, returning None whenever there
is none. | 62598f99b7558d5895463391 |
class Postrequest(object): <NEW_LINE> <INDENT> def __init__(self, post=None): <NEW_LINE> <INDENT> self.swagger_types = { 'post': 'PostInput' } <NEW_LINE> self.attribute_map = { 'post': 'post' } <NEW_LINE> self._post = post <NEW_LINE> <DEDENT> @property <NEW_LINE> def post(self): <NEW_LINE> <INDENT> return self._post <N... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598f9963b5f9789fe84ed8 |
class Amenities(models.Model): <NEW_LINE> <INDENT> name = models.CharField( help_text='100자 까지의 물건의 이름을 저장 합니다.', max_length=100, unique=True, ) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> verbose_name_plural = '편의 물품' <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return self.name | House와 연결된 편의 물품 | 62598f994e4d562566372185 |
class SystemModelMixin(object): <NEW_LINE> <INDENT> def __init__(self, base_Model=None, **kwargs): <NEW_LINE> <INDENT> super(SystemModelMixin, self).__init__() | User defined mixin class for SystemModel. | 62598f9ae5267d203ee6b671 |
class GitUserDate(Model): <NEW_LINE> <INDENT> _attribute_map = { 'date': {'key': 'date', 'type': 'iso-8601'}, 'email': {'key': 'email', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'} } <NEW_LINE> def __init__(self, date=None, email=None, name=None): <NEW_LINE> <INDENT> super(GitUserDate, self).__init__() <NEW_L... | GitUserDate.
:param date:
:type date: datetime
:param email:
:type email: str
:param name:
:type name: str | 62598f9aeab8aa0e5d30bae6 |
class Update(base.SilentCommand): <NEW_LINE> <INDENT> BACKEND_SERVICE_ARG = None <NEW_LINE> TARGET_TCP_PROXY_ARG = None <NEW_LINE> @classmethod <NEW_LINE> def Args(cls, parser): <NEW_LINE> <INDENT> target_proxies_utils.AddProxyHeaderRelatedUpdateArgs(parser) <NEW_LINE> cls.BACKEND_SERVICE_ARG = ( backend_service_flags.... | Update a target TCP proxy. | 62598f9a379a373c97d98d76 |
class WebsocketsSerialAggregator: <NEW_LINE> <INDENT> def __init__(self, connections): <NEW_LINE> <INDENT> self.clients = { f"{connection.node}.{connection.site}": WebsocketClient(connection, con_type='serial/raw') for connection in connections } <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def _send_client(client, mes... | Class that aggregates all websocket connections to stdin/out. | 62598f9a01c39578d7f12ae0 |
class DomainsList(AuthenticatedResource): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(DomainsList, self).__init__() <NEW_LINE> <DEDENT> @validate_schema(None, domains_output_schema) <NEW_LINE> def get(self): <NEW_LINE> <INDENT> parser = paginated_parser.copy() <NEW_LINE> args = parser.parse_args()... | Defines the 'domains' endpoint | 62598f9ae76e3b2f99fd8798 |
class JyBra(SpinState, Bra): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def dual_class(self): <NEW_LINE> <INDENT> return JyKet | Eigenbra of Jy.
See JzKet for the usage of spin eigenstates. | 62598f9a435de62698e9bb57 |
class AngularPosition(object): <NEW_LINE> <INDENT> thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> Actuators = property(_kinova_raw.AngularPosition_Actuators_get, _kinova_raw.AngularPosition_Actuators_set, doc=r"""Actuators : AngularInfo""") <NEW_LINE> Finger... | Proxy of C++ AngularPosition class. | 62598f9a8e71fb1e983bb818 |
class Rectangle(Base): <NEW_LINE> <INDENT> def __init__(self, width, height, x=0, y=0, id=None): <NEW_LINE> <INDENT> self.width = width <NEW_LINE> self.height = height <NEW_LINE> self.x = x <NEW_LINE> self.y = y <NEW_LINE> super().__init__(id) <NEW_LINE> <DEDENT> @property <NEW_LINE> def width(self): <NEW_LINE> <INDENT... | class Rectangle that inherits from Base | 62598f9aa219f33f346c657d |
class Exclude(object): <NEW_LINE> <INDENT> def __init__(self, org, name = None): <NEW_LINE> <INDENT> self.org = org <NEW_LINE> self.name = name <NEW_LINE> <DEDENT> def __eq__(self, other): <NEW_LINE> <INDENT> return other and ( type(other) == Exclude) and ( self.org == other.org) and ( self.name == other.name) <NEW_LIN... | Represents a dependency exclude pattern to filter transitive dependencies against. | 62598f9a99cbb53fe6830c35 |
class WVAEventStream(object): <NEW_LINE> <INDENT> def __init__(self, http_client): <NEW_LINE> <INDENT> self._http_client = http_client <NEW_LINE> self._event_listeners = set() <NEW_LINE> self._event_listener_thread = None <NEW_LINE> self._lock = threading.RLock() <NEW_LINE> <DEDENT> def emit_event(self, event): <NEW_LI... | Provide methods for working with the event stream from a WVA Device | 62598f9a507cdc57c63a4af8 |
class MailMaster: <NEW_LINE> <INDENT> def __init__(self, password, smtp_server='smtp.qq.com', email_addr='pingan5200@foxmail.com'): <NEW_LINE> <INDENT> self.smtp = SMTP_SSL(smtp_server) <NEW_LINE> self.smtp.set_debuglevel(1) <NEW_LINE> self.smtp.ehlo(smtp_server) <NEW_LINE> self.smtp.login(email_addr, password) <NEW_LI... | 邮箱大师 | 62598f9a45492302aabfc23b |
class Message(dpkt.Packet): <NEW_LINE> <INDENT> __metaclass__ = type <NEW_LINE> __hdr_defaults__ = {} <NEW_LINE> headers = None <NEW_LINE> body = None <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> if args: <NEW_LINE> <INDENT> self.unpack(args[0]) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.... | Hypertext Transfer Protocol headers + body. | 62598f9a30dc7b766599f5b0 |
class RenguInput: <NEW_LINE> <INDENT> def __call__(self, fd: TextIOBase): <NEW_LINE> <INDENT> raise RenguOutputError( f"Unimplemented input handler {__class__} for {self.arg}" ) | Base class for input | 62598f9a3539df3088ecc018 |
class FakeStdin: <NEW_LINE> <INDENT> def __init__(self, value): <NEW_LINE> <INDENT> self.closed = False <NEW_LINE> self.value = value <NEW_LINE> <DEDENT> def close(self): <NEW_LINE> <INDENT> self.closed = True <NEW_LINE> <DEDENT> def readline(self): <NEW_LINE> <INDENT> return self.value | A class for filling stdin prompts with a predetermined value. | 62598f9a91f36d47f2230d51 |
class TestSecure3D10AuthenticationRequest(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 testSecure3D10AuthenticationRequest(self): <NEW_LINE> <INDENT> pass | Secure3D10AuthenticationRequest unit test stubs | 62598f9a96565a6dacd2ce2b |
class PieceBuckets(object): <NEW_LINE> <INDENT> def __init__(self, typecode): <NEW_LINE> <INDENT> self.typecode = typecode <NEW_LINE> self.buckets = [] <NEW_LINE> self.place_in_buckets = {} <NEW_LINE> <DEDENT> def get_position(self, piece): <NEW_LINE> <INDENT> return self.place_in_buckets[piece][0] <NEW_LINE> <DEDENT> ... | A PieceBuckets object is an array of arrays. ith bucket contains
pieces that have i known instances within the network. Pieces
within each bucket are randomly ordered. | 62598f9a3539df3088ecc019 |
class IsAdminUser(BasePermission): <NEW_LINE> <INDENT> def check_permission(self, user): <NEW_LINE> <INDENT> if not user.is_staff: <NEW_LINE> <INDENT> raise _403_FORBIDDEN_RESPONSE | Allows access only to admin users. | 62598f9a3cc13d1c6d4654cf |
class ConnectionTest(BaseTest): <NEW_LINE> <INDENT> def test_round_trip(self): <NEW_LINE> <INDENT> self.conn.upload('bucket', 'key', 'content') <NEW_LINE> self.assertEqual(self.conn.download('bucket', 'key'), 'content') <NEW_LINE> <DEDENT> def test_upload_file(self): <NEW_LINE> <INDENT> self.conn.upload('bucket', 'key'... | Test our connection's functionality | 62598f9aa17c0f6771d5bf9e |
class RestrictedBendingDihedral(RestrictedBendingDihedralType): <NEW_LINE> <INDENT> def __init__(self, atom1, atom2, atom3, atom4, bondingtype1=None, bondingtype2=None, bondingtype3=None, bondingtype4=None, theta=0.0 * units.degrees, k=0.0 * units.kilojoules_per_mole, improper=False): <NEW_LINE> <INDENT> self.atom1 = a... | stub documentation | 62598f9afbf16365ca793e1a |
class SetPasswordForm(forms.Form): <NEW_LINE> <INDENT> new_password1 = forms.CharField( label=_('New password'), min_length=6, widget=forms.PasswordInput, help_text=_('At least 6 chars'), ) <NEW_LINE> new_password2 = forms.CharField( label=_('Repeat new password'), min_length=6, widget=forms.PasswordInput, help_text=_(... | A form that lets a user change set his/her password without
entering the old password | 62598f9a0a50d4780f70513c |
class Espaces(BaseObj): <NEW_LINE> <INDENT> def __init__(self, evenement): <NEW_LINE> <INDENT> BaseObj.__init__(self) <NEW_LINE> self.evenement = evenement <NEW_LINE> self.variables = {} <NEW_LINE> self._construire() <NEW_LINE> <DEDENT> def __getnewargs__(self): <NEW_LINE> <INDENT> return (None, ) | Classe contenant plusieurs espaces de nom.
Chaque espace de nom est un attribut de cet objet.
Chaque espace se manipule comme un dictionnaire.
Exemple :
self.variables["nom_variable"] retourne la valeur de la variable
nom_variable | 62598f9a627d3e7fe0e06c0e |
class VersionResponse(object): <NEW_LINE> <INDENT> openapi_types = { 'version': 'str', 'service_version': 'str' } <NEW_LINE> attribute_map = { 'version': 'version', 'service_version': 'service_version' } <NEW_LINE> def __init__(self, version=None, service_version=None, local_vars_configuration=None): <NEW_LINE> <INDENT... | NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually. | 62598f9acc0a2c111447ad70 |
class NotInterested(PeerMessage): <NEW_LINE> <INDENT> def __str__(self): <NEW_LINE> <INDENT> return 'NotInterested' | The not interested message is fix length and has no payload other than the
message identifier. It is used to notify each other that there is no
interest to download pieces.
Message format:
<len=0001><id=3> | 62598f9ad486a94d0ba2bd39 |
class BitFieldOperation(object): <NEW_LINE> <INDENT> def __init__(self, database, key): <NEW_LINE> <INDENT> self.database = database <NEW_LINE> self.key = key <NEW_LINE> self.operations = [] <NEW_LINE> self._last_overflow = None <NEW_LINE> <DEDENT> def incrby(self, fmt, offset, increment, overflow=None): <NEW_LINE> <IN... | Command builder for BITFIELD commands. | 62598f9a097d151d1a2c0d88 |
class UserMap: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.r_server = redis.Redis('localhost') <NEW_LINE> <DEDENT> def add(self, user_id, name, DM): <NEW_LINE> <INDENT> self.r_server.hmset('users:game', {user_id: name, name: user_id, 'DM:'+user_id: DM}) <NEW_LINE> <DEDENT> def get(self, user_id=Non... | Store all player infor in this user mapping class. That way we can pass this around as needed. | 62598f9a0c0af96317c560e7 |
class Group(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=120, default="New group") <NEW_LINE> trainers = models.ManyToManyField(User, related_name='groups_of_athletes', blank=True) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> verbose_name = "Group of athletes" <NEW_LINE> verbose_name_plural = "Gr... | Model representing a group of athletes. | 62598f9a56b00c62f0fb2614 |
class Help(QObject): <NEW_LINE> <INDENT> hlp = None <NEW_LINE> def __init__(self, helpfile, prefix, parent=None): <NEW_LINE> <INDENT> if Help.hlp is None: <NEW_LINE> <INDENT> Help.hlp = self <NEW_LINE> super().__init__(parent) <NEW_LINE> Help.hlp._help = HelpDialog(helpfile, Help.hlp) <NEW_LINE> Help.hlp._helpprefix = ... | Main HelpViewer class | 62598f9a9b70327d1c57eb05 |
class AuthLog(DbEntity): <NEW_LINE> <INDENT> date = orm.Required(datetime.datetime, index=True) <NEW_LINE> entry = orm.Required(Entry, index=True) <NEW_LINE> user = orm.Required(str, index=True) <NEW_LINE> user_groups = orm.Optional(str) <NEW_LINE> authorized = orm.Required(bool, index=True) <NEW_LINE> orm.PrimaryKey(e... | Authentication log for private entries | 62598f9ad268445f26639a36 |
class EditFolderMixin(SpecificFolderMixin): <NEW_LINE> <INDENT> def _process(self): <NEW_LINE> <INDENT> defaults = FormDefaults(self.folder, protected=self.folder.is_protected) <NEW_LINE> form = AttachmentFolderForm(obj=defaults, linked_object=self.object) <NEW_LINE> if form.validate_on_submit(): <NEW_LINE> <INDENT> fo... | Edit a folder | 62598f9a009cb60464d01289 |
class ViewportAttrib: <NEW_LINE> <INDENT> def set_clip(self, clip): <NEW_LINE> <INDENT> self._attributes['clip'] = clip <NEW_LINE> <DEDENT> def get_clip(self): <NEW_LINE> <INDENT> return self._attributes.get('clip') <NEW_LINE> <DEDENT> def set_overflow(self, overflow): <NEW_LINE> <INDENT> self._attributes['overflow'] =... | The ViewportAttrib class defines the Viewport.attrib attribute set. | 62598f9a656771135c4893e5 |
class BaseContainerTests(ZeekoTestBase): <NEW_LINE> <INDENT> cls = None <NEW_LINE> @pytest.fixture <NEW_LINE> def obj(self): <NEW_LINE> <INDENT> return self.cls() <NEW_LINE> <DEDENT> def test_methods(self, obj): <NEW_LINE> <INDENT> assert isinstance(len(obj), int) <NEW_LINE> assert len(obj) <NEW_LINE> assert len(obj.ke... | Base tests for containers | 62598f9a090684286d59358b |
class AutoDataLoader(BaseDataLoader): <NEW_LINE> <INDENT> def __init__(self, data_dir, batch_size=16, shuffle=True, validation_split=0.2, num_workers=4, transform = None): <NEW_LINE> <INDENT> if isinstance(transform, (tuple, list, int)): <NEW_LINE> <INDENT> if isinstance(transform, int): <NEW_LINE> <INDENT> h = w = tra... | automatic generate data-loader from a given folder | 62598f9add821e528d6d8c99 |
class _ExpirationManager(_interfaces.ExpirationManager): <NEW_LINE> <INDENT> def __init__( self, lock, termination_manager, transmission_manager, ingestion_manager, commencement, timeout, maximum_timeout): <NEW_LINE> <INDENT> self._lock = lock <NEW_LINE> self._termination_manager = termination_manager <NEW_LINE> self._... | An implementation of _interfaces.ExpirationManager. | 62598f9a498bea3a75a57884 |
class ActiveServer(ndb.Model): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def get_instance_key(cls, instance_id): <NEW_LINE> <INDENT> return ndb.Key(cls, 'Root', cls, instance_id) | A model to store active servers.
We use the instance id as the key name, and there are no properties. | 62598f9ae76e3b2f99fd879a |
class TestLookupBackups(LookupEditorTestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.lookup_backups = lookup_backups.LookupBackups(logger=logger) <NEW_LINE> <DEDENT> @skipIfCantAuthenticate <NEW_LINE> def test_get_backup_directory(self): <NEW_LINE> <INDENT> dir = self.lookup_backups.get_backup_d... | This tests the class which manages lookup backups. | 62598f9abde94217f370751c |
class EmailView(UpdateAPIView): <NEW_LINE> <INDENT> permission_classes = [] <NEW_LINE> serializer_class = EmailSerializers <NEW_LINE> def get_object(self): <NEW_LINE> <INDENT> return self.request.user | 更新用户邮箱/ | 62598f9ad6c5a102081e1ea9 |
@attr.s(auto_attribs=True, repr=False) <NEW_LINE> class Ship(StellarThing): <NEW_LINE> <INDENT> type: ShipType = attr.ib( validator=[attr.validators.instance_of((ShipType, type(None)))], kw_only=True, ) <NEW_LINE> max_cargo: int = attr.ib(converter=int, kw_only=True) <NEW_LINE> max_mc: int = attr.ib(converter=int, kw_o... | A ship that belongs to a race.
It can be moved from one point to another, it can be used to move any resource, and in some cases can be used to attack planets or ships. | 62598f9a2ae34c7f260aae46 |
class EpochResults(object): <NEW_LINE> <INDENT> def __init__(self, model=None, train_data=None, valid_data=None, do_batch=None, is_final=False ): <NEW_LINE> <INDENT> self.model = model <NEW_LINE> self._data = {'train': train_data, 'valid': valid_data} <NEW_LINE> self._results = self._get_blank_results() <NEW_LINE> self... | Helper class for organizing model predictions and prediction summaries
in a given training epoch.
This is a simple retrieval system for model predictions and prediction
summaries, intended to eliminate redundant computation wherever possible
without burdening the programmer with needing to know what has already been
c... | 62598f9a45492302aabfc23d |
class GenericMemcachedBackend(CacheBackend): <NEW_LINE> <INDENT> set_arguments = {} <NEW_LINE> def __init__(self, arguments): <NEW_LINE> <INDENT> self._imports() <NEW_LINE> self.url = util.to_list(arguments['url']) <NEW_LINE> self.distributed_lock = arguments.get('distributed_lock', False) <NEW_LINE> self.memcached_exp... | Base class for memcached backends.
This base class accepts a number of paramters
common to all backends.
:param url: the string URL to connect to. Can be a single
string or a list of strings. This is the only argument
that's required.
:param distributed_lock: boolean, when True, will use a
memcached-lock as the ... | 62598f9aac7a0e7691f72271 |
class PluginSleep: <NEW_LINE> <INDENT> schema = { 'oneOf': [ { 'type': 'object', 'properties': { 'seconds': {'type': 'integer'}, 'phase': { 'type': 'string', 'enum': [ 'start', 'input', 'metainfo', 'filter', 'download', 'modify', 'output', 'learn', 'abort', 'exit', ], 'default': 'start', }, }, 'required': ['seconds'], ... | Causes a pause in execution to occur at the beginning of the specified phase of a task.
The point at which the pause occurs can be adjusted using the `plugin_priority` plugin. | 62598f9a67a9b606de545d3a |
class FanoutExchange(ExchangeType): <NEW_LINE> <INDENT> type = 'fanout' <NEW_LINE> def lookup(self, table, exchange, routing_key, default): <NEW_LINE> <INDENT> return {queue for _, _, queue in table} <NEW_LINE> <DEDENT> def deliver(self, message, exchange, routing_key, **kwargs): <NEW_LINE> <INDENT> if self.channel.sup... | Fanout exchange.
The `fanout` exchange implements broadcast messaging by delivering
copies of all messages to all queues bound to the exchange.
To support fanout the virtual channel needs to store the table
as shared state. This requires that the `Channel.supports_fanout`
attribute is set to true, and the `Channel._... | 62598f9a45492302aabfc23e |
class VendorTests(CRUDTest): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> CRUDTest.__init__(self) <NEW_LINE> self.vendors = None <NEW_LINE> self.last_id = None <NEW_LINE> self.vendors = None <NEW_LINE> <DEDENT> def set_up(self, mysql_x, user=None, passwd=None): <NEW_LINE> <INDENT> self.mygarage = self.be... | Test cases for the Vendors class | 62598f9a1f037a2d8b9e3e4a |
class TestEnumClass(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 testEnumClass(self): <NEW_LINE> <INDENT> model = swagger_client.models.enum_class.EnumClass() | EnumClass unit test stubs | 62598f9a91af0d3eaad39b6f |
class BaseSNRSelector(DataFrameAction): <NEW_LINE> <INDENT> fluxField = Field(doc="Flux field to use in SNR calculation", dtype=str, default="psfFlux", optional=False) <NEW_LINE> errField = Field(doc="Flux err field to use in SNR calculation", dtype=str, default="psfFluxErr", optional=False) <NEW_LINE> threshold = Fiel... | Selects sources that have a S/N greater than the
given threshold | 62598f9a435de62698e9bb5a |
class UnitTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.base_dir = "test/integration" <NEW_LINE> self.config_dir = os.path.join(self.base_dir, "config") <NEW_LINE> self.config_name = "slave_mysql_cfg" <NEW_LINE> self.cfg = gen_libs.load_module(self.config_name, self.config_dir) ... | Class: UnitTest
Description: Class which is a representation of a unit testing.
Methods:
setUp -> Initialize testing environment.
test_down_slave -> Test with stats with non-running slave.
test_up_slave -> Test with stats with running slave.
tearDown -> Clean up of testing environment. | 62598f9a097d151d1a2c0d8a |
class FunAuthTokenSerializer(AuthTokenSerializer): <NEW_LINE> <INDENT> def validate(self, attrs): <NEW_LINE> <INDENT> super(FunAuthTokenSerializer, self).validate(attrs) <NEW_LINE> user = attrs['user'] <NEW_LINE> if user.is_staff or user.is_superuser: <NEW_LINE> <INDENT> return attrs <NEW_LINE> <DEDENT> raise Permissio... | Adds specific authentication validation for FUN API. | 62598f9aa05bb46b3848a5e5 |
class ExitCode: <NEW_LINE> <INDENT> OK = 0 <NEW_LINE> MISSING_MODULE = 1 <NEW_LINE> MQTT_CONNECTION_ERROR = 2 <NEW_LINE> SQL_CONNECTION_ERROR = 3 | Program return codes | 62598f9ab7558d5895463395 |
class RegisterServicesHook(AppFactoryHook): <NEW_LINE> <INDENT> name = 'services' <NEW_LINE> bundle_module_names = ['services', 'managers'] <NEW_LINE> run_after = ['init_extensions'] <NEW_LINE> def process_objects(self, app: FlaskUnchained, services: Dict[str, Service], ) -> None: <NEW_LINE> <INDENT> for name, obj in s... | Registers services for dependency injection. | 62598f9a56b00c62f0fb2616 |
class OpUpdate(TypedObject): <NEW_LINE> <INDENT> tags = ["updateoperator"] | Process OpUpdate tags. | 62598f9a8da39b475be02f4a |
class SMTPDataError(Exception): <NEW_LINE> <INDENT> def __init__(self, msg): <NEW_LINE> <INDENT> super(SMTPDataError, self).__init__(msg) <NEW_LINE> self.smtp_error = msg | Mock SMTPDataError class | 62598f9a32920d7e50bc5dbc |
class Net(paddle.nn.Layer): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(Net, self).__init__() <NEW_LINE> self._tanhshrink = paddle.nn.Tanhshrink() <NEW_LINE> <DEDENT> def forward(self, inputs): <NEW_LINE> <INDENT> x = self._tanhshrink(inputs) <NEW_LINE> return x | simple Net | 62598f9a3c8af77a43b67df0 |
class E3ColorPalette: <NEW_LINE> <INDENT> def __init__(self, name, stops, red, green, blue): <NEW_LINE> <INDENT> self.Name = name <NEW_LINE> self.Stops = array.array('d', stops) <NEW_LINE> self.Red = array.array('d', red) <NEW_LINE> self.Green = array.array('d', green) <NEW_LINE> self.Blue = array.array('d', blue) <NEW... | Set a color palette from a given RGB list.
stops, red, green and blue should all be lists of the same length
from http://ultrahigh.org/2007/08/20/making-pretty-root-color-palettes/ | 62598f9add821e528d6d8c9a |
class FeatureTransformationCache(object): <NEW_LINE> <INDENT> def __init__(self, features): <NEW_LINE> <INDENT> self._features = features.copy() <NEW_LINE> self._feature_tensors = {} <NEW_LINE> <DEDENT> def get(self, key, state_manager): <NEW_LINE> <INDENT> if key in self._feature_tensors: <NEW_LINE> <INDENT> return se... | Handles caching of transformations while building the model.
`FeatureColumn` specifies how to digest an input column to the network. Some
feature columns require data transformations. This class caches those
transformations.
Some features may be used in more than one place. For example, one can use a
bucketized featu... | 62598f9a090684286d59358c |
class CliDownloader(object): <NEW_LINE> <INDENT> def __init__(self, settings): <NEW_LINE> <INDENT> self.settings = settings <NEW_LINE> <DEDENT> def clean_tmp_file(self): <NEW_LINE> <INDENT> if os.path.exists(self.tmp_file): <NEW_LINE> <INDENT> os.remove(self.tmp_file) <NEW_LINE> <DEDENT> <DEDENT> def find_binary(self, ... | Base for downloaders that use a command line program
:param settings:
A dict of the various Package Control settings. The Sublime Text
Settings API is not used because this code is run in a thread. | 62598f9acb5e8a47e493c027 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.