code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class SignalBlocker(object): <NEW_LINE> <INDENT> def __init__(self, widget): <NEW_LINE> <INDENT> self.widget = widget <NEW_LINE> self.state = False <NEW_LINE> <DEDENT> def __enter__(self): <NEW_LINE> <INDENT> self.state = self.widget.blockSignals(True) <NEW_LINE> <DEDENT> def __exit__(self, exc_type, exc_value, traceba... | Context manager to block signals of the given QObject. | 62599072e76e3b2f99fda2fd |
class CollectionPortlet(base.Renderer, FolderListing): <NEW_LINE> <INDENT> _template = ViewPageTemplateFile("alternative_templates/portletcollection.pt") <NEW_LINE> render = _template | Extend portlet base renderer | 625990729c8ee82313040e04 |
class ListDetailResource: <NEW_LINE> <INDENT> def get_object(self, id: int) -> List: <NEW_LINE> <INDENT> return get_or_404(self.session, List, id=id) <NEW_LINE> <DEDENT> def on_get(self, request, response, id: int): <NEW_LINE> <INDENT> list_ = self.get_object(id) <NEW_LINE> response.json = list_.serialized <NEW_LINE> <... | Manipulate a task list. | 625990727d847024c075dcd4 |
class ArrayPointsIndexer: <NEW_LINE> <INDENT> __slots__ = ('array',) <NEW_LINE> def __init__(self, array): <NEW_LINE> <INDENT> self.array = array <NEW_LINE> <DEDENT> def __getitem__(self, key): <NEW_LINE> <INDENT> return self.array.__getitem__(key, points=True) <NEW_LINE> <DEDENT> def __setitem__(self, key, value): <NE... | Allows selection of arbitrary items in the array based on their N-dimensional label index.
Examples
--------
>>> arr = ndtest((2, 3, 4))
>>> arr
a b\c c0 c1 c2 c3
a0 b0 0 1 2 3
a0 b1 4 5 6 7
a0 b2 8 9 10 11
a1 b0 12 13 14 15
a1 b1 16 17 18 19
a1 b2 20 21 22 23
To se... | 6259907256b00c62f0fb41ca |
class ZillowError(Exception): <NEW_LINE> <INDENT> code = dict([ (0, 'Request successfully processed'), (1, 'Service error-there was a server-side error ' + 'while processing the request. \n ' + 'Check to see if your url is properly formed: delimiters, ' + 'character cases, etc.'), (2, 'The specified ZWSID parameter was... | Error messages copied from Zillow's API documentation
http://www.zillow.com/howto/api/GetDeepSearchResults.htm | 62599072097d151d1a2c296e |
class TestConstFolding(unittest.TestCase): <NEW_LINE> <INDENT> def generic_ConstFolding(self, origstring, refstring, nbits, lvl=False): <NEW_LINE> <INDENT> orig = ast.parse(origstring) <NEW_LINE> ref = ast.parse(refstring) <NEW_LINE> if lvl: <NEW_LINE> <INDENT> orig = Flattening().visit(orig) <NEW_LINE> ref = Flattenin... | Test constant folding transformer. | 6259907276e4537e8c3f0e7a |
class Region(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=80, unique=True) | ... | 625990724a966d76dd5f07e5 |
class CoffeeMaker: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.resources = { "water": 300, "milk": 200, "coffee": 100, } <NEW_LINE> <DEDENT> def report(self): <NEW_LINE> <INDENT> print(f"Water: {self.resources['water']}ml") <NEW_LINE> print(f"Milk: {self.resources['milk']}ml") <NEW_LINE> print(f"Co... | Models the machine that makes the coffee | 6259907216aa5153ce401dd4 |
class HexField(pygame.sprite.Group): <NEW_LINE> <INDENT> def __init__(self, x, y, width, height): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.width = width <NEW_LINE> self.height = height <NEW_LINE> self.field = [] <NEW_LINE> self.pos = x, y <NEW_LINE> self.move_is_end = False <NEW_LINE> self.place_ship_resu... | Игровое поле | 625990721f037a2d8b9e54e8 |
class TestIrSequenceQoyRangeEnd(SingleTransactionCase): <NEW_LINE> <INDENT> def test_ir_sequence_qoy_range_end_1_create(self): <NEW_LINE> <INDENT> seq = self.env["ir.sequence"].create( { "code": "test_qoy_range_end", "name": "Test sequence range end BE", "use_date_range": True, "prefix": "test-%(range_end_qoy)s-", "suf... | A few tests for a 'Standard' sequence with range end. | 62599072ad47b63b2c5a9149 |
class line(SVGelement): <NEW_LINE> <INDENT> def __init__(self,x1=None,y1=None,x2=None,y2=None,stroke=None,stroke_width=None,**args): <NEW_LINE> <INDENT> SVGelement.__init__(self,'line',**args) <NEW_LINE> if x1!=None: <NEW_LINE> <INDENT> self.attributes['x1']=_num_str(x1) <NEW_LINE> <DEDENT> if y1!=None: <NEW_LINE> <IND... | l=line(x1,y1,x2,y2,stroke,stroke_width,**args)
A line is defined by a begin x,y pair and an end x,y pair | 6259907299fddb7c1ca63a51 |
class PostgreSQLConnection(object): <NEW_LINE> <INDENT> log = txaio.make_logger() <NEW_LINE> def __init__(self, id, config): <NEW_LINE> <INDENT> self.id = id <NEW_LINE> self.config = config <NEW_LINE> self.started = None <NEW_LINE> self.stopped = None <NEW_LINE> params = { 'host': config.get('host', 'localhost'), 'port... | A PostgreSQL database connection pool. | 6259907238b623060ffaa4d2 |
class SafeTarget(Target): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> <DEDENT> def draw(self): <NEW_LINE> <INDENT> self.radius = 13 <NEW_LINE> arcade.draw_rectangle_filled(self.center.x, self.center.y, self.radius, self.radius, arcade.color.RED) <NEW_LINE> <DEDENT> def hit(... | A safe target should not be hit and will penalize the
player if it is hit. 10 points will be deducted. | 6259907271ff763f4b5e90a5 |
class RegviewLoadCommand(gdb.Command): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super (RegviewLoadCommand, self).__init__ ("regview load", gdb.COMMAND_SUPPORT, gdb.COMPLETE_FILENAME) <NEW_LINE> <DEDENT> def invoke(self, arg, from_tty): <NEW_LINE> <INDENT> rv.load_definitions(arg) | Load register definitions from XML file. | 62599072627d3e7fe0e08783 |
class Jsonable(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def _objHook(obj): <NEW_LINE> <INDENT> if isinstance(obj, datetime.datetime): <NEW_LINE> <INDENT> return obj.strftime('%Y-%m-%dT%H:%M:%S') <NEW_LINE> <DEDENT> if isinstance(obj, Jsonable): <NEW_LINE> <INDENT> return obj.json() <NEW_LINE> <DEDENT> if i... | Jsonable mixin class to provide json functionality and a number of simple helpers | 62599072460517430c432cd5 |
class HSplit(Block): <NEW_LINE> <INDENT> Block.alias('hsplit') <NEW_LINE> Block.input('value') <NEW_LINE> Block.output('half1') <NEW_LINE> Block.output('half2') <NEW_LINE> def update(self): <NEW_LINE> <INDENT> value = self.input.value <NEW_LINE> h = value.shape[0] / 2 <NEW_LINE> self.output.half1 = value[0:h, ...] <NEW... | Splits an array along the first axis. | 62599072283ffb24f3cf51a5 |
class CurrentRfidSerializer(serializers.HyperlinkedModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = CurrentRfid <NEW_LINE> fields = ('id', 'url', 'rfid') | Serializer for sending the current rfid value to a an angularJs client for prefilling a
web form based upon last scanned item that wasn't found in the database. | 62599072aad79263cf4300b2 |
class TestXmlNs0ChangeViewRequest(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 testXmlNs0ChangeViewRequest(self): <NEW_LINE> <INDENT> pass | XmlNs0ChangeViewRequest unit test stubs | 625990727c178a314d78e869 |
class Expression3(Expression): <NEW_LINE> <INDENT> def get(self, instance): <NEW_LINE> <INDENT> return len(instance.objectPlayer.journeys) | Journey->Number of nodes in the journey
Parameters:
0: (not found) ((unknown 27040))
Return type: Int | 625990723539df3088ecdb92 |
class Position(ModelBase): <NEW_LINE> <INDENT> name = models.CharField(max_length=255) <NEW_LINE> short_name = models.CharField(max_length=5, help_text="5 characters or fewer.") <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> return self.name <NEW_LINE> <DEDENT> def... | Represents a single Field Hockey position. | 62599072379a373c97d9a91c |
class CommentList(generics.ListCreateAPIView): <NEW_LINE> <INDENT> serializer_class = CommentSerializer <NEW_LINE> def get_post(self): <NEW_LINE> <INDENT> post = get_object_or_404(Post.objects, pk=self.kwargs['post']) <NEW_LINE> return post <NEW_LINE> <DEDENT> def get_queryset(self): <NEW_LINE> <INDENT> comment = Comme... | get: Выводит список всех коментариев к указанной рекомендации.
post: Создает новый комментарий к указанной рекомендации. | 62599072e76e3b2f99fda2ff |
class Task(object): <NEW_LINE> <INDENT> def __init__(self, input_dir, output_dir, **kwargs): <NEW_LINE> <INDENT> ffmpeg_exe = kwargs.get(str('ffmpeg_executable'), '/usr/local/bin/ffmpeg') <NEW_LINE> extension = kwargs.get(str('extension'), 'm4v') <NEW_LINE> other_args = kwargs.get(str('other_args'), '') <NEW_LINE> if n... | Documentation: https://docs.droppyapp.com/tasks/video-transcode | 6259907256b00c62f0fb41cc |
class TChannel(InteractionCrossSection): <NEW_LINE> <INDENT> def __init__(self, norm, v_ref): <NEW_LINE> <INDENT> self._vref = v_ref <NEW_LINE> super(TChannel, self).__init__(norm, self._velocity_dependence_kernel) <NEW_LINE> <DEDENT> @property <NEW_LINE> def kwargs(self): <NEW_LINE> <INDENT> return {'norm': self.norm,... | This implements a velocity-dependent cross section of the form
sigma(v) = norm / (1 + (v/v_ref)^2 )^2 | 62599072fff4ab517ebcf117 |
class CurrencyRateUpdateService(models.Model): <NEW_LINE> <INDENT> _name = "currency.rate.update.service" <NEW_LINE> _description = "Currency Rate Update" <NEW_LINE> service = fields.Selection( [ ('Admin_ch_getter', 'Admin.ch'), ('ECB_getter', 'European Central Bank'), ('Yahoo_getter', 'Yahoo Finance '), ('PL_NBP_gette... | Class thats tell for wich services wich currencies
have to be updated | 62599072f548e778e596ce8a |
class Scan(): <NEW_LINE> <INDENT> def __init__(self, base_dir=os.getcwd()): <NEW_LINE> <INDENT> if base_dir == os.getcwd(): <NEW_LINE> <INDENT> print('Scanned current working directory') <NEW_LINE> <DEDENT> self.base_dir = self._format_directory(base_dir) <NEW_LINE> self._old_asset_dict = {} <NEW_LINE> self._asset_dict... | The main class object used in this tool. Upon creation, it analyses the
tree of directories under the base_dir provided.
Call tree.refresh() to reanalyse the tree. | 625990728a43f66fc4bf3a92 |
class InformationItem(Item): <NEW_LINE> <INDENT> _id = Field() <NEW_LINE> NickName = Field() <NEW_LINE> Gender = Field() <NEW_LINE> Province = Field() <NEW_LINE> City = Field() <NEW_LINE> BriefIntroduction = Field() <NEW_LINE> Authentication = Field() <NEW_LINE> Num_Tweets = Field() <NEW_LINE> Num_Follows = Field() <NE... | 个人信息 | 6259907263b5f9789fe86a61 |
class ParticleFilter(object): <NEW_LINE> <INDENT> def __init__(self, particle_type, state_gen, num_particles=100): <NEW_LINE> <INDENT> self.particle_type = particle_type <NEW_LINE> self.state_generator = state_gen <NEW_LINE> self.M = num_particles <NEW_LINE> self.Y = N.zeros(self.M, self.particle_type) <NEW_LINE> self.... | Implements a generic particle filter, which can be easily extended to track
a probability distribution, such as the location of a robot.
For further details, see the algorithm description in:
S. Thrun et al., "Probabilistic Robotics", 1st Ed., p.98, Table 4.3 | 625990724f88993c371f119f |
class BedPEEntry(): <NEW_LINE> <INDENT> def __init__(self, chrom1, start1, end1, chrom2, start2, end2, name, *args): <NEW_LINE> <INDENT> self.chrom1 = chrom1 <NEW_LINE> self.start1 = start1 <NEW_LINE> self.end1 = end1 <NEW_LINE> self.chrom2 = chrom2 <NEW_LINE> self.start2 = start2 <NEW_LINE> self.end2 = end2 <NEW_LINE>... | Same as a bed except the less than doesn't sort for chromosomes | 625990724a966d76dd5f07e7 |
class ListQueue: <NEW_LINE> <INDENT> def __init__(self, capacity): <NEW_LINE> <INDENT> self.list_queue = [None] * capacity <NEW_LINE> self._capacity = capacity <NEW_LINE> self.front = -1 <NEW_LINE> self.back = -1 <NEW_LINE> self.size = 0 <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> result = 'ListQueue[' <... | This is a list based implementation of a queue which will keep oldest data
and drop anything new that there is not room for | 6259907299fddb7c1ca63a52 |
class HIDBSL5Base(bsl5.BSL5): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> bsl5.BSL5.__init__(self) <NEW_LINE> self.hid_device = None <NEW_LINE> self.logger = logging.getLogger('BSL5') <NEW_LINE> <DEDENT> def __del__(self): <NEW_LINE> <INDENT> self.close() <NEW_LINE> <DEDENT> def bsl(self, cmd, message='... | Implementation of the BSL protocol over HID.
A subclass needs to implement open(), close(), read_report() and
write_report(). | 6259907238b623060ffaa4d3 |
class ArrayQueryParameter(AbstractQueryParameter): <NEW_LINE> <INDENT> def __init__(self, name, array_type, values): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.array_type = array_type <NEW_LINE> self.values = values <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def positional(cls, array_type, values): <NEW_LINE... | Named / positional query parameters for array values.
:type name: str or None
:param name: Parameter name, used via ``@foo`` syntax. If None, the
paramter can only be addressed via position (``?``).
:type array_type: str
:param array_type:
name of type of array elements. One of `'STRING'`, `'INT64'... | 62599072796e427e53850076 |
class CacheWrapper(object): <NEW_LINE> <INDENT> def __init__(self, cache): <NEW_LINE> <INDENT> self._cache = cache <NEW_LINE> <DEDENT> def __call__(self, *args, **kwargs): <NEW_LINE> <INDENT> return self._cache.wrapper(*args, **kwargs) <NEW_LINE> <DEDENT> def expire_cache(self): <NEW_LINE> <INDENT> self._cache.expire_c... | The cache wrapper | 625990721f037a2d8b9e54e9 |
class Video_multilevel_encoding(nn.Module): <NEW_LINE> <INDENT> def __init__(self, opt): <NEW_LINE> <INDENT> super(Video_multilevel_encoding, self).__init__() <NEW_LINE> self.rnn_output_size = opt.visual_rnn_size*2 <NEW_LINE> self.dropout = nn.Dropout(p=opt.dropout) <NEW_LINE> self.visual_norm = opt.visual_norm <NEW_LI... | Section 3.1. Video-side Multi-level Encoding | 625990725fdd1c0f98e5f884 |
class DianpingCPUUsageest(CPUUsageTest): <NEW_LINE> <INDENT> def __init__(self, device_serial): <NEW_LINE> <INDENT> self.case_chinese_name = "CPU消耗测试" <NEW_LINE> self.package_name = "com.dianping.v1" <NEW_LINE> self.activity_name = ".NovaMainActivity" <NEW_LINE> self.device_serial = device_serial <NEW_LINE> super(Dianp... | 测试点评CPU消耗 | 62599072435de62698e9d704 |
class MAVLink_storage_information_message(MAVLink_message): <NEW_LINE> <INDENT> id = MAVLINK_MSG_ID_STORAGE_INFORMATION <NEW_LINE> name = 'STORAGE_INFORMATION' <NEW_LINE> fieldnames = ['time_boot_ms', 'storage_id', 'storage_count', 'status', 'total_capacity', 'used_capacity', 'available_capacity', 'read_speed', 'write_... | Information about a storage medium. | 6259907291f36d47f2231b0d |
class V1QuobyteVolumeSource(object): <NEW_LINE> <INDENT> def __init__(self, volume=None, registry=None, user=None, group=None, read_only=None): <NEW_LINE> <INDENT> self.swagger_types = { 'volume': 'str', 'registry': 'str', 'user': 'str', 'group': 'str', 'read_only': 'bool' } <NEW_LINE> self.attribute_map = { 'volume': ... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62599072627d3e7fe0e08785 |
class Test_NC_ABI_L1B_ir_cal(unittest.TestCase): <NEW_LINE> <INDENT> @mock.patch('satpy.readers.abi_l1b.xr') <NEW_LINE> def setUp(self, xr_): <NEW_LINE> <INDENT> from satpy.readers.abi_l1b import NC_ABI_L1B <NEW_LINE> rad_data = (np.arange(10.).reshape((2, 5)) + 1.) * 50. <NEW_LINE> rad_data = (rad_data + 1.) / 0.5 <NE... | Test the NC_ABI_L1B reader. | 62599072460517430c432cd6 |
class RegressionMethods(MlData): <NEW_LINE> <INDENT> def __init__(self, dataFrame: pd.DataFrame, y_column: str, x_columns: list): <NEW_LINE> <INDENT> super().__init__(dataFrame, y_column, x_columns) <NEW_LINE> <DEDENT> def linear_regression(self): <NEW_LINE> <INDENT> self.rm = linear_model.LinearRegression(fit_intercep... | 線形重回帰分析 | 62599072283ffb24f3cf51a7 |
class CreateToolTip(object): <NEW_LINE> <INDENT> def __init__(self, widget, text='widget info'): <NEW_LINE> <INDENT> self.waittime = 500 <NEW_LINE> self.wraplength = 180 <NEW_LINE> self.widget = widget <NEW_LINE> self.text = text <NEW_LINE> self.widget.bind("<Enter>", self.enter) <NEW_LINE> self.widget.bind("<Leave>", ... | create a tooltip for a given widget | 625990725fc7496912d48ee8 |
class Section(Region): <NEW_LINE> <INDENT> _subsection_locator = (By.CSS_SELECTOR, '.subunit > li') <NEW_LINE> @property <NEW_LINE> def number(self) -> str: <NEW_LINE> <INDENT> line = self.root.text.split(". ", 1) <NEW_LINE> return line[0] if len(line) > 1 else "" <NEW_LINE> <DEDENT> @property <NEW_LINE> def subsection... | A table of contents chapter or other primary content. | 625990727d847024c075dcd8 |
class MockFile(io.BytesIO, object): <NEW_LINE> <INDENT> def __init__(self, path, content=b""): <NEW_LINE> <INDENT> global mock_files <NEW_LINE> mock_files[path] = self <NEW_LINE> self._value_after_close = "" <NEW_LINE> self._super = super(MockFile, self) <NEW_LINE> self._super.__init__(content) <NEW_LINE> <DEDENT> def ... | Mock class for the file objects _contained in_ `FTPFile` objects
(not `FTPFile` objects themselves!).
Contrary to `StringIO.StringIO` instances, `MockFile` objects can
be queried for their contents after they have been closed. | 625990724428ac0f6e659e33 |
class Communicator(metaclass=ABCMeta): <NEW_LINE> <INDENT> pass <NEW_LINE> @abstractmethod <NEW_LINE> def sees(self, actor: Actor, previous_actor: Actor = None): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def no_longer_sees(self, actor: Actor): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def clear(self): <NEW_LINE> ... | Sends messages from the Vehicle to Actors. The medium to send the message is defined by subclass implementations. | 625990729c8ee82313040e06 |
class StoreLocation(glance_store.location.StoreLocation): <NEW_LINE> <INDENT> def process_specs(self): <NEW_LINE> <INDENT> self.scheme = self.specs.get('scheme', 'http') <NEW_LINE> self.netloc = self.specs['netloc'] <NEW_LINE> self.user = self.specs.get('user') <NEW_LINE> self.password = self.specs.get('password') <NEW... | Class describing an HTTP(S) URI | 62599072baa26c4b54d50bab |
class LoggedInMixin: <NEW_LINE> <INDENT> def logged_in(self, obj: MagicLinkUse) -> bool: <NEW_LINE> <INDENT> return obj.timestamp == obj.link.logged_in_at <NEW_LINE> <DEDENT> logged_in.boolean = True <NEW_LINE> logged_in.short_description = "Used for login" | Mixin used to provide a logged_in method for display purposes. | 62599073f9cc0f698b1c5f4a |
class PlusGate(cirq.Gate): <NEW_LINE> <INDENT> def __init__(self, dimension, increment=1): <NEW_LINE> <INDENT> self.dimension = dimension <NEW_LINE> self.increment = increment % dimension <NEW_LINE> <DEDENT> def _qid_shape_(self): <NEW_LINE> <INDENT> return (self.dimension,) <NEW_LINE> <DEDENT> def _unitary_(self): <NE... | A qudit gate that increments a qudit state mod its dimension. | 62599073d486a94d0ba2d8b8 |
class DataGenerator(keras.utils.Sequence): <NEW_LINE> <INDENT> def __init__(self, image_filenames_0, image_filenames_1, labels, batch_size): <NEW_LINE> <INDENT> self.image_filenames_0, self.image_filenames_1, self.labels = image_filenames_0, image_filenames_1, labels <NEW_LINE> self.batch_size = batch_size <NEW_LINE> s... | Generates data for Keras | 625990737d43ff2487428092 |
class TransformerDecoder(Module): <NEW_LINE> <INDENT> __constants__ = ['norm'] <NEW_LINE> def __init__(self, decoder_layer, num_layers, norm=None): <NEW_LINE> <INDENT> super(TransformerDecoder, self).__init__() <NEW_LINE> self.layers = _get_clones(decoder_layer, num_layers) <NEW_LINE> self.num_layers = num_layers <NEW_... | TransformerDecoder is a stack of N decoder layers
Args:
decoder_layer: an instance of the TransformerDecoderLayer() class (required).
num_layers: the number of sub-decoder-layers in the decoder (required).
norm: the layer normalization component (optional).
Examples::
>>> decoder_layer = nn.Transforme... | 62599073aad79263cf4300b5 |
class ToCollect(Process): <NEW_LINE> <INDENT> def run(self,mon1,mon2,tal1,tal2): <NEW_LINE> <INDENT> while True: <NEW_LINE> <INDENT> yield hold,self,1 <NEW_LINE> mon1.observe(self.sim.now()) <NEW_LINE> mon2.observe(self.sim.now()) <NEW_LINE> tal1.observe(self.sim.now()) <NEW_LINE> tal2.observe(self.sim.now()) | For testing startCollection
| 6259907399cbb53fe68327e9 |
class NestedParameter(BaseParameter): <NEW_LINE> <INDENT> spec_attributes = [ "layout", "columns"] <NEW_LINE> type = 'nested' <NEW_LINE> layout = 'vertical' <NEW_LINE> fields = None <NEW_LINE> columns = None <NEW_LINE> def __init__(self, name, fields, **kwargs): <NEW_LINE> <INDENT> BaseParameter.__init__(self, fields=f... | A 'parent' parameter for a set of related parameters. This provides a
logical grouping for the child parameters.
Typically, the 'fullName' of the child parameters mix in the parent's
'fullName'. This allows for a field to appear multiple times in a form
(for example, two codebases each have a 'branch' field).
If the ... | 6259907363b5f9789fe86a63 |
class DriversMixin(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def get_available_drivers(): <NEW_LINE> <INDENT> return [driver['username'] for driver in db.drivers.find({"duty": True, "trip": False}, {'username': 1, '_id': 0})] <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def get_positions(drivers_names): <NE... | Utility class for anything related with drivers | 6259907376e4537e8c3f0e7e |
class StopTaskAction(TaskAction): <NEW_LINE> <INDENT> def run(self): <NEW_LINE> <INDENT> job = self.state.get_job(self.task) <NEW_LINE> if not job: <NEW_LINE> <INDENT> logger.error("%s: job does not exist" % self) <NEW_LINE> <DEDENT> elif not self.machine.stop_task(job): <NEW_LINE> <INDENT> logger.error("%s: failed to ... | Stop a task. | 62599073ad47b63b2c5a914d |
class Kgate(Gate): <NEW_LINE> <INDENT> def __init__(self, kappa): <NEW_LINE> <INDENT> super().__init__([kappa]) <NEW_LINE> <DEDENT> def _apply(self, reg, backend, **kwargs): <NEW_LINE> <INDENT> p = _unwrap(self.p) <NEW_LINE> backend.kerr_interaction(p[0], *reg) | :ref:`Kerr <kerr>` gate.
.. math::
K(\kappa) = e^{i \kappa \hat{n}^2}
Args:
kappa (float): parameter | 62599073fff4ab517ebcf11a |
class File(CountableBase): <NEW_LINE> <INDENT> __tablename__ = 'file' <NEW_LINE> __table_args__ = {'sqlite_autoincrement': True} <NEW_LINE> id = Column(Integer, primary_key=True) <NEW_LINE> created_at = Column(Integer, default=0) <NEW_LINE> updated_at = Column(Integer, default=0) <NEW_LINE> path = Column(String(255)) <... | File Schema
All recorded files | 625990733346ee7daa3382df |
class SwishBeta(Layer): <NEW_LINE> <INDENT> def __init__(self, beta=1, **kwargs): <NEW_LINE> <INDENT> super(Swish, self).__init__(**kwargs) <NEW_LINE> self.supports_masking = True <NEW_LINE> self.beta_initializer = K.cast_to_floatx(beta) <NEW_LINE> <DEDENT> def build(self, input_shape): <NEW_LINE> <INDENT> input_dim = ... | Self-gated activation function with trainable beta
f(x) = x \sigma(eta x)
# References
Swish: a Self-Gated Activation Function https://arxiv.org/abs/1710.05941v1 | 625990734a966d76dd5f07ea |
class HomeTestCase(TestCase): <NEW_LINE> <INDENT> fixtures = ['sample_data.json'] <NEW_LINE> def setUp(self): <NEW_LINE> <INDENT> self.client = Client() <NEW_LINE> <DEDENT> def test_get_home_view_returns_success(self): <NEW_LINE> <INDENT> response = self.client.get( reverse('home') ) <NEW_LINE> self.assertEquals(respon... | Testcase for the Home View . | 62599073a17c0f6771d5d82b |
class RecordFilter(object): <NEW_LINE> <INDENT> filter_param = '' <NEW_LINE> name_template = '' <NEW_LINE> def __init__(self, filter_value): <NEW_LINE> <INDENT> self.filter_value = filter_value <NEW_LINE> self.filter_name = self.name_template.format(self.filter_value) <NEW_LINE> <DEDENT> def __eq__(self, other): <NEW_L... | Superclass of all UsageRecord filters. Use the subclasses for each of
access to standard parameters.
Class Attributes:
RecordFilter.filter_param (str): This is the parameter name of
the UsageRecord object,
filtered by this filter
RecordF... | 62599073091ae35668706538 |
class TakeWhileEnumerable(Enumerable): <NEW_LINE> <INDENT> def __init__(self, enumerable, predicate): <NEW_LINE> <INDENT> super(TakeWhileEnumerable, self).__init__(enumerable) <NEW_LINE> self.predicate = predicate <NEW_LINE> <DEDENT> def __iter__(self): <NEW_LINE> <INDENT> return itertools.takewhile(self.predicate, sel... | Class to hold state for taking elements while a given predicate is true | 62599073442bda511e95d9d7 |
class FactBase: <NEW_LINE> <INDENT> pass | stores unary and binary relational facts | 62599073e76e3b2f99fda303 |
@registry.register_problem("wmt_enfr_tokens_8k") <NEW_LINE> class WMTEnFrTokens8k(WMTProblem): <NEW_LINE> <INDENT> @property <NEW_LINE> def targeted_vocab_size(self): <NEW_LINE> <INDENT> return 2**13 <NEW_LINE> <DEDENT> def train_generator(self, data_dir, tmp_dir, train): <NEW_LINE> <INDENT> symbolizer_vocab = generato... | Problem spec for WMT En-Fr translation. | 62599073f548e778e596ce8e |
class ComputeReservoir(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.enabled = True <NEW_LINE> self.checked = False <NEW_LINE> <DEDENT> def onClick(self): <NEW_LINE> <INDENT> pass | Implementation for PyFile_addin.ComputeReservoirButton (Button) | 62599073009cb60464d02e3a |
class deeds(object): <NEW_LINE> <INDENT> def __init__(self, owner=None, purchaseprice=0, mortgageValue=0, unmortage=0): <NEW_LINE> <INDENT> super(deeds, self).__init__() <NEW_LINE> self.m_owner = owner <NEW_LINE> self.m_purchasePrice = purchaseprice <NEW_LINE> self.m_mortgageValue = mortgageValue <NEW_LINE> self.m_unmo... | deeds of properties | 6259907355399d3f05627e19 |
class AclController(Controller): <NEW_LINE> <INDENT> def GET(self, req): <NEW_LINE> <INDENT> resp = req.get_response(self.app, method='HEAD') <NEW_LINE> return get_acl(req.access_key, resp.headers) <NEW_LINE> <DEDENT> def PUT(self, req): <NEW_LINE> <INDENT> if req.object_name: <NEW_LINE> <INDENT> raise S3NotImplemented... | Handles the following APIs:
- GET Bucket acl
- PUT Bucket acl
- GET Object acl
- PUT Object acl
Those APIs are logged as ACL operations in the S3 server log. | 625990734e4d562566373d08 |
class Em(ReplaceTagNode): <NEW_LINE> <INDENT> verbose_name = 'Italic' <NEW_LINE> open_pattern = re.compile(patterns.no_argument % 'i', re.I) <NEW_LINE> close_pattern = re.compile(patterns.closing % 'i', re.I) | Makes text italic.
Usage:
[code lang=bbdocs linenos=0][i]Text[/i][/code] | 62599073167d2b6e312b8210 |
class LOOM_OT_render_terminal(bpy.types.Operator): <NEW_LINE> <INDENT> bl_idname = "loom.render_terminal" <NEW_LINE> bl_label = "Render Image Sequence in Terminal Instance" <NEW_LINE> bl_options = {'REGISTER', 'INTERNAL'} <NEW_LINE> frames: bpy.props.StringProperty( name="Frames", description="Specify a range or frames... | Render image sequence in terminal instance | 6259907355399d3f05627e1a |
class TestInfoCollection(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.all_tests = [] <NEW_LINE> <DEDENT> def AddTests(self, test_infos): <NEW_LINE> <INDENT> self.all_tests = test_infos <NEW_LINE> <DEDENT> def GetAvailableTests(self, annotations, exclude_annotations, name_filter): <NEW_LINE>... | A collection of TestInfo objects which facilitates filtering. | 6259907399fddb7c1ca63a54 |
class CanceledError(AlluxioError): <NEW_LINE> <INDENT> def __init__(self, message): <NEW_LINE> <INDENT> super(CanceledError, self).__init__(Status.CANCELED, message) | Exception indicating that an operation was cancelled (typically by the caller).
Args:
message (str): The error message. | 62599073ad47b63b2c5a914f |
class Condition: <NEW_LINE> <INDENT> __sql = None <NEW_LINE> __vals = None <NEW_LINE> def __init__(self, _condition): <NEW_LINE> <INDENT> sql_s = ana_condition_sql(_condition, '') <NEW_LINE> if sql_s is None: <NEW_LINE> <INDENT> self.__sql = None <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> sql_len = len(sql_s) <NEW_L... | 数据查询条件 | 62599073fff4ab517ebcf11c |
class DeliveryColissimoBlok(Blok): <NEW_LINE> <INDENT> version = version <NEW_LINE> author = "Franck BRET" <NEW_LINE> required = ['delivery'] <NEW_LINE> @classmethod <NEW_LINE> def import_declaration_module(cls): <NEW_LINE> <INDENT> import_declaration_module() <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def reload_decl... | Delivery blok
| 6259907392d797404e3897dc |
class BackupWarn(ConfigError): <NEW_LINE> <INDENT> pass | Backup warning. | 62599073aad79263cf4300b8 |
class IUserManualType(interface.Interface): <NEW_LINE> <INDENT> pass | user manual content type | 625990732c8b7c6e89bd50e9 |
class DeleteReferencesItem(FrozenClass): <NEW_LINE> <INDENT> def __init__(self, binary=None): <NEW_LINE> <INDENT> if binary is not None: <NEW_LINE> <INDENT> self._binary_init(binary) <NEW_LINE> self._freeze = True <NEW_LINE> return <NEW_LINE> <DEDENT> self.SourceNodeId = NodeId() <NEW_LINE> self.ReferenceTypeId = NodeI... | A request to delete a node from the server address space.
:ivar SourceNodeId:
:vartype SourceNodeId: NodeId
:ivar ReferenceTypeId:
:vartype ReferenceTypeId: NodeId
:ivar IsForward:
:vartype IsForward: Boolean
:ivar TargetNodeId:
:vartype TargetNodeId: ExpandedNodeId
:ivar DeleteBidirectional:
:vartype DeleteBidirectio... | 625990737c178a314d78e86c |
class Fetcher(object): <NEW_LINE> <INDENT> def fetch(self, client, method, url, data=None, headers=None, json=True): <NEW_LINE> <INDENT> raise NotImplemented | Base class for Fetchers, which wrap and normalize the APIs of various HTTP
libraries.
(It's a slightly leaky abstraction designed to make testing easier.) | 62599073d268445f2663a7de |
class StreetLeader(models.Model): <NEW_LINE> <INDENT> clap_level = models.OneToOneField( ClapLevel, on_delete=models.CASCADE, verbose_name=_('nivel clap') ) <NEW_LINE> profile = models.OneToOneField( Profile, on_delete=models.CASCADE, verbose_name=_('perfil') ) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return '... | !
Clase que gestiona el perfil de los usuarios que pertenecen al nivel Líder de Calle
@author William Páez (wpaez at cenditel.gob.ve)
@copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> | 625990738e7ae83300eea993 |
class TestStringParameter2b(SimulationTest): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def setUpClass(cls): <NEW_LINE> <INDENT> SimulationTest.setup_class_base('StringTests.mo', 'StringTests.TestStringParameterScalar1', version="2.0") <NEW_LINE> <DEDENT> @testattr(stddist_full = True) <NEW_LINE> def setUp(self): <NEW... | Basic test of string parameter. FMI2.0. | 62599073e5267d203ee6d03e |
@python_2_unicode_compatible <NEW_LINE> class BaseLink(models.Model, TagSearchable): <NEW_LINE> <INDENT> LINK_TYPE_EXTERNAL = 1 <NEW_LINE> LINK_TYPE_EMAIL = 2 <NEW_LINE> created_at = models.DateTimeField(auto_now_add=True) <NEW_LINE> link_type = models.PositiveIntegerField(_('Link Type'), blank=True) <N... | Abstract base class that stores either a URL or an email address. | 62599073a17c0f6771d5d82c |
class Relationship(Base): <NEW_LINE> <INDENT> __tablename__ = RELATIONSHIP_TABLE_NAME <NEW_LINE> id = Column(Integer, primary_key=True) <NEW_LINE> up_regulated = Column(Boolean, nullable=False, index=True, doc='up-regulation or down-regulation') <NEW_LINE> description = Column(String(255), nullable=False, doc='This is ... | This class represents the miRNA disease relationship table | 62599073bf627c535bcb2dcf |
class LiquorViewItem(QTreeWidgetItem): <NEW_LINE> <INDENT> def __init__(self, ID: int, name: str, maker: str, category: str, sub_category: str, sub_sub_category: str, sub_sub_sub_category: str, cost: float, volume: float, alcohol_by_volume: float, aroma: str, color: str, origin: str, region: str): <NEW_LINE> <INDENT> s... | "Alcohol" class of which is displayed in the LiquorView item
Arguments:
QTreeWidgetItem {QTreeWidgetItem} -- Inherits from QTreeViewItem | 625990732c8b7c6e89bd50ea |
class IntField(BaseField): <NEW_LINE> <INDENT> def __init__(self, min_value=None, max_value=None, **kwargs): <NEW_LINE> <INDENT> self.min_value, self.max_value = min_value, max_value <NEW_LINE> super(IntField, self).__init__(**kwargs) <NEW_LINE> <DEDENT> def to_python(self, value): <NEW_LINE> <INDENT> try: <NEW_LINE> <... | 32-bit integer field. | 62599073009cb60464d02e3c |
class HeatBase(object): <NEW_LINE> <INDENT> __table_args__ = {'mysql_engine': 'InnoDB'} <NEW_LINE> __table_initialized__ = False <NEW_LINE> created_at = Column(DateTime, default=timeutils.utcnow) <NEW_LINE> updated_at = Column(DateTime, onupdate=timeutils.utcnow) <NEW_LINE> def save(self, session=None): <NEW_LINE> <IND... | Base class for Heat Models. | 62599073f9cc0f698b1c5f4c |
class ErrorMsgTest(UnitTest): <NEW_LINE> <INDENT> def test_error_message(self): <NEW_LINE> <INDENT> PyQtAccounts.ErrorWindow.exec = lambda *args: PyQtAccounts.QMessageBox.Ok <NEW_LINE> def mock_Window(): <NEW_LINE> <INDENT> raise Exception("Error message!") <NEW_LINE> <DEDENT> self.monkeypatch.setattr("PyQtAccounts.Win... | This class tests PyQtAccounts error messages. | 625990737d43ff2487428094 |
class Content(models.Model): <NEW_LINE> <INDENT> content = HtmlField("Content", widget_rows=40, blank=True) <NEW_LINE> search_fields = ("content",) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> abstract = True | Provides a HTML field for managing general content and making it searchable. | 6259907367a9b606de547725 |
class _zone(BaseCommand): <NEW_LINE> <INDENT> SHORT_HELP = "Create, retrieve, update, and delete zone SOA data" <NEW_LINE> def run(self, args): <NEW_LINE> <INDENT> self._zoneAPI = self.nsone.zones() <NEW_LINE> self._zone = args['ZONE'] <NEW_LINE> if args['list']: <NEW_LINE> <INDENT> self.list() <NEW_LINE> <DEDENT> elif... | usage: ns1 zone list
ns1 zone info ZONE
ns1 zone create ZONE [options]
ns1 zone delete [-f] ZONE
Options:
--refresh N SOA Refresh
--retry N SOA Retry
--expiry N SOA Expiry
--nx_ttl N SOA NX TTL
-f Force: override the write lock if one exists
Zone Actions:
list ... | 625990733317a56b869bf1c6 |
class svc: <NEW_LINE> <INDENT> def __init__(self, service_name, service_type): <NEW_LINE> <INDENT> self.service_name = service_name <NEW_LINE> self.service_type = service_type <NEW_LINE> self.proxy = None <NEW_LINE> self.connect() <NEW_LINE> <DEDENT> def connect(self, action = "connect"): <NEW_LINE> <INDENT> try: <NEW_... | Wrapper class for a ROS service to allow for reconnection
Currently doesn't cleanly recognise the difference between ^C having
caused a problem with the proxy call or a failure with the underlying
TCP connection | 625990738a43f66fc4bf3a98 |
class SolverFilter(admin.SimpleListFilter): <NEW_LINE> <INDENT> title = 'resuelto por' <NEW_LINE> parameter_name = 'resolver' <NEW_LINE> def lookups(self, request, model_admin): <NEW_LINE> <INDENT> return ( ('me', 'Resueltos por mi'), ) <NEW_LINE> <DEDENT> def queryset(self, request, queryset): <NEW_LINE> <INDENT> if s... | Para filtrar las AdminTask que ha resuelto el usuario que lo
solicita | 625990734e4d562566373d0a |
class PresetMonochromePianoRoll(BasePreset): <NEW_LINE> <INDENT> def first_load(self, score): <NEW_LINE> <INDENT> self.lowest_pitch, self.highest_pitch = util.get_edge_pitches(score) <NEW_LINE> self.viz_manager.screen.fill((0, 0, 255)) <NEW_LINE> <DEDENT> def per_note_on(self, screen, viz_note): <NEW_LINE> <INDENT> not... | Similar to PianoRoll, but in black-white monochrome. | 625990735fdd1c0f98e5f887 |
class Job(ProxyResource): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'created': {'readonly': True}, 'state': {'readonly': True}, 'input': {'required': True}, 'last_modified': {'readonly': True}, 'outputs': {'required': True}, } <NEW_LINE> _attri... | A Job resource type. The progress and state can be obtained by polling a
Job or subscribing to events using EventGrid.
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
:ivar id: Fully qualified resource ID for... | 6259907332920d7e50bc794b |
class Test(unittest.TestCase): <NEW_LINE> <INDENT> __test__ = False <NEW_LINE> def __init__(self, test, config=None): <NEW_LINE> <INDENT> if not hasattr(test, '__call__'): <NEW_LINE> <INDENT> raise TypeError("Test called with argument %r that " "is not callable. A callable is required." % test) <NEW_LINE> <DEDENT> self... | The universal test case wrapper.
| 625990735fc7496912d48eeb |
class Camera: <NEW_LINE> <INDENT> scale_factor = 1.0 <NEW_LINE> track_body = None <NEW_LINE> def __init__(self, parent): <NEW_LINE> <INDENT> self.parent = parent <NEW_LINE> <DEDENT> def track(self, body): <NEW_LINE> <INDENT> self.track_body = body <NEW_LINE> <DEDENT> def track_stop(self): <NEW_LINE> <INDENT> self.track... | The Camera class. We will see :)
Please also see: http://www.assembla.com/spaces/elements/tickets/31
This class currently handles:
- Scaling factor
- Screen Offset from the World Coordinate System
Inputs from the user have to be checked for them.
- Places to check for it: elements.py, drawing.py, add_objects.py | 6259907323849d37ff8529bb |
class Asset(models.Model): <NEW_LINE> <INDENT> asset_type_choices = ( ('server', '服务器'), ('networkdevice', '网络设备'), ('storagedevice', '存储设备'), ('securitydevice', '安全设备'), ('software', '软件资产'), ) <NEW_LINE> asset_status_choices = ( (0, '在线'), (1, '下线'), (2, '未知'), (3, '故障'), (4, '备用'), ) <NEW_LINE> asset_type = models.C... | 所有资产的共有数据表 | 6259907356b00c62f0fb41d4 |
class DataDefsView(DictKeyValueView): <NEW_LINE> <INDENT> column_names = ["name", "defn"] <NEW_LINE> mapstring = 1 <NEW_LINE> def relbind(self, db, atts): <NEW_LINE> <INDENT> self.dict = db.datadefs <NEW_LINE> return self | Data defs (of non-special views) and definition dumps. | 625990739c8ee82313040e09 |
class HashAuth(Auth): <NEW_LINE> <INDENT> code: str | :class:`fastapi_gen.oauth2.HashToken` 所用认证字段 | 62599073a219f33f346c810f |
class SaClmCallbacksT(Structure): <NEW_LINE> <INDENT> _fields_ = [('saClmClusterNodeGetCallback', SaClmClusterNodeGetCallbackT), ('saClmClusterTrackCallback', SaClmClusterTrackCallbackT)] | Contain various callbacks CLM service may invoke on registrant.
| 62599073fff4ab517ebcf11f |
class BASEVENUSTECH(BASETELNET): <NEW_LINE> <INDENT> pass | This is a manufacturer of venustech, using the
telnet version of the protocol, so it is integrated with BASETELNET library. | 62599073f9cc0f698b1c5f4d |
class SmarterEncoder(jsonutils.json.JSONEncoder): <NEW_LINE> <INDENT> def default(self, obj): <NEW_LINE> <INDENT> if not isinstance(obj, dict) and hasattr(obj, 'iteritems'): <NEW_LINE> <INDENT> return dict(obj.iteritems()) <NEW_LINE> <DEDENT> return super(SmarterEncoder, self).default(obj) | Help for JSON encoding dict-like objects. | 62599073aad79263cf4300bb |
class RenderGirlBlender(bpy.types.RenderEngine): <NEW_LINE> <INDENT> bl_idname = 'RenderGirl' <NEW_LINE> bl_label = 'RenderGirl' <NEW_LINE> bl_use_preview = True <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> RenderGirl.instance.session = self <NEW_LINE> <DEDENT> def __del__(self): <NEW_LINE> <INDENT> RenderGirl.in... | This class provides interface between blender UI and the RenderGirl Core | 6259907326068e7796d4e241 |
class TorrentCache: <NEW_LINE> <INDENT> def infohash_urls(self, info_hash): <NEW_LINE> <INDENT> urls = [host + info_hash.upper() + '.torrent' for host in MIRRORS] <NEW_LINE> random.shuffle(urls) <NEW_LINE> return urls <NEW_LINE> <DEDENT> @plugin.priority(120) <NEW_LINE> def on_task_urlrewrite(self, task, config): <NEW_... | Adds urls to torrent cache sites to the urls list. | 6259907399fddb7c1ca63a56 |
class SangerParser(VariantParser): <NEW_LINE> <INDENT> def __init__(self, vcf_filename, tumor_sample=None): <NEW_LINE> <INDENT> self._vcf_filename = vcf_filename <NEW_LINE> self._tumor_sample = tumor_sample <NEW_LINE> <DEDENT> def _find_ref_and_variant_nt(self, variant): <NEW_LINE> <INDENT> assert len(variant.REF) == l... | Works with PCAWG variant calls from the Sanger. | 62599073ec188e330fdfa1aa |
class Stage: <NEW_LINE> <INDENT> def __init__(self, word, prior = None): <NEW_LINE> <INDENT> self.word = word <NEW_LINE> self.prior = prior <NEW_LINE> <DEDENT> def collectTrail(self): <NEW_LINE> <INDENT> trail = [] <NEW_LINE> node = self <NEW_LINE> while node: <NEW_LINE> <INDENT> trail.insert(0, node.word) <NEW_LINE> n... | A Stage in the word ladder, recording prior word (which defaults to None). | 62599073167d2b6e312b8212 |
class ResBlock(nn.Module): <NEW_LINE> <INDENT> def __init__(self, kernel=3, num_feats=64, padding=1, bias=True, res_scale=1): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> layers = [] <NEW_LINE> layers += [nn.Conv2d(in_channels=num_feats, out_channels=num_feats, kernel_size=kernel, padding=padding, bias=bias)] <NEW... | Residual Block | 62599073e1aae11d1e7cf490 |
class GetTopTagsInputSet(InputSet): <NEW_LINE> <INDENT> def set_APIKey(self, value): <NEW_LINE> <INDENT> super(GetTopTagsInputSet, self)._set_input('APIKey', value) <NEW_LINE> <DEDENT> def set_Limit(self, value): <NEW_LINE> <INDENT> super(GetTopTagsInputSet, self)._set_input('Limit', value) <NEW_LINE> <DEDENT> def set_... | An InputSet with methods appropriate for specifying the inputs to the GetTopTags
Choreo. The InputSet object is used to specify input parameters when executing this Choreo. | 6259907316aa5153ce401dde |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.