code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class Greeter: <NEW_LINE> <INDENT> greeting: Greeting <NEW_LINE> def __init__(self, greeting: Greeting): <NEW_LINE> <INDENT> self.greeting = greeting | A plain-old-class to engage a customer. | 62598f9d596a897236127a49 |
class Meta(object): <NEW_LINE> <INDENT> verbose_name_plural = "Server Type" | meta informations | 62598f9d0a50d4780f7051a3 |
class VotingButton: <NEW_LINE> <INDENT> def __init__(self, Booth, Buttontext, frame, row): <NEW_LINE> <INDENT> Button(frame, text = Buttontext, width = 40, command = self.Vote).grid( row = row, column = 0) <NEW_LINE> self.numberofvoteslabel = Label(frame, text = "0", width = 20) <NEW_LINE> self.numberofvoteslab... | Blueprint for the creation of VotingButton objects including the
vote function | 62598f9d67a9b606de545d93 |
class SubprocessReader(AbstractSubprocessReader): <NEW_LINE> <INDENT> def __init__( self, identifer, stream, events_queue, expected, log=False, option='input' ): <NEW_LINE> <INDENT> self.id = identifer <NEW_LINE> self._s = stream <NEW_LINE> self._q = events_queue <NEW_LINE> self._e = expected <NEW_LINE> self.logging_on... | A class representing a SubprocessReader.
It contains an id for tracking with the ability
to handle different types of streamed events.
Parameters
----------
identifier : int
The human-readable identifier
stream: input | stdout
Stream to read
expected : int, length of stream
Length of message in stream
log:... | 62598f9d462c4b4f79dbb7d5 |
class Hasher(BaseModule): <NEW_LINE> <INDENT> def _process(self, item): <NEW_LINE> <INDENT> cov = [[[0.1], [0.05], [0.1]]] <NEW_LINE> img = signal.convolve(item, cov) <NEW_LINE> img = Image.fromarray(img.astype('uint8')).convert('RGB') <NEW_LINE> md5 = hashlib.md5(str(img).encode('utf-8')).hexdigest() <NEW_LINE> return... | 哈希模块
| 62598f9d009cb60464d012ef |
class Urls(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def login_url(): <NEW_LINE> <INDENT> return "https://www.facebook.com/v2.9/dialog/oauth?" "client_id=%s&redirect_uri=%s&scope=%s" % ( app_id, urllib.quote_plus(login_path), 'pu... | Wraps URLs creation, formatting and concatenating data when
needed. | 62598f9d3eb6a72ae038a40a |
class SocketTimeout(SocketError, socket.timeout): <NEW_LINE> <INDENT> pass | Socket timeout, server is probably down. | 62598f9d097d151d1a2c0df1 |
class ReturnsUnlockable(Matcher): <NEW_LINE> <INDENT> def __init__(self, lockable_thing): <NEW_LINE> <INDENT> Matcher.__init__(self) <NEW_LINE> self.lockable_thing = lockable_thing <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return ('ReturnsUnlockable(lockable_thing=%s)' % self.lockable_thing) <NEW_LINE>... | A matcher that checks for the pattern we want lock* methods to have:
They should return an object with an unlock() method.
Calling that method should unlock the original object.
:ivar lockable_thing: The object which can be locked that will be
inspected. | 62598f9d8da39b475be02fad |
class Ruestung(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.ID = 0 <NEW_LINE> self.typ = "Kleidung" <NEW_LINE> self.name = "Ruestung" <NEW_LINE> zeile1 = [1,1] <NEW_LINE> zeile2 = [0,1] <NEW_LINE> self.spalte = [zeile1,zeile2] <NEW_LINE> self.stapelbar = False <NEW_LINE> self.wert = 5 | Erstellt ein Item vom Typ Ruestung | 62598f9d10dbd63aa1c70980 |
class FormDefender(PageBase): <NEW_LINE> <INDENT> def __new__(mcs, name, bases, attrs): <NEW_LINE> <INDENT> new_attrs = dict((k if k != 'base_form_class' else '_'+k, v) for k, v in attrs.items()) <NEW_LINE> cls = super().__new__(mcs, name, bases, new_attrs) <NEW_LINE> return cls <NEW_LINE> <DEDENT> @property <NEW_LINE>... | Metaclass for pages who don't want their base_form_class changed | 62598f9d24f1403a92685797 |
class CustomNode(Node): <NEW_LINE> <INDENT> def __init__(self, children): <NEW_LINE> <INDENT> self.children = children <NEW_LINE> <DEDENT> @property <NEW_LINE> def args(self): <NEW_LINE> <INDENT> return self.children <NEW_LINE> <DEDENT> @property <NEW_LINE> def symbols_defined(self): <NEW_LINE> <INDENT> return set() <N... | Own custom base class for all AST nodes. | 62598f9d3539df3088ecc080 |
class LayeredSimple(sgc.Simple): <NEW_LINE> <INDENT> _layered = True | Layered Simple widget, to prevent click events from propagating
through to the background frame, and to enforce draw order. | 62598f9de64d504609df929d |
class FeatureExtractor(object): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def get_feature(self, obs): <NEW_LINE> <INDENT> pass | Base feature extractor. | 62598f9d498bea3a75a578eb |
class PosNegBatchSampler(BatchSampler): <NEW_LINE> <INDENT> def __init__(self, user_item_matrix, batch_size): <NEW_LINE> <INDENT> user_item_matrix = lil_matrix(user_item_matrix) <NEW_LINE> self.user_item_pos_pairs = np.asarray(user_item_matrix.nonzero()).T <NEW_LINE> self.user_item_neg_pairs = (1 - user_item_matrix.t... | BatchSampler - from a MNIST-like dataset, samples n_classes and within these classes samples n_samples.
Returns batches of size n_classes * n_samples | 62598f9d99cbb53fe6830c9d |
class ServiceConfigModel(BaseModel): <NEW_LINE> <INDENT> model_name = '服务配置' <NEW_LINE> model_sign = 'service_config' <NEW_LINE> DNS_TYP_NONE = 'none' <NEW_LINE> DNS_TYP_ECS = 'ecs' <NEW_LINE> DNS_TYP_SLB = 'slb' <NEW_LINE> DNS_TYP_CHOICES = ( (DNS_TYP_NONE, '无解析'), (DNS_TYP_ECS, '解析至ECS'), (DNS_TYP_SLB, '解析至SLB'), ) <... | 服务配置 | 62598f9d63b5f9789fe84f40 |
class MultiMessageDialog(Menu): <NEW_LINE> <INDENT> def __init__(self, text, block_movement=True): <NEW_LINE> <INDENT> self.text = text <NEW_LINE> self.block_movement = block_movement <NEW_LINE> self.current_panel = None <NEW_LINE> Menu.__init__(self, g_cfg.screen_width - 2 * cfg.border_width, g_cfg.screen_height / 2 -... | Same as a MessageDialog but splits messages bigger than the default
box size into multiple dialogs. | 62598f9d55399d3f056262ec |
class State(object): <NEW_LINE> <INDENT> RUNNING = 0 <NEW_LINE> PENDING = 1 <NEW_LINE> UNKNOWN = 2 <NEW_LINE> ERROR = 3 <NEW_LINE> DELETED = 4 | Standard states for a loadbalancer
:cvar RUNNING: loadbalancer is running and ready to use
:cvar UNKNOWN: loabalancer state is unknown | 62598f9d21a7993f00c65d4d |
class Interface(object): <NEW_LINE> <INDENT> def __init__(self,actor): <NEW_LINE> <INDENT> self._actor = actor <NEW_LINE> <DEDENT> def refuse( self, *args ): <NEW_LINE> <INDENT> self._actor._gate.refuse( "object", *args ) <NEW_LINE> <DEDENT> def accept( self, *args ): <NEW_LINE> <INDENT> self._actor._gate.accept( "obje... | provides actors with control over their runtime dynamics
A dramatis.Actor.Interface object provides actors that have mixed
in dramatis.Actor access to their actor name and other actor
operations. An instance of dramatis.Actor.Interface is typically
accessed through via self.actor.
Many of the interface method affect ... | 62598f9d4428ac0f6e6582f5 |
class TestSingleActivityController(BaseTestCase): <NEW_LINE> <INDENT> def test_delete_activity(self): <NEW_LINE> <INDENT> response = self.client.open( '/activity-index/activities/{activityId}'.format(activityId='activityId_example'), method='DELETE', content_type='application/ld+json') <NEW_LINE> self.assert200(respons... | SingleActivityController integration test stubs | 62598f9d91f36d47f2230d85 |
class MailTask(object): <NEW_LINE> <INDENT> @app.task(base=BaseTask, max_retries=3) <NEW_LINE> def send(mail_id, attach_file, to_email, title, auth): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> mail = SendMail() <NEW_LINE> mail.send(attach_file, to_email, title, auth) <NEW_LINE> <DEDENT> except Exception as err: <NEW_... | 发送邮件,发送失败后间隔30秒重新发送
重试次数:5
mail_id: 邮件ID
attach_file: 附件文件路径
to_email: 收件方
title: 邮件标题
auth: 邮件作者 | 62598f9d10dbd63aa1c70981 |
class Remove(IteratorTask): <NEW_LINE> <INDENT> def dojob(self, name, context=None): <NEW_LINE> <INDENT> self.logger.info('remove(%s)', name) <NEW_LINE> name.remove() | Remove a file or directory tree.
constructor arguments:
Remove(*files) | 62598f9d7b25080760ed7271 |
@dataclass <NEW_LINE> class Recursive(JsonSchemaMixin): <NEW_LINE> <INDENT> a: str <NEW_LINE> b: Optional['Recursive'] = None | A recursive data-structure | 62598f9d63d6d428bbee257d |
class ZhaoEtAl2016SSlabSiteSigma(ZhaoEtAl2016SSlab): <NEW_LINE> <INDENT> def get_stddevs(self, C, n_sites, idx, stddev_types): <NEW_LINE> <INDENT> stddevs = [] <NEW_LINE> tau = C["tau"] + np.zeros(n_sites) <NEW_LINE> phi = np.zeros(n_sites) <NEW_LINE> for i in range(1, 5): <NEW_LINE> <INDENT> phi[idx[i]] += C["sc{:g}_s... | Subclass of the Zhao et al. (2016c) subduction in-slab GMPE for the
case of site-dependent within-event variability | 62598f9d30bbd7224646985c |
class SCSGateScenarioSwitch: <NEW_LINE> <INDENT> def __init__(self, scs_id, name, logger, hass): <NEW_LINE> <INDENT> self._name = name <NEW_LINE> self._scs_id = scs_id <NEW_LINE> self._logger = logger <NEW_LINE> self._hass = hass <NEW_LINE> <DEDENT> @property <NEW_LINE> def scs_id(self): <NEW_LINE> <INDENT> return self... | Provides a SCSGate scenario switch.
This switch is always in an 'off" state, when toggled it's used to trigger
events. | 62598f9dadb09d7d5dc0a355 |
class Prequestionnaire(ProxyModel): <NEW_LINE> <INDENT> user_id = IntegerField() <NEW_LINE> programming_years = TextField() <NEW_LINE> python_years = TextField() <NEW_LINE> professional_years = TextField() <NEW_LINE> coding_reason = TextField() <NEW_LINE> programming_proficiency = TextField(db_column='programming_profi... | A questionnaire with information about a participant's background. | 62598f9dc432627299fa2da4 |
class MultiCameraViewCtrlWidget(_BaseAnalysisCtrlWidgetS): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super().__init__(*args, **kwargs) <NEW_LINE> self.output_channels = [] <NEW_LINE> self.properties = [] <NEW_LINE> for i in range(_N_CAMERAS): <NEW_LINE> <INDENT> if i < 2: <NEW_LINE> <... | Multi-Camera view control widget. | 62598f9db7558d58954633fb |
class StoryFragment(object,IAddChild,IEnumerable[BlockElement],IEnumerable): <NEW_LINE> <INDENT> def Add(self,element): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __add__(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __contains__(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __init... | Represents all or part of a story within an XPS document.
StoryFragment() | 62598f9d0a50d4780f7051a5 |
class OrderedTrees_all(DisjointUnionEnumeratedSets, OrderedTrees): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> DisjointUnionEnumeratedSets.__init__( self, Family(NonNegativeIntegers(), OrderedTrees_size), facade=True, keepkey=False) <NEW_LINE> <DEDENT> def _repr_(self): <NEW_LINE> <INDENT> return "Order... | The set of all ordered trees.
EXAMPLES::
sage: OT = OrderedTrees(); OT
Ordered trees
sage: OT.cardinality()
+Infinity | 62598f9dbd1bec0571e14fa9 |
class UtilDjangoTests(TestCase): <NEW_LINE> <INDENT> shard = 1 <NEW_LINE> def test_get_current_request(self): <NEW_LINE> <INDENT> assert_is_none(get_current_request()) <NEW_LINE> <DEDENT> def test_get_current_request_hostname(self): <NEW_LINE> <INDENT> assert_is_none(get_current_request_hostname()) | Tests for methods exposed in util/django | 62598f9d2c8b7c6e89bd359d |
class GodsWorldHelpIntentHandler(AbstractRequestHandler): <NEW_LINE> <INDENT> def can_handle(self, handler_input): <NEW_LINE> <INDENT> session = handler_input.attributes_manager.session_attributes <NEW_LINE> scene = session.get('scene') <NEW_LINE> if not scene: <NEW_LINE> <INDENT> return False <NEW_LINE> <DEDENT> retur... | Handler for Help Intent. | 62598f9d24f1403a92685798 |
class CChange(model.CEventsModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(CChange, self).__init__() <NEW_LINE> self.s_name = "Data Changed event" | data changed event class | 62598f9d63d6d428bbee257e |
@attr.s(slots=True) <NEW_LINE> class PackageCombinationsSieve(Sieve): <NEW_LINE> <INDENT> CONFIGURATION_DEFAULT: Dict[str, Union[None, List[str]]] = {"package_name": None, "package_combinations": []} <NEW_LINE> CONFIGURATION_SCHEMA = Schema( { Required("package_name"): None, Required("package_combinations"): [str], } )... | A sieve to filter out packages respecting desired combinations that should be computed. | 62598f9d004d5f362081eee3 |
class TestGetLogin(unittest.TestCase): <NEW_LINE> <INDENT> @patch("os.getuid", return_value=1001) <NEW_LINE> @patch("pwd.getpwuid") <NEW_LINE> def test_get_login(self, getpwuid, getuid): <NEW_LINE> <INDENT> getpwuid.return_value.pw_name = "user" <NEW_LINE> user = get_login() <NEW_LINE> getpwuid.assert_called_once_with(... | Test get_login | 62598f9d1f037a2d8b9e3eb3 |
class PersonalNoteSerializer(ModelSerializer): <NEW_LINE> <INDENT> notes = JSONField() <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = PersonalNote <NEW_LINE> fields = ("id", "user", "notes") <NEW_LINE> read_only_fields = ("user",) | Serializer for users.models.PersonalNote objects. | 62598f9d2ae34c7f260aaead |
class ClaimInvalid(ValidationFailure): <NEW_LINE> <INDENT> pass | The Validator object attempted validation of a given claim, but one of the
callbacks marked the claim as invalid. | 62598f9d2ae34c7f260aaeae |
class TestDestinyDefinitionsProgressionDestinyProgressionLevelRequirementDefinition(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 testDestinyDefinitionsProgressionDestinyProgressionLevelRequireme... | DestinyDefinitionsProgressionDestinyProgressionLevelRequirementDefinition unit test stubs | 62598f9da17c0f6771d5c007 |
class Page(object): <NEW_LINE> <INDENT> def __init__(self, stack=None, data=None): <NEW_LINE> <INDENT> self.stack = stack <NEW_LINE> self.data = odict(raeting.PAGE_DEFAULTS) <NEW_LINE> if data: <NEW_LINE> <INDENT> self.data.update(data) <NEW_LINE> <DEDENT> self.packed = b'' <NEW_LINE> <DEDENT> @property <NEW_LINE> def ... | RAET UXD protocol page object. Support sectioning of messages into Uxd pages | 62598f9de5267d203ee6b6da |
class KerasExperiment(ExperimentBase): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super().__init__(*args, **kwargs) <NEW_LINE> self.__enter_menu = False <NEW_LINE> self.__callback = DelegatingCallback(on_epoch_end=self.__on_epoch_end) <NEW_LINE> <DEDENT> def __on_epoch_end(self, epoch,... | An experiment meant to better integrate with Keras. | 62598f9dd53ae8145f91825a |
class ResetMixin(object): <NEW_LINE> <INDENT> def reset(self): <NEW_LINE> <INDENT> instdict = self.__dict__ <NEW_LINE> classdict = self.__class__.__dict__ <NEW_LINE> for mname, mval in list(classdict.items()): <NEW_LINE> <INDENT> if mname in instdict and isinstance(mval, OneTimeProperty): <NEW_LINE> <INDENT> delattr(se... | A Mixin class to add a .reset() method to users of OneTimeProperty.
By default, auto attributes once computed, become static. If they happen to
depend on other parts of an object and those parts change, their values may
now be invalid.
This class offers a .reset() method that users can call *explicitly* when
they kn... | 62598f9d21bff66bcd722a31 |
class i2c_smbus_ioctl_data(Structure): <NEW_LINE> <INDENT> _fields_ = [ ('read_write', c_uint8), ('command', c_uint8), ('size', c_uint32), ('data', union_pointer_type)] <NEW_LINE> __slots__ = [name for name, type in _fields_] <NEW_LINE> @staticmethod <NEW_LINE> def create(read_write=I2C_SMBUS_READ, command=0, size=I2C_... | As defined in i2c-dev.h | 62598f9df7d966606f747db4 |
class AuthorizationGeekBrains: <NEW_LINE> <INDENT> def __init__(self, email: str, password: str): <NEW_LINE> <INDENT> self.email = email <NEW_LINE> self.password = password <NEW_LINE> <DEDENT> def get_token(self): <NEW_LINE> <INDENT> self.url = f"{MAIN_LINK}/login" <NEW_LINE> self.connect = requests.Session() <NEW_LINE... | Connect to GeekBrains with login and password. | 62598f9d97e22403b383acd9 |
class Pype: <NEW_LINE> <INDENT> def __init__(self, abspath: str, filename: str, plugin_name: str): <NEW_LINE> <INDENT> self.name = sub(r'\.py$', '', filename) <NEW_LINE> self.doc = self.__get_module_docstring(abspath) <NEW_LINE> self.abspath = abspath <NEW_LINE> self.plugin_name = plugin_name <NEW_LINE> <DEDENT> @stati... | Data structure defining a pype. | 62598f9d3d592f4c4edbac9b |
class ComparableMixin(object): <NEW_LINE> <INDENT> def __lt__(self, other): <NEW_LINE> <INDENT> return other >= self._cmpkey() <NEW_LINE> <DEDENT> def __le__(self, other): <NEW_LINE> <INDENT> return other > self._cmpkey() <NEW_LINE> <DEDENT> def __eq__(self, other): <NEW_LINE> <INDENT> return other == self._cmpkey() <N... | Mixin class to allow comparing to other objects which are comparable. | 62598f9d8e7ae83300ee8e6c |
class LinearTransform: <NEW_LINE> <INDENT> def __init__(self, n_dims, n_hidden_dims, use_identity=False, normalize=False, A=None, theta_0=None, dummy=False): <NEW_LINE> <INDENT> self.n_dims = n_dims <NEW_LINE> self.n_hidden_dims = n_hidden_dims <NEW_LINE> self.use_identity = use_identity <NEW_LINE> self.normalize = nor... | Class for various linear transformations | 62598f9d91f36d47f2230d86 |
class RubyFixnum(RubyVALUE): <NEW_LINE> <INDENT> _type = RUBY_T_FIXNUM <NEW_LINE> def proxyval(self, visited): <NEW_LINE> <INDENT> return self.as_address() >> 1 | Class wrapping a gdb.Value that is a Fixnum | 62598f9d0a50d4780f7051a6 |
class AsyncTaskHandler: <NEW_LINE> <INDENT> sender = None <NEW_LINE> def get_host_from_task(self, sender): <NEW_LINE> <INDENT> self.sender = sender <NEW_LINE> value = base_settings.EOX_TENANT_ASYNC_TASKS_HANDLER_DICT.get(sender, 'tenant_from_sync_process') <NEW_LINE> action = getattr(self, value) <NEW_LINE> return acti... | Handler used to get the tenant of an async task. | 62598f9d6e29344779b00429 |
class PadAuthorTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.server = PadServer.objects.create( title=TS['title'], url=TS['url'], apikey=TS['apikey'] ) <NEW_LINE> self.user = User.objects.create(username='jdoe') <NEW_LINE> self.group = Group.objects.create(name='does') <NEW_... | Test cases for the Author model
| 62598f9d435de62698e9bbc1 |
class APIHandler(BaseHandler, JSendMixin): <NEW_LINE> <INDENT> def initialize(self): <NEW_LINE> <INDENT> self.set_header("Content-Type", "application/json") <NEW_LINE> <DEDENT> def write_error(self, status_code, **kwargs): <NEW_LINE> <INDENT> def get_exc_message(exception): <NEW_LINE> <INDENT> return exception.log_mess... | RequestHandler for API calls
- Sets header as ``application/json``
- Provides custom write_error that writes error back as JSON rather than as the standard HTML template | 62598f9d01c39578d7f12b4b |
class GenericNoteClear(bpy.types.Operator): <NEW_LINE> <INDENT> bl_idname = "node.generic_note_clear" <NEW_LINE> bl_label = "Clear" <NEW_LINE> bl_options = {'REGISTER', 'UNDO'} <NEW_LINE> def execute(self, context): <NEW_LINE> <INDENT> node = context.node <NEW_LINE> node.clear() <NEW_LINE> return {'FINISHED'} | Clear Note Node | 62598f9d91af0d3eaad39bd8 |
class ListPostsInputSet(InputSet): <NEW_LINE> <INDENT> def set_Cursor(self, value): <NEW_LINE> <INDENT> InputSet._set_input(self, 'Cursor', value) <NEW_LINE> <DEDENT> def set_Included(self, value): <NEW_LINE> <INDENT> InputSet._set_input(self, 'Included', value) <NEW_LINE> <DEDENT> def set_Limit(self, value): <NEW_LINE... | An InputSet with methods appropriate for specifying the inputs to the ListPosts
Choreo. The InputSet object is used to specify input parameters when executing this Choreo. | 62598f9d596a897236127a4d |
class Ip(A10BaseClass): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.ERROR_MSG = "" <NEW_LINE> self.b_key = "ip" <NEW_LINE> self.DeviceProxy = "" <NEW_LINE> self.oper = {} <NEW_LINE> self.router = {} <NEW_LINE> self.ospf = {} <NEW_LINE> for keys, value in kwargs.items(): <NEW_LINE> <INDENT... | This class does not support CRUD Operations please use parent.
:param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` | 62598f9d8c0ade5d55dc3576 |
class Article: <NEW_LINE> <INDENT> def __init__(self, shop=None): <NEW_LINE> <INDENT> self.name = "" <NEW_LINE> self.brand = "" <NEW_LINE> self.articlenr = "" <NEW_LINE> self.ordernr = "" <NEW_LINE> self.price = None <NEW_LINE> self.url = "" <NEW_LINE> self.shop = shop <NEW_LINE> self.units = 1 <NEW_LINE> self.properti... | Contains imformation about an Article.
:ivar name: (basestring) name of the article
:ivar articlenr: (basestring) article number
:ivar shop: (AbstractShop) reference to the shop
:ivar brand: (basestring) name of the brand
:ivar image_url: (basestring) url to the article image
:ivar price: (float) price of the article
... | 62598f9d56ac1b37e6301fb8 |
class Plugin(object): <NEW_LINE> <INDENT> def data_available(self, device_sn, format, files): <NEW_LINE> <INDENT> pass | A plugin receives notifications when new data
is available, it can consume the data or transform it.
TCX file generation, and garmin connect upload are
both implementations of plugin. You can implement
your own to produce new file formats or upload somewhere. | 62598f9d009cb60464d012f3 |
class Font(object): <NEW_LINE> <INDENT> def __init__(self, existing_font=None, preset=None): <NEW_LINE> <INDENT> self._ff_messages = [] <NEW_LINE> if existing_font: <NEW_LINE> <INDENT> with self._captures_messages(): <NEW_LINE> <INDENT> self._ff = fontforge.open(existing_font) <NEW_LINE> <DEDENT> <DEDENT> else: <NEW_LI... | Main interface for working with the FontHammer API. | 62598f9d3eb6a72ae038a40e |
class DALStorage(dict): <NEW_LINE> <INDENT> def __getattr__(self, key): <NEW_LINE> <INDENT> return self[key] <NEW_LINE> <DEDENT> def __setattr__(self, key, value): <NEW_LINE> <INDENT> if key in self: <NEW_LINE> <INDENT> raise SyntaxError( 'Object \'%s\'exists and cannot be redefined' % key) <NEW_LINE> <DEDENT> self[key... | a dictionary that let you do d['a'] as well as d.a | 62598f9d3c8af77a43b67e25 |
class SimpleFILO(list): <NEW_LINE> <INDENT> push = list.append <NEW_LINE> def is_empty(self): <NEW_LINE> <INDENT> return not bool(self) | Simple *first in, last out* stack implementation. | 62598f9d925a0f43d25e7e0b |
class IsOwner(BasePermission): <NEW_LINE> <INDENT> message = "You can not delete another user" <NEW_LINE> def has_object_permission(self, request, view, obj): <NEW_LINE> <INDENT> if request.method in SAFE_METHODS: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> print(obj, request.user) <NEW_LINE> return obj == requ... | Custom permission to check if the user is owner of the object. | 62598f9d30dc7b766599f61b |
class Content(AWSProperty): <NEW_LINE> <INDENT> props: PropsDictType = { "S3Bucket": (str, True), "S3Key": (str, True), "S3ObjectVersion": (str, False), } | `Content <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-layerversion-content.html>`__ | 62598f9da05bb46b3848a64d |
class NotificationList(APIView): <NEW_LINE> <INDENT> def get(self, request, format=None): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> notifications = Notification.objects.filter(receiver=Token.objects.get(key=self.request.META['HTTP_AUTHORIZATION'].split(' ', 1)[1]).user.id, unread=True).order_by('created_at') <NEW_LI... | Retrieve or insert notifications | 62598f9d10dbd63aa1c70984 |
class Selectable(ClauseElement): <NEW_LINE> <INDENT> __visit_name__ = 'selectable' | mark a class as being selectable | 62598f9d090684286d5935c1 |
class ConfigurationConformity(ModelSQL, CompanyValueMixin): <NEW_LINE> <INDENT> __name__ = 'account.configuration.default_account' <NEW_LINE> conformity_required = fields.Boolean('Conformity Required') <NEW_LINE> ensure_conformity = fields.Boolean('Ensure Conformity') | Account Configuration Default Account | 62598f9d596a897236127a4e |
class GameSetState(BaseState): <NEW_LINE> <INDENT> def __init__(self, *, machine): <NEW_LINE> <INDENT> super().__init__(machine=machine) <NEW_LINE> self._gameset_label = self.create_label('Game set!', font_size=100) <NEW_LINE> self._gameset_label.set_style('color', colors.GRAY1 + (255,)) <NEW_LINE> self._snd_gameset = ... | Game begin state | 62598f9dbe383301e02535c3 |
class AddLiveAppRequest(JDCloudRequest): <NEW_LINE> <INDENT> def __init__(self, parameters, header=None, version="v1"): <NEW_LINE> <INDENT> super(AddLiveAppRequest, self).__init__( '/apps', 'POST', header, version) <NEW_LINE> self.parameters = parameters | 添加直播应用名
- 需要提前在应用(app)级别绑定功能模板时才需要提前新建应用名
- 新的应用名可以推流时自动创建
| 62598f9d1f5feb6acb1629f0 |
class Partitions_constraints(IntegerListsLex): <NEW_LINE> <INDENT> def __setstate__(self, data): <NEW_LINE> <INDENT> n = data['n'] <NEW_LINE> self.__class__ = Partitions_with_constraints <NEW_LINE> constraints = {'max_slope' : 0, 'min_part' : 1} <NEW_LINE> constraints.update(data['constraints']) <NEW_LINE> self.__init_... | For unpickling old constrained ``Partitions_constraints`` objects created
with sage <= 3.4.1. See :class:`Partitions`. | 62598f9d498bea3a75a578ef |
class EntryLevel(IntEnum): <NEW_LINE> <INDENT> CREATED = auto() <NEW_LINE> INITIALIZED = auto() <NEW_LINE> PRIMED = auto() <NEW_LINE> CACHED = auto() | Represents the level of progress we've made on a TaskRunnerEntry's TaskState.
There are four levels of progress (in order):
1. CREATED: The TaskState exists but not much work has been done on it.
2. INITIALIZED: The TaskState's initialize() method has been called. At this point
all of the task's dependencies are... | 62598f9dd53ae8145f91825c |
class Combo(models.Model): <NEW_LINE> <INDENT> combo = models.ForeignKey(Products, related_name="combo_combo_id", on_delete=models.CASCADE) <NEW_LINE> product = models.ForeignKey(Products, related_name="quantity", on_delete=models.CASCADE) <NEW_LINE> quantity = models.IntegerField() | This model is to add extra field - quantity to the many to many relationship
of combos with products. | 62598f9d55399d3f056262f0 |
class OAuth2Reddit(BaseReddit): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(OAuth2Reddit, self).__init__(*args, **kwargs) <NEW_LINE> self.client_id = self.config.client_id <NEW_LINE> self.client_secret = self.config.client_secret <NEW_LINE> self.redirect_uri = self.config.redirect... | Provides functionality for obtaining reddit OAuth2 access tokens.
You should **not** directly instantiate instances of this class. Use
:class:`.Reddit` instead. | 62598f9dac7a0e7691f722da |
class RequestLoggingMiddleware(object): <NEW_LINE> <INDENT> def process_response(self, request, response): <NEW_LINE> <INDENT> content_type = response['Content-Type'] <NEW_LINE> if not any(x in content_type for x in TYPES.values()): <NEW_LINE> <INDENT> return response <NEW_LINE> <DEDENT> def get_meta(prop): <NEW_LINE> ... | When the log level is in debug mode it should log all request / response pairs.
If the log level is > DEBUG it does not log the request, response body or their headers. | 62598f9df8510a7c17d7e05f |
class NodeAdmin(object): <NEW_LINE> <INDENT> def __init__(self, name=None, css=None, host=None, port=None, wmgrSecretFile=None): <NEW_LINE> <INDENT> if name: <NEW_LINE> <INDENT> if not css: <NEW_LINE> <INDENT> raise ValueError('css has to be specified if name is used') <NEW_LINE> <DEDENT> params = css.getNodeParams(nam... | Class representing administration/communication endpoint for qserv worker. | 62598f9d7cff6e4e811b57f1 |
class Solution(object): <NEW_LINE> <INDENT> def longestCommonPrefix(self, strs): <NEW_LINE> <INDENT> if len(strs) == 0: <NEW_LINE> <INDENT> return "" <NEW_LINE> <DEDENT> commonStr = strs[0] <NEW_LINE> for s in strs[1:]: <NEW_LINE> <INDENT> for i in range(len(commonStr),-1, -1): <NEW_LINE> <INDENT> if s.startswith(commo... | Intro | 62598f9d45492302aabfc2a7 |
class FailoverInstanceRequest(_messages.Message): <NEW_LINE> <INDENT> class DataProtectionModeValueValuesEnum(_messages.Enum): <NEW_LINE> <INDENT> DATA_PROTECTION_MODE_UNSPECIFIED = 0 <NEW_LINE> LIMITED_DATA_LOSS = 1 <NEW_LINE> FORCE_DATA_LOSS = 2 <NEW_LINE> <DEDENT> dataProtectionMode = _messages.EnumField('DataProtec... | Request for Failover.
Enums:
DataProtectionModeValueValuesEnum: Optional. Available data protection
modes that the user can choose. If it's unspecified, data protection
mode will be LIMITED_DATA_LOSS by default.
Fields:
dataProtectionMode: Optional. Available data protection modes that the
user can ch... | 62598f9d4a966d76dd5eecb0 |
class CinemaModel(models.Model): <NEW_LINE> <INDENT> created = models.DateTimeField( 'created at', auto_now_add=True, help_text='Date time on which the objetc was created' ) <NEW_LINE> modified = models.DateTimeField( 'modified at', auto_now=True, help_text='Date time on which the objetc was last modified' ) <NEW_LINE>... | All our models inherit it of this class
The CinemaModel use a abstract method, that mean that is a base
model and not a table in data base.
the following class have functions of Created at and updated at. | 62598f9d44b2445a339b6854 |
class Bunch(HasDynamicProperties): <NEW_LINE> <INDENT> def __init__(self, **kwds): <NEW_LINE> <INDENT> self.__dict__.update(kwds) <NEW_LINE> <DEDENT> def dict(self): <NEW_LINE> <INDENT> return self.__dict__ <NEW_LINE> <DEDENT> def get(self, key, default=None): <NEW_LINE> <INDENT> return self.__dict__.get(key, default) ... | http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308
Often we want to just collect a bunch of stuff together, naming each item of
the bunch; a dictionary's OK for that, but a small do-nothing class is even handier, and prettier to use. | 62598f9d6e29344779b0042b |
class TmuxScripter: <NEW_LINE> <INDENT> def __init__( self, session: str, defaultSessionPath: str, detach: bool = True ) -> "TmuxScripter": <NEW_LINE> <INDENT> self.session_name = session <NEW_LINE> self.start_dir = defaultSessionPath <NEW_LINE> self.detach = detach <NEW_LINE> self.windows = [] <NEW_LINE> self.layout_i... | Responsible for creating commands to recreate an existing tmux session | 62598f9d9c8ee82313040055 |
class RGBTest(Lightshow): <NEW_LINE> <INDENT> def init_parameters(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def check_runnable(self): <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> while True: <NEW_LINE> <INDENT> blend_whole_strip_to_color(self.strip, (255, 0, 0), fadet... | turns on all red, then all green, then all blue leds and then all together
No parameters necessary | 62598f9d07f4c71912baf21a |
class EnumerationField(Field): <NEW_LINE> <INDENT> def __init__(self, field, mapping, required=False, default=None): <NEW_LINE> <INDENT> if not isinstance(mapping, dict): <NEW_LINE> <INDENT> raise exceptions.InvalidInputError( error="%s initializer must be a " "dict" % self.__class__.__name__) <NEW_LINE> <DEDENT> super... | Enumerated field of a JSON object.
:param field: JSON field to fetch the value from.
:param mapping: a `dict` to look up mapped values at.
:param required: whether this field is required. Missing required
fields result in MissingAttributeError.
:param default: the default value to use when the field is missing. | 62598f9dbaa26c4b54d4f07c |
class AmiiboMasterKey: <NEW_LINE> <INDENT> KEY_FMT = '=16s14sBB16s32s' <NEW_LINE> DATA_BIN_SHA256_HEXDIGEST = '868106135941cbcab3552bd14880a7a34304ef340958a6998b61a38ba3ce13d3' <NEW_LINE> TAG_BIN_SHA256_HEXDIGEST = 'b48727797cd2548200b99c665b20a78190470163ccb8e5682149f1b2f7a006cf' <NEW_LINE> def __init__(... | Helper class to validate and unpack crypto master keys.
The keys are commonly called ``unfixed-info.bin`` (data key) and
``locked-secret.bin`` (tag key). | 62598f9d56b00c62f0fb2680 |
class NopMapper(BinMapper): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(NopMapper,self).__init__() <NEW_LINE> self.nbins = 1 <NEW_LINE> self.labels = ['nop'] <NEW_LINE> <DEDENT> def assign(self, coords, mask=None, output=None): <NEW_LINE> <INDENT> if output is None: <NEW_LINE> <INDENT> output = nu... | Put everything into one bin. | 62598f9d91af0d3eaad39bda |
class Ta1ThroughputSection(section.Ta1Section): <NEW_LINE> <INDENT> def _store_query_throughput_table(self): <NEW_LINE> <INDENT> constraint_list = self._config.get_constraint_list(throughput=True) <NEW_LINE> categories = self._config.results_db.get_unique_query_values( simple_fields=[(t1s.DBF_TABLENAME, t1s.DBF_NUMRECO... | The throughput section of the TA1 report | 62598f9d596a897236127a4f |
class StatusHistory(): <NEW_LINE> <INDENT> EPOCH_TIME = 1452556800 <NEW_LINE> START_TIME = int(time.time()) <NEW_LINE> def __init__(self, uid): <NEW_LINE> <INDENT> with open("log/{uid}.txt".format(uid=uid)) as f: <NEW_LINE> <INDENT> self.activity = self.parse_status(map(str.strip, f.readlines())) <NEW_LINE> <DEDENT> <D... | Object representing the history for a particular user. History stored sparse. | 62598f9d63d6d428bbee2582 |
class PcsSharedPath(NamedTuple): <NEW_LINE> <INDENT> fs_id: int <NEW_LINE> path: str <NEW_LINE> size: int <NEW_LINE> is_dir: bool <NEW_LINE> is_file: bool <NEW_LINE> md5: Optional[str] = None <NEW_LINE> local_ctime: Optional[int] = None <NEW_LINE> local_mtime: Optional[int] = None <NEW_LINE> server_ctime: Optional[int]... | User shared path
`sharedpath`: original shared path
`remotepath`: the directory where the `sharedpath` will save | 62598f9dbe383301e02535c5 |
class Ichengjianjiaoyudifangfujia(Iyuedu): <NEW_LINE> <INDENT> pass | chengjian jiaoyu difangjiaoyufujia shenbao biao | 62598f9d3cc13d1c6d46553c |
class SearchFilter(db.Model): <NEW_LINE> <INDENT> __table_args__ = {'mysql_collate': 'utf8_bin'} <NEW_LINE> __tablename__ = 'search_filter' <NEW_LINE> id = db.Column(db.Integer, primary_key=True) <NEW_LINE> user_id = db.Column(db.Integer, db.ForeignKey(User.id)) <NEW_LINE> user = relationship(User) <NEW_LINE> from zeeg... | A search filter is created when the user
wants to filter out a particular search.
This is then taken into account in the
mixed recomemnder, when retrieving articles. | 62598f9d1f037a2d8b9e3eb7 |
class UniFiBandwidthSensor(UniFiClient, SensorEntity): <NEW_LINE> <INDENT> DOMAIN = DOMAIN <NEW_LINE> _attr_native_unit_of_measurement = DATA_MEGABYTES <NEW_LINE> @property <NEW_LINE> def name(self) -> str: <NEW_LINE> <INDENT> return f"{super().name} {self.TYPE.upper()}" <NEW_LINE> <DEDENT> async def options_updated(se... | UniFi bandwidth sensor base class. | 62598f9d8e71fb1e983bb886 |
class adc_sar_templates__sarbias_8slices(Module): <NEW_LINE> <INDENT> def __init__(self, bag_config, parent=None, prj=None, **kwargs): <NEW_LINE> <INDENT> Module.__init__(self, bag_config, yaml_file, parent=parent, prj=prj, **kwargs) <NEW_LINE> <DEDENT> def design(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def... | Module for library adc_sar_templates cell sarbias_8slices.
Fill in high level description here. | 62598f9d8a43f66fc4bf1f4c |
class BackupDirectory(Directory): <NEW_LINE> <INDENT> def __init__(self, directory_path): <NEW_LINE> <INDENT> Directory.__init__(self, directory_path) <NEW_LINE> self.name = os.path.basename(self.path) <NEW_LINE> self.archive_name = '_'.join([ self.name.lower().replace(' ', '-'), date.today().isoformat()]) <NEW_LINE> l... | This class extends the Directory class and adds the name and
archive_name properties, needed when creating an archive and
uploading. | 62598f9d656771135c489453 |
class Prompt(BaseEnum): <NEW_LINE> <INDENT> pass | Device i/o prompts.. | 62598f9d32920d7e50bc5e27 |
class Solitaire(QMainWindow): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.initUI() <NEW_LINE> <DEDENT> def initUI(self): <NEW_LINE> <INDENT> self.sboard = Board(self) <NEW_LINE> self.statusbar = self.statusBar() <NEW_LINE> self.sboard.msg2Statusbar[str].connect(self.st... | docstring for Solitaire | 62598f9d38b623060ffa8e62 |
class HmacSha1Signature(SignatureMethod): <NEW_LINE> <INDENT> NAME = 'HMAC-SHA1' <NEW_LINE> def sign(self, consumer_secret, access_token_secret, method, url, oauth_params, req_kwargs): <NEW_LINE> <INDENT> url = self._remove_qs(url) <NEW_LINE> oauth_params = self._normalize_request_parameters(oauth_params, re... | HMAC-SHA1 Signature Method.
This is a signature method, as per the OAuth 1.0/a specs. As the name
might suggest, this method signs parameters with HMAC using SHA1. | 62598f9df7d966606f747db8 |
class BaseIRC(object): <NEW_LINE> <INDENT> def __init__(self, server, names, nick, channel, sock=None, printing=True): <NEW_LINE> <INDENT> self.sock = sock or socket.socket() <NEW_LINE> self.server = server <NEW_LINE> self.names = names <NEW_LINE> self.nick = nick <NEW_LINE> self.channel = channel <NEW_LINE> self.print... | Client object makes connection to IRC server and handles data
example usage: | 62598f9dac7a0e7691f722dc |
class AppleMusicShare(ShareClass): <NEW_LINE> <INDENT> def canonical_uri(self, uri): <NEW_LINE> <INDENT> match = re.search( r"https://music\.apple\.com/\w+/album/[^/]+/\d+\?i=(\d+)", uri ) <NEW_LINE> if match: <NEW_LINE> <INDENT> return "song:" + match.group(1) <NEW_LINE> <DEDENT> match = re.search(r"https://music\.app... | Apple Music share class. | 62598f9d45492302aabfc2a9 |
class UnionEnumerable(Enumerable): <NEW_LINE> <INDENT> def __init__(self, enumerable1, enumerable2, key): <NEW_LINE> <INDENT> super(UnionEnumerable, self).__init__(enumerable1) <NEW_LINE> self.enumerable = enumerable2 <NEW_LINE> self.key = key <NEW_LINE> <DEDENT> def __iter__(self): <NEW_LINE> <INDENT> union = dict() <... | Class to hold state for determining the set union of a collection with another collection | 62598f9d60cbc95b0636411e |
class Fantray(BaseACIPhysModule): <NEW_LINE> <INDENT> def __init__(self, pod, node, slot, parent=None): <NEW_LINE> <INDENT> self.type = 'fantray' <NEW_LINE> self.status = None <NEW_LINE> if parent: <NEW_LINE> <INDENT> if not isinstance(parent, Node): <NEW_LINE> <INDENT> raise TypeError('An instance of Node class or nod... | Class for the fan tray of a node | 62598f9d460517430c431f43 |
class TransportClearNodeGroupId(message.Cmd): <NEW_LINE> <INDENT> def __init__(self, group): <NEW_LINE> <INDENT> super(TransportClearNodeGroupId, self).__init__() <NEW_LINE> self.command = _CMD_GROUP_TRANSPORT + CMDID_TRANSPORT_NODE_GROUP_ID_CLEAR <NEW_LINE> self.add_args(group) <NEW_LINE> <DEDENT> def process_resp(sel... | Command to clear a Node Group ID to the node so that it can ignore
broadcast commands that are received from that node group. | 62598f9d435de62698e9bbc5 |
class MTree: <NEW_LINE> <INDENT> nSteps = 0 <NEW_LINE> mainID = '123123123123123123123' <NEW_LINE> t = np.zeros((0)) <NEW_LINE> a = np.zeros((0)) <NEW_LINE> z = np.zeros((0)) <NEW_LINE> mainBranchID = [] <NEW_LINE> mainBranchNPart = np.full((0), 0) <NEW_LINE> mainBranchNProg = np.full((0), 0) <NEW_LINE> isToken = np.fu... | Basic Merger tree class for the database | 62598f9d01c39578d7f12b4f |
class ApiTeamDetails(webapp.RequestHandler): <NEW_LINE> <INDENT> def get(self): <NEW_LINE> <INDENT> team_key = self.request.get('team') <NEW_LINE> year = self.request.get('year') <NEW_LINE> team_dict = ApiHelper.getTeamInfo(team_key) <NEW_LINE> if self.request.get('events'): <NEW_LINE> <INDENT> team_dict = ApiHelper.ad... | Information about a Team in a particular year, including full Event and Match objects | 62598f9d596a897236127a51 |
class EachSegmentizer(object): <NEW_LINE> <INDENT> def __init__(self, fieldname, from_python=noop_conv): <NEW_LINE> <INDENT> self.fieldname = fieldname <NEW_LINE> self.from_python = from_python <NEW_LINE> <DEDENT> def _iter_objects(self, queryset): <NEW_LINE> <INDENT> return ((getattr(o,self.fieldname), o.pk) for o in ... | Segmentizer that places each record in the database in its own
segment. | 62598f9de5267d203ee6b6df |
class IotCentralClientConfiguration(Configuration): <NEW_LINE> <INDENT> def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any ) -> None: <NEW_LINE> <INDENT> if credential is None: <NEW_LINE> <INDENT> raise ValueError("Parameter 'credential' must not be None.") <NEW_LINE> <DEDENT> i... | Configuration for IotCentralClient.
Note that all parameters used to create this instance are saved as instance
attributes.
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The subscription identifier.... | 62598f9d8da39b475be02fb1 |
class TestClans(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.ntf = ds.clans(5, 32, 5, .95, 1) <NEW_LINE> self.poles = np.array((0.41835234+0.0j, 0.48922229+0.1709716j, 0.48922229-0.1709716j, 0.65244885+0.3817224j, 0.65244885-0.3817224j)) <NEW_LINE> <DEDENT> def test_clans(self): <NE... | Class doc string | 62598f9d596a897236127a52 |
class ContainerForBiggestAbs: <NEW_LINE> <INDENT> negativeList = [] <NEW_LINE> positiveList = [] <NEW_LINE> negativeAmount = 2 <NEW_LINE> positiveAmount = 3 <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> print("Lexer::__init__") <NEW_LINE> <DEDENT> def check(self, value): <NEW_LINE> <INDENT> if value == 0: <NEW_LIN... | idea is to push all incoming data to the corresponding list (neg or pos). Then do a cutoff after sorting. | 62598f9d090684286d5935c3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.