code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class ExistingStorageAccount(StorageAccountCustomDetails): <NEW_LINE> <INDENT> _validation = { 'resource_type': {'required': True}, 'azure_storage_account_id': {'required': True}, } <NEW_LINE> _attribute_map = { 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'azure_storage_account_id': {'key': 'azureStorageAc...
Existing storage account input. All required parameters must be populated in order to send to Azure. :param resource_type: Required. The class type.Constant filled by server. :type resource_type: str :param azure_storage_account_id: Required. The storage account Arm Id. Throw error, if resource does not exists. :typ...
62598f7a63f4b57ef0085a26
class Edit_Box(): <NEW_LINE> <INDENT> @exc_handler <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.interface = file_util.get_user_interface(__file__, '../data/glade/edit_dialog.glade') <NEW_LINE> self.load_widgets() <NEW_LINE> <DEDENT> @exc_handler <NEW_LINE> def load_widgets(self): <NEW_LINE> <INDENT> self.dia...
Create graphical interface of the Edit Dialog Box.
62598f7a8a43f66fc4bf1aef
class LogDrawer(PowerAndEscapeDrawer): <NEW_LINE> <INDENT> def calc_returnval(self, iterations: float, point_val: complex) -> float: <NEW_LINE> <INDENT> n = super(LogDrawer, self).calc_returnval(iterations, point_val) <NEW_LINE> if n == 0.0: <NEW_LINE> <INDENT> return 0.0 <NEW_LINE> <DEDENT> mu = (n + 1) - (log10(log10...
Instead of just returning the iterations, calculate a smooth mu
62598f7a287bf620b6271529
class PoolCapacitySerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = PoolCapacity <NEW_LINE> fields = '__all__'
def create(self, validated_data): validated_data['pool'] = Pool.objects.get(pk=validated_data['pool']) poolCapac = PoolCapacity.objects.create(**validated_data) return poolCapac
62598f7a94891a1f408b93a8
class INyForumObjectAddEvent(Interface): <NEW_LINE> <INDENT> context = Attribute("The new forum topic or message") <NEW_LINE> contributor = Attribute("user_id of user who made the changes")
Event triggered when a forum object is added
62598f7a507cdc57c63a46fd
class MemberGroup(models.Model): <NEW_LINE> <INDENT> id = models.AutoField(primary_key=True) <NEW_LINE> members = models.ManyToManyField(Member, through="MemberShip") <NEW_LINE> group = models.ForeignKey(Group) <NEW_LINE> name = models.CharField(max_length=128, unique=True) <NEW_LINE> description = models.CharField(max...
Meber groups contains groups of member. Group and its members are in a many-to-many relationship. This model use django's auth model group.
62598f7a6e29344779afffd3
class Invalid(NeutronException): <NEW_LINE> <INDENT> def __init__(self, message=None): <NEW_LINE> <INDENT> self.message = message <NEW_LINE> super().__init__()
A generic base class for invalid errors.
62598f7a23e79379d538be6a
class Timer(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.start_time = time_now() <NEW_LINE> <DEDENT> def reset(self): <NEW_LINE> <INDENT> self.start_time = time_now() <NEW_LINE> <DEDENT> def check_timeout(self, maxtime): <NEW_LINE> <INDENT> if (time_now() - self.start_time) > maxtime: <NEW_...
Simple object to determine when we should refresh
62598f7ad99f1b3c44d0501e
class Adjunto(DeclarativeBase): <NEW_LINE> <INDENT> __tablename__ = 'Tabla_Adjunto' <NEW_LINE> idadjunto = Column(Integer, autoincrement=True, primary_key=True) <NEW_LINE> text = Column(Text, nullable=False) <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return '<Adjunto: id=%s>' % self.idadjunto <NEW_LINE> <DEDENT...
Definicion de Adjunto
62598f7abe383301e025316a
class PlayerService(BaseHandler): <NEW_LINE> <INDENT> def get_name(self, current_player): <NEW_LINE> <INDENT> result = current_player.get_name() <NEW_LINE> return result <NEW_LINE> <DEDENT> def set_player_id(self, current_player, id_num): <NEW_LINE> <INDENT> current_player.set_id(id_num) <NEW_LINE> <DEDENT> def get_pla...
This class is currently unused, but may be used in the future.
62598f7a21bff66bcd7225d8
class AgentProxyThread(threading.Thread): <NEW_LINE> <INDENT> def __init__(self, agent): <NEW_LINE> <INDENT> threading.Thread.__init__(self, target=self.run) <NEW_LINE> self._agent = agent <NEW_LINE> self._exit = False <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> (r, addr) = self.get_...
Class in charge of communication between two channels.
62598f7a4e696a045264dab9
class DrumComponent(object): <NEW_LINE> <INDENT> audio_file = None <NEW_LINE> auto_stop = True <NEW_LINE> max_power = 127 <NEW_LINE> _absolute_audio_path = None <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.audio = Audio(self.get_audio_file()) <NEW_LINE> <DEDENT> def get_audio_file(self): <NEW_LINE> <INDENT> ...
A Drum Component
62598f7aa4f1c619b294df5f
class DirsProperty(wxpg.ArrayStringProperty): <NEW_LINE> <INDENT> def __init__(self, label, name = wxpg.PG_LABEL, value=[]): <NEW_LINE> <INDENT> wxpg.ArrayStringProperty.__init__(self, label, name, value) <NEW_LINE> self.m_display = '' <NEW_LINE> self.SetAttribute("Delimiter", ',') <NEW_LINE> <DEDENT> def DoGetEditorCl...
Sample of a custom custom ArrayStringProperty. Because currently some of the C++ helpers from wxArrayStringProperty and wxProperytGrid are not available, our implementation has to quite a bit 'manually'. Which is not too bad since Python has excellent string and list manipulation facilities.
62598f7ab5575c28eb71297f
class Day(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.element_values = {}
A single day of observations
62598f7a1d351010ab8f34b2
class TestV1beta1JobList(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 testV1beta1JobList(self): <NEW_LINE> <INDENT> model = lib_openshift.models.v1beta1_job_list.V1beta1JobList()
V1beta1JobList unit test stubs
62598f7a507cdc57c63a46ff
class RaetRoadStackPrinter(deeding.Deed): <NEW_LINE> <INDENT> Ioinits = odict( inode=".raet.road.stack.", rxmsgs=odict(ipath='rxmsgs', ival=deque()),) <NEW_LINE> def action(self, **kwa): <NEW_LINE> <INDENT> rxMsgs = self.rxmsgs.value <NEW_LINE> while rxMsgs: <NEW_LINE> <INDENT> msg, name = rxMsgs.popleft() <NEW_LINE> c...
Prints out messages on rxMsgs queue for associated stack FloScript: do raet road stack printer
62598f7a73bcbd0ca4bc9bc3
class RegularCubeMesh: <NEW_LINE> <INDENT> def __init__(self,bitmap): <NEW_LINE> <INDENT> self.bitmap = asarray(bitmap,dtype='bool') <NEW_LINE> <DEDENT> def cube_array(self): <NEW_LINE> <INDENT> cubes = vstack(self.bitmap.nonzero()).transpose() <NEW_LINE> cubes = hstack((cubes,zeros((cubes.shape[0],ndim(self.bitmap)),d...
A regular grid of hypercubes. Examples: # create a 2x2 cube mesh bitmap = ones((2,2),dtype='bool') c_mesh = RegularCubeMesh(bitmap) # creates a 3x3 cube mesh with a center hole bitmap = ones((3,3),dtype='bool') bitmap[1,1] = False c_mesh = RegularCubeMesh(bitmap) # creates a 10x10x10 cube m...
62598f7a596a8972361275e6
class FakeTTY(io.StringIO): <NEW_LINE> <INDENT> def __new__(cls, encoding=None): <NEW_LINE> <INDENT> if encoding is None: <NEW_LINE> <INDENT> return super().__new__(cls) <NEW_LINE> <DEDENT> encoding = encoding <NEW_LINE> cls = type(encoding.title() + cls.__name__, (cls,), {'encoding': encoding}) <NEW_LINE> return cls._...
IOStream that fakes a TTY; provide an encoding to emulate an output stream with a specific encoding.
62598f7a6e29344779afffd5
class Geocoder: <NEW_LINE> <INDENT> def __init__(self, api_key): <NEW_LINE> <INDENT> self.gmaps = googlemaps.Client(key=api_key) <NEW_LINE> <DEDENT> def geoCode(self, direccion): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> self.result = self.gmaps.geocode(direccion) <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> prin...
Geocodificador - A partir de una direccion obtiene las coordenadas
62598f7a23e79379d538be6c
class EULong(CorusDataABC): <NEW_LINE> <INDENT> LENGTH = 5 <NEW_LINE> VALUE_TYPE = Decimal <NEW_LINE> @classmethod <NEW_LINE> def to_python(cls, in_bytes: bytes): <NEW_LINE> <INDENT> in_bytes = in_bytes + b"\x00\x00\x00" <NEW_LINE> return float_to_decimal(struct.unpack("<Q", in_bytes)[0]) <NEW_LINE> <DEDENT> def from_p...
40 bit unsigned integer
62598f7aec188e330fdf8213
class ApacheDetect(monasca_setup.detection.Plugin): <NEW_LINE> <INDENT> def _detect(self): <NEW_LINE> <INDENT> if monasca_setup.detection.find_process_cmdline(PROCESS) is not None: <NEW_LINE> <INDENT> self.available = True <NEW_LINE> <DEDENT> <DEDENT> def build_config(self): <NEW_LINE> <INDENT> log.info("\tEnabling the...
Detect Apache and setup configuration to monitor it.
62598f7a15baa723494618f4
class ExposeAcquaintanceGates(circuits.ExpandComposite): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> circuits.PointOptimizer.__init__(self) <NEW_LINE> self.extension = extension.Extensions() <NEW_LINE> self.no_decomp = lambda op: ( not get_acquaintance_size(op) or (isinstance(op, ops.GateOperation) and ...
Decomposes any permutation gates that provide acquaintance opportunities in order to make them explicit.
62598f7af7d966606f74795b
class CharacterCmdSet(default_cmds.CharacterCmdSet): <NEW_LINE> <INDENT> key = "DefaultCharacter" <NEW_LINE> def at_cmdset_creation(self): <NEW_LINE> <INDENT> super(CharacterCmdSet, self).at_cmdset_creation() <NEW_LINE> self.add(equip_commands.EquipCmdSet())
The `CharacterCmdSet` contains general in-game commands like `look`, `get`, etc available on in-game Character objects. It is merged with the `PlayerCmdSet` when a Player puppets a Character.
62598f7a16aa5153ce3ffe73
class Item_jianshu(): <NEW_LINE> <INDENT> each_page = 9 <NEW_LINE> max_page = 1 <NEW_LINE> def __init__(self, user_url): <NEW_LINE> <INDENT> self.user_url = user_url <NEW_LINE> <DEDENT> def get_category(self, page, category_info): <NEW_LINE> <INDENT> headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) A...
获取信息
62598f7ae76e3b2f99fd83a6
class JSONStringField(Field): <NEW_LINE> <INDENT> def to_internal_value(self, data): <NEW_LINE> <INDENT> return json.dumps(data) <NEW_LINE> <DEDENT> def to_representation(self, value): <NEW_LINE> <INDENT> return json.loads(value)
Store a JSON object in a TextField. When object is received store its json dump. When object is retrieved load JSON object from string representation.
62598f7adc8b845886d52f29
class ConfigOS(models.Model): <NEW_LINE> <INDENT> os = models.CharField(max_length=200, verbose_name=u'操作系统') <NEW_LINE> isActivated = models.BooleanField(verbose_name = u'是否激活') <NEW_LINE> create_date = models.DateTimeField(auto_now_add=True, verbose_name=u'创建时间') <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> ...
Config cobbler info
62598f7a66656f66f7d59d67
class Content(atom.AtomBase): <NEW_LINE> <INDENT> _tag = 'content' <NEW_LINE> _namespace = atom.ATOM_NAMESPACE <NEW_LINE> def __init__(self, text=None): <NEW_LINE> <INDENT> atom.AtomBase.__init__(self, text=text)
The Google Contacts Content element.
62598f7a287bf620b627152d
class TestIntSaleToReservation(TransactionCase): <NEW_LINE> <INDENT> def test_one_line_with_owner_reserves_its_stock(self): <NEW_LINE> <INDENT> self.sol.stock_owner_id = self.owner1 <NEW_LINE> self.so.action_button_confirm() <NEW_LINE> picking = self.so.picking_ids <NEW_LINE> picking.action_assign() <NEW_LINE> self.ass...
Integration tests of the propagation of the owner. Here we check the whole trip from the quotation line to the reservation of the stock.
62598f7a8a349b6b43685bb8
class Patron: <NEW_LINE> <INDENT> def __init__(self, patron_id, name): <NEW_LINE> <INDENT> self._patron_id = patron_id <NEW_LINE> self._name = name <NEW_LINE> self._checked_out_items = [] <NEW_LINE> self._fine_amount = 0 <NEW_LINE> <DEDENT> def get_fine_amount(self): <NEW_LINE> <INDENT> return self._fine_amount <NEW_LI...
Class for the patron with a unique ID and name. Keeps track of all patron information
62598f7a94891a1f408b93aa
class strategy: <NEW_LINE> <INDENT> def __init__(self, loss_array): <NEW_LINE> <INDENT> self.loss_array = loss_array <NEW_LINE> self.action_nb = self.loss_array.shape[0] <NEW_LINE> self.draws_nb = 0 <NEW_LINE> <DEDENT> def draw_action(self): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> def take_r...
Class presenting the general structure for a strategy
62598f7afb3f5b602db47e6b
class ClassificationResult(collections.namedtuple('Classification_Result', classif_results_varnames)): <NEW_LINE> <INDENT> pass
Namedtuple to store classification results.
62598f7a15fb5d323ce7e6a0
class NoRealtimeFileException(Exception): <NEW_LINE> <INDENT> pass
The realtime file doesn't exist, likely because the user hasn't started writing
62598f7b73bcbd0ca4bc9bc5
class EResourceOperation(InternalError): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.resource_id = kwargs.pop('resource_id', None) <NEW_LINE> super(EResourceOperation, self).__init__( resource_id=self.resource_id, **kwargs) <NEW_LINE> <DEDENT> msg_fmt = _("Failed in %(op)s %(type)s '%(id)...
Generic exception for resource fail operation. The op here can be 'recovering','rebuilding', 'checking' and so on. And the op 'creating', 'updating' and 'deleting' we can use separately class `EResourceCreation`,`EResourceUpdate` and `EResourceDeletion`. The type here is resource's driver type.It can be 'server', 'sta...
62598f7aac7a0e7691f71e8e
class Question(PolymorphicModel, TimeStampedModel): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> ordering = ['order'] <NEW_LINE> <DEDENT> order = models.PositiveIntegerField(default=1, help_text='The render order') <NEW_LINE> optional = models.BooleanField( default=False, help_text="If selected, user doesn't hav...
Represents a question.
62598f7bbde94217f3707321
class Openbabel(CMakePackage): <NEW_LINE> <INDENT> homepage = "http://openbabel.org/wiki/Main_Page" <NEW_LINE> url = "https://sourceforge.net/projects/openbabel/files/openbabel/2.4.1/openbabel-2.4.1.tar.gz" <NEW_LINE> version('2.4.1', 'd9defcd7830b0592fece4fe54a137b99') <NEW_LINE> variant('python', default=True, d...
Open Babel is a chemical toolbox designed to speak the many languages of chemical data. It's an open, collaborative project allowing anyone to search, convert, analyze, or store data from molecular modeling, chemistry, solid-state materials, biochemistry, or related areas.
62598f7bb57a9660fecd13f4
class CephArgtype(object): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def valid(self, s, partial=False): <NEW_LINE> <INDENT> self.val = s <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> a = '' <NEW_LINE> if hasattr(self, 'typeargs'): <NEW_LINE> <INDENT> a ...
Base class for all Ceph argument types Instantiating an object sets any validation parameters (allowable strings, numeric ranges, etc.). The 'valid' method validates a string against that initialized instance, throwing ArgumentError if there's a problem.
62598f7b8e71fb1e983bb42b
class AppDataDescriptor(Creator): <NEW_LINE> <INDENT> def __get__(self, instance, instance_type=None): <NEW_LINE> <INDENT> if instance is None: <NEW_LINE> <INDENT> return self <NEW_LINE> <DEDENT> value = instance.__dict__[self.field.name] <NEW_LINE> if isinstance(value, six.string_types): <NEW_LINE> <INDENT> value = js...
Ensure the user attribute is accessible via the profile
62598f7b71ff763f4b5e70e1
class FileHandler(BaseHTTPRequestHandler): <NEW_LINE> <INDENT> def do_GET(self): <NEW_LINE> <INDENT> if self.path in map( lambda x: urllib.request.pathname2url(os.path.join('/', x)), self.server.allowed_basenames ): <NEW_LINE> <INDENT> utils.logger.info(_("Peer found. Uploading...")) <NEW_LINE> full_path = os.path.join...
Custom HTTP upload handler that allows one single filename to be requested.
62598f7bb830903b9686e12c
class StochSSPermissionsError(StochSSAPIError): <NEW_LINE> <INDENT> def __init__(self, msg, trace=None): <NEW_LINE> <INDENT> super().__init__(403, "Permission Denied", msg, trace)
################################################################################################ StochSS File/Folder Not Found API Handler Error ################################################################################################
62598f7b6fece00bbaccb2fc
class SchulzeVote(models.Model): <NEW_LINE> <INDENT> sorting_position = models.IntegerField( help_text=gettext_lazy('Position in the voting (the smaller the higher the option was voted)')) <NEW_LINE> voter = models.ForeignKey( 'Voter', on_delete=models.CASCADE, help_text=gettext_lazy('The voter of this vote')) <NEW_LIN...
A vote for a schulze voting. For a given schulze poll and a voter there must exist one one vote entry for all its options. That is Each vote is associated with an option and the ranking position is stored in the vote for that option. So if you have two options "A" and "B" for a voter there must be two entries, one for...
62598f7b66673b3332c2fd3a
class DetalleIngreso(models.Model): <NEW_LINE> <INDENT> ingreso = models.ForeignKey(Ingreso) <NEW_LINE> catalogo = models.ForeignKey(CatalogoBien) <NEW_LINE> cantidad = models.IntegerField() <NEW_LINE> pendiente = models.BooleanField(default= True) <NEW_LINE> precio_unitario = models.DecimalField(decimal_places=2, max_...
Detalle de Nota de Ingreso
62598f7b63f4b57ef0085a29
class FlexRiGraphWithCartesianNACs(FlexRiGraph): <NEW_LINE> <INDENT> def _reset(self): <NEW_LINE> <INDENT> super()._reset() <NEW_LINE> self._ribbons = None <NEW_LINE> <DEDENT> def ribbons(self): <NEW_LINE> <INDENT> if self._ribbons==None: <NEW_LINE> <INDENT> V = [Set(e) for e in self.edges(labels=False)] <NEW_LINE> E =...
This class is inherited from :class:`FlexRiGraph`. Only cartesian NAC-colorings are computed. To speed this up comparing to computing all NAC-colorings followed by a check, opposite edges in a 4-cycle are forced to have the same color in NAC-colorings (by overriding :meth:`_edges_with_same_color`).
62598f7b9b70327d1c57e71d
class FlaskGroup(AppGroup): <NEW_LINE> <INDENT> def __init__(self, add_default_commands=True, create_app=None, add_version_option=True, **extra): <NEW_LINE> <INDENT> params = list(extra.pop('params', None) or ()) <NEW_LINE> if add_version_option: <NEW_LINE> <INDENT> params.append(version_option) <NEW_LINE> <DEDENT> App...
Special subclass of the :class:`AppGroup` group that supports loading more commands from the configured Flask app. Normally a developer does not have to interface with this class but there are some very advanced use cases for which it makes sense to create an instance of this. For information as of why this is useful...
62598f7bfb3f5b602db47e6c
class StopReplayBuffer(BaseRequest): <NEW_LINE> <INDENT> name = 'StopReplayBuffer' <NEW_LINE> category = 'replay buffer' <NEW_LINE> fields = [] <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> <DEDENT> def __call__(self, cb=None): <NEW_LINE> <INDENT> payload = {} <NEW_LINE> payload['requ...
Stop recording into the Replay Buffer. Will return an `error` if the Replay Buffer is not active.
62598f7bac7a0e7691f71e90
class UnknownSessionError(WinPyXSError): <NEW_LINE> <INDENT> pass
Exception raised when the xenstore session cannot be found. This can happen if something removes the session (via the WMI interface) while your program is running.
62598f7bd99f1b3c44d05024
class BaseWithImmutableKey(Base): <NEW_LINE> <INDENT> immutable_key = models.OneToOneField( ImmutableKey, editable=False, blank=True, unique=True, null=True, on_delete=models.CASCADE) <NEW_LINE> def _create_immutable_key(self): <NEW_LINE> <INDENT> if self.immutable_key: <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> el...
A timestamped model with settings access and an immutable key. The immutable_key will serve as a unique identifier for the Organization which never changes
62598f7b66673b3332c2fd3c
class UserCreationForm(forms.ModelForm): <NEW_LINE> <INDENT> bio = RichTextFormField(label=u'О себе') <NEW_LINE> password1 = forms.CharField(label='Password', widget=forms.PasswordInput) <NEW_LINE> password2 = forms.CharField(label='Password confirmation', widget=forms.PasswordInput) <NEW_LINE> class Meta: <NEW_LINE> <...
A form for creating new users. Includes all the required fields, plus a repeated password.
62598f7bbe383301e0253170
class _CommandStairs: <NEW_LINE> <INDENT> def GetResources(self): <NEW_LINE> <INDENT> return {'Pixmap' : 'Arch_Stairs', 'MenuText': QT_TRANSLATE_NOOP("Arch_Stairs","Stairs"), 'Accel': "S, R", 'ToolTip': QT_TRANSLATE_NOOP("Arch_Space","Creates a stairs object")} <NEW_LINE> <DEDENT> def IsActive(self): <NEW_LINE> <INDEN...
the Arch Stairs command definition
62598f7bd99f1b3c44d05025
class DeckCardOut(BaseModel): <NEW_LINE> <INDENT> count: int <NEW_LINE> name: str <NEW_LINE> stub: str <NEW_LINE> type: str <NEW_LINE> phoenixborn: str = None <NEW_LINE> is_legacy: bool = None
Output for cards that are included in a deck
62598f7b0fa83653e46f4868
class CBOE(TradeBar, IBaseData, IBaseDataBar, IBar): <NEW_LINE> <INDENT> def DefaultResolution(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def GetSource(self, config, date, *__args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def IsSparseData(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def Reader(self...
CBOE()
62598f7b21bff66bcd7225de
class FSMError(Exception): <NEW_LINE> <INDENT> def __init__(self, msg): <NEW_LINE> <INDENT> self.msg = msg
An exception class for StateMachine.
62598f7b4e696a045264dabc
class OrderedSet(FrozenOrderedSet, MutableSet): <NEW_LINE> <INDENT> def add(self, value): <NEW_LINE> <INDENT> self.data[value] = None <NEW_LINE> <DEDENT> def discard(self, value): <NEW_LINE> <INDENT> self.data.pop(value, None) <NEW_LINE> <DEDENT> def update(self, other): <NEW_LINE> <INDENT> self.data.update((value, Non...
A set that preserves insertion order and is mutable.
62598f7b004d5f362081ecb7
class ClassifiedsPackages(object): <NEW_LINE> <INDENT> openapi_types = { 'base_package': 'ClassifiedPackage', 'extra_packages': 'list[ClassifiedPackage]' } <NEW_LINE> attribute_map = { 'base_package': 'basePackage', 'extra_packages': 'extraPackages' } <NEW_LINE> def __init__(self, base_package=None, extra_packages=None...
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually.
62598f7bd53ae8145f917e0f
@KGTuplePredictor.register("tucker") <NEW_LINE> class TuckER(KGTuplePredictor): <NEW_LINE> <INDENT> def __init__(self, num_entities: int, num_relations: int, entity_dim: int, relation_dim: int, input_dropout: float = 0.2, hidden_dropout1: float = 0.2, hidden_dropout2: float = 0.3): <NEW_LINE> <INDENT> super().__init__(...
TuckER: Tensor Factorization for Knowledge Graph Completion https://arxiv.org/pdf/1901.09590.pdf Basic idea: link tensor can be decomposed into a smaller "core" tensor, and 3 factor matrices (where for kbc, the entity matrix is two of these factor matrices, as we are comparing the same entity items i.e pairs of them)....
62598f7bfb3f5b602db47e6d
class CouponOrderType(object): <NEW_LINE> <INDENT> GROUPON = "order_groupon" <NEW_LINE> swagger_types = { } <NEW_LINE> attribute_map = { } <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.discriminator = None <NEW_LINE> <DEDENT> def to_dict(self): <NEW_LINE> <INDENT> result = {} <NEW_LINE> for attr, _ in six.ite...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f7b507cdc57c63a4705
class SecurityDataManager(): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def get_research_data_jq(cls, security, start_date='2006-01-01', end_date=str(datetime.datetime.today()), count=100, period='1d', fields=None, skip_suspended=False, adjust_type='pre'): <NEW_LINE> <INDENT> return JqDataRetriever.get_research_data(s...
This class is the ultimate class to provide all sourcing data for TTC system
62598f7b596a8972361275ec
class StartFlowRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.Operator = None <NEW_LINE> self.FlowId = None <NEW_LINE> self.Agent = None <NEW_LINE> self.ClientToken = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> if params.get("Operator") is not N...
StartFlow请求参数结构体
62598f7bbde94217f3707323
class PluginPipingDetail(generics.RetrieveAPIView): <NEW_LINE> <INDENT> http_method_names = ['get'] <NEW_LINE> queryset = PluginPiping.objects.all() <NEW_LINE> serializer_class = PluginPipingSerializer <NEW_LINE> permission_classes = (permissions.IsAuthenticated, IsChrisOrOwnerOrNotLocked,)
A plugin piping view.
62598f7b1f5feb6acb1625b0
class Agent(object): <NEW_LINE> <INDENT> def __init__(self, world, task): <NEW_LINE> <INDENT> self.world = world <NEW_LINE> self.task = task <NEW_LINE> self.episode_reward = 0 <NEW_LINE> <DEDENT> def act(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def chooseaction(self, state): <NEW_LINE> <INDENT> pass
An agent takes actions from the action space and applies them to the world. Its knowledge comes from the states returned by the world.
62598f7b26068e7796d4c2d4
@context.configure(name="flavors", order=340) <NEW_LINE> class FlavorsGenerator(context.Context): <NEW_LINE> <INDENT> CONFIG_SCHEMA = { "type": "array", "$schema": consts.JSON_SCHEMA, "items": { "type": "object", "properties": { "name": { "type": "string", }, "ram": { "type": "integer", "minimum": 1 }, "vcpus": { "type...
Context creates a list of flavors.
62598f7bb830903b9686e12e
class revenue(Variable): <NEW_LINE> <INDENT> _return_type = "float32" <NEW_LINE> def dependencies(self): <NEW_LINE> <INDENT> return ["total_units = proposal_component.disaggregate(proposal.total_units)", "affordable_units = proposal_component.total_units * proposal_component.disaggregate(proposal.affordable_ratio)", "s...
revenue calculation for the new real estate model
62598f7b23e79379d538be73
@registries.DEVICE_TRACKER_CLUSTERS.register(general.PowerConfiguration.cluster_id) <NEW_LINE> @registries.ZIGBEE_CHANNEL_REGISTRY.register(general.PowerConfiguration.cluster_id) <NEW_LINE> class PowerConfigurationChannel(ZigbeeChannel): <NEW_LINE> <INDENT> REPORT_CONFIG = ( {"attr": "battery_voltage", "config": REPORT...
Channel for the zigbee power configuration cluster.
62598f7b10dbd63aa1c7052a
class IsAPIRequesterOrReadOnlyPermission(permissions.BasePermission): <NEW_LINE> <INDENT> def has_object_permission(self, request, view, obj): <NEW_LINE> <INDENT> if request.method in permissions.SAFE_METHODS: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> user = request.user._wrapped if ...
Anyone can view. Only original creator can update request.
62598f7bd4950a0f3b110af2
class ManualSession(Frame): <NEW_LINE> <INDENT> def __init__(self, parent, user_app): <NEW_LINE> <INDENT> Frame.__init__(self, parent) <NEW_LINE> self.parent = parent <NEW_LINE> self.config = DBConfig(self.__class__.__name__) <NEW_LINE> self.user_app = user_app <NEW_LINE> self.proc = FakeProcess() <NEW_LINE> appli.RUNN...
Window to indicate a running manual session.
62598f7bd99f1b3c44d05027
class DialectizerPlugin(plugin.PluginObject): <NEW_LINE> <INDENT> commands = None <NEW_LINE> data = None <NEW_LINE> events = None <NEW_LINE> storage = None <NEW_LINE> dialectizers = {"chef": Chef(), "fudd": Fudd(), "lower": Lower(), "off": Dialectizer(), "olde": Olde(), "reverse": Reverse(), "upper": Upper()} <NEW_LINE...
Dialectizer plugin object
62598f7be76e3b2f99fd83ac
class DataSet(object): <NEW_LINE> <INDENT> def __init__(self, data, one_hot=True, target_digit='7'): <NEW_LINE> <INDENT> self.input = 1.0 * data[:, 1:]/255 <NEW_LINE> self.label = data[:, 0] <NEW_LINE> self.one_hot = one_hot <NEW_LINE> self.target_digit = target_digit <NEW_LINE> if one_hot: <NEW_LINE> <INDENT> self.lab...
Representing train, valid or test sets Parameters ---------- data : list oneHot : bool If this flag is set, then all labels which are not `targetDigit` will be transformed to False and `targetDigit` bill be transformed to True. targetDigit : string Label of the dataset, e.g. '7'. Attributes ---------- inp...
62598f7b21bff66bcd7225e0
class GaussianDuration: <NEW_LINE> <INDENT> def __init__(self, mu, sigma, minimum_duration): <NEW_LINE> <INDENT> self.mu = mu <NEW_LINE> self.sigma = sigma <NEW_LINE> self.minimum = minimum_duration <NEW_LINE> <DEDENT> def sample(self): <NEW_LINE> <INDENT> t = numpy.random.normal(loc=self.mu, scale=self.sigma) <NEW_LIN...
Chooses duration for synthetic segments based on any of several models, independent or otherwise
62598f7ba05bb46b3848a1f6
class TestEntityinterfaceTypeApi(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.api = swagger_client.api.entityinterface_type_api.EntityinterfaceTypeApi() <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def test_entity_interface_type_by_id_get(self...
EntityinterfaceTypeApi unit test stubs
62598f7b596a8972361275ed
class LoadDriveSignalsTest(Test): <NEW_LINE> <INDENT> def __init__(self,atpFileFactory ,doTest): <NEW_LINE> <INDENT> Test.__init__( self, atpFileFactory, doTest ) <NEW_LINE> self.sectionNumber = '6.4' <NEW_LINE> <DEDENT> def __str__( self ): <NEW_LINE> <INDENT> return "%5s%s" % ( Test.__str__( self ),"LoadDrive and Si...
LoadDriveSignalsTest class, inherits from Test
62598f7bd10714528d69d849
class HttpProxy(db.Document): <NEW_LINE> <INDENT> ip = db.StringField(required=True, unique=True) <NEW_LINE> port = db.IntField(required=True) <NEW_LINE> protocol = db.StringField(default="http") <NEW_LINE> ptype = db.StringField(default="transparent") <NEW_LINE> times = db.IntField(default=0) <NEW_LINE> survival = db....
代理-http代理数据库 默认协议为http, 代理类型为透明,
62598f7b0383005118f6d07c
class FeatureNew(FeatureCheckBase): <NEW_LINE> <INDENT> feature_registry = {} <NEW_LINE> @staticmethod <NEW_LINE> def check_version(target_version: str, feature_version: str) -> bool: <NEW_LINE> <INDENT> return mesonlib.version_compare_condition_with_min(target_version, feature_version) <NEW_LINE> <DEDENT> @staticmetho...
Checks for new features
62598f7bb5575c28eb712983
class EnvNotReadyYetException(SKTBaseException): <NEW_LINE> <INDENT> pass
Env is not ready yet
62598f7b8a349b6b43685bbe
class BastionHost(Resource): <NEW_LINE> <INDENT> _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type...
Bastion Host resource. Variables are only populated by the server, and will be ignored when sending a request. :param id: Resource ID. :type id: str :ivar name: Resource name. :vartype name: str :ivar type: Resource type. :vartype type: str :param location: Resource location. :type location: str :param tags: A set of...
62598f7b6aa9bd52df0d4853
class StoplistNormalizer(FileAssistedNormalizer): <NEW_LINE> <INDENT> stoplist = {} <NEW_LINE> _possiblePaths = { 'stoplist': { 'docs': ("Path to file containing set of stop terms, one term " "per line."), 'required': True } } <NEW_LINE> def __init__(self, session, config, parent): <NEW_LINE> <INDENT> FileAssistedNorma...
Normalizer to remove words that occur in a stopword list.
62598f7b07d97122c421661d
class Email(db.Model): <NEW_LINE> <INDENT> __tablename__ = 'email' <NEW_LINE> email = db.Column(db.String(240), primary_key=True) <NEW_LINE> contributor_login = db.Column( db.String(240), ForeignKey('contributor.login'), index=True, ) <NEW_LINE> contributor = db.relationship("Contributor", back_populates="emails") <NEW...
Email model.
62598f7bb57a9660fecd13fa
class Word(Lexeme): <NEW_LINE> <INDENT> def __init__(self, textString): <NEW_LINE> <INDENT> Lexeme.__init__(self, textString) <NEW_LINE> <DEDENT> def type(self): <NEW_LINE> <INDENT> return "word" <NEW_LINE> <DEDENT> def is_valid(self): <NEW_LINE> <INDENT> letters = 0 <NEW_LINE> numbers = 0 <NEW_LINE> apostrophes = 0 <N...
Word is an instance of the abstract Lexeme
62598f7b0a366e3fb87dc346
class UpnpContentError(UpnpError): <NEW_LINE> <INDENT> pass
Content of UPnP response is invalid.
62598f7b96565a6dacd2cc38
class updateBuddyProfileRichMenuAsync_result(object): <NEW_LINE> <INDENT> def __init__(self, success=None, e=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LINE> self.e = e <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CR...
Attributes: - success - e
62598f7b82261d6c5272fb91
class User(Model): <NEW_LINE> <INDENT> username = String() <NEW_LINE> password = String() <NEW_LINE> salt = String() <NEW_LINE> group = HasOne("auth.Group") <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return "<user id={}, name={}>".format(self.id, repr(self.username)) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE>...
A user model, which stores authentication informations.
62598f7b23e79379d538be75
class Poly(object): <NEW_LINE> <INDENT> def __init__(self, reg_file): <NEW_LINE> <INDENT> with open(reg_file, 'r') as f: <NEW_LINE> <INDENT> ds9_poly_reg = f.readlines()[-1] <NEW_LINE> <DEDENT> coords_start = ds9_poly_reg.find("(") + 1 <NEW_LINE> coords_end = ds9_poly_reg.find(")") <NEW_LINE> coords_def = ds9_poly_reg[...
Polygon region that traces the 3-sigma contour level around a radio relic. The object is created from a DS9 region file saved in J2000 coordinates (degrees).
62598f7b15baa723494618fc
class IndexLocation(int): <NEW_LINE> <INDENT> def __new__(cls, value, found): <NEW_LINE> <INDENT> result = int.__new__(cls, value) <NEW_LINE> result.found = found <NEW_LINE> return result <NEW_LINE> <DEDENT> def __bool__(self): <NEW_LINE> <INDENT> return self.found
Represents the index where the match criteria is if True, or would be if False Used by Index.index_search
62598f7bd164cc61758208f2
class DICOMSendDialog(qt.QDialog): <NEW_LINE> <INDENT> def __init__(self, files, parent="mainWindow"): <NEW_LINE> <INDENT> super(DICOMSendDialog, self).__init__(slicer.util.mainWindow() if parent == "mainWindow" else parent) <NEW_LINE> self.setWindowTitle('Send DICOM Study') <NEW_LINE> self.setWindowModality(1) <NEW_LI...
Implement the Qt dialog for doing a DICOM Send (storage SCU)
62598f7be76e3b2f99fd83ae
class C3600(Router): <NEW_LINE> <INDENT> def __init__(self, module, server, project, chassis="3640"): <NEW_LINE> <INDENT> super().__init__(module, server, project, platform="c3600") <NEW_LINE> c3600_settings = {"ram": 192, "nvram": 128, "disk0": 0, "disk1": 0, "chassis": chassis, "iomem": 5, "clock_divisor": 4} <NEW_LI...
Dynamips c3600 router. :param module: parent module for this node :param server: GNS3 server instance :param project: Project instance
62598f7b4e696a045264dabe
class UserProfile(AbstractBaseUser, PermissionsMixin): <NEW_LINE> <INDENT> email = models.EmailField(max_length=255, unique=True) <NEW_LINE> name = models.CharField(max_length=255) <NEW_LINE> is_active = models.BooleanField(default=True) <NEW_LINE> is_staff = models.BooleanField(default=False) <NEW_LINE> objects = User...
Represents a 'user profile' inside the system. Stores all user account related data, such as 'email address' and 'name'
62598f7b30c21e258be98185
class ComplexCircle(Manifold): <NEW_LINE> <INDENT> def __init__(self, n=1): <NEW_LINE> <INDENT> if n == 1: <NEW_LINE> <INDENT> self._name = "Complex circle S^1" <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self._name = "Complex circle (S^1)^{:d}".format(n) <NEW_LINE> <DEDENT> self._n = n <NEW_LINE> <DEDENT> def __str_...
The manifold of complex numbers with unit-modulus. Description of vectors z in C^n (complex) such that each component z(i) has unit modulus. The manifold structure is the Riemannian submanifold structure from the embedding space R^2 x ... x R^2, i.e., the complex circle is identified with the unit circle in the real p...
62598f7b50485f2cf55da8ed
class Paragraph: <NEW_LINE> <INDENT> def __init__(self, paragraphUno, conversionSettings: ConversionSettings): <NEW_LINE> <INDENT> self._uno = paragraphUno <NEW_LINE> self._namedStyle = conversionSettings.getMappedStyle(paragraphUno.ParaStyleName) <NEW_LINE> self._portions = [] <NEW_LINE> <DEDENT> def __str__(self) -> ...
Wrapper for Office's Paragraph UNO object. Merges TextPortions with identical CharProperties upon addition of new portions
62598f7bdc8b845886d52f31
class ToolBoxWheeler(QObject): <NEW_LINE> <INDENT> def __init__(self, toolbox): <NEW_LINE> <INDENT> super(ToolBoxWheeler, self).__init__(toolbox) <NEW_LINE> self._wheeldelta = 0 <NEW_LINE> toolbox.installEventFilter(self) <NEW_LINE> <DEDENT> def eventFilter(self, toolbox, ev): <NEW_LINE> <INDENT> if ev.type() == QEvent...
Pages through a QToolBox using the mouse wheel.
62598f7b7b25080760ed6e1f
class SenecDataUpdateCoordinator(DataUpdateCoordinator): <NEW_LINE> <INDENT> def __init__(self, hass, session, entry): <NEW_LINE> <INDENT> self._host = entry.data[CONF_HOST] <NEW_LINE> self.senec = Senec(self._host, websession=session) <NEW_LINE> self.name = entry.title <NEW_LINE> super().__init__( hass, _LOGGER, name=...
Define an object to hold Senec data.
62598f7b23849d37ff850a39
class CountrySmsRate(db.Model): <NEW_LINE> <INDENT> __tablename__ = 'country_sms_rate' <NEW_LINE> country_cd = db.Column(db.String(2), primary_key=True) <NEW_LINE> prefix = db.Column(db.String(5), primary_key=True) <NEW_LINE> country_name = db.Column(db.String(40)) <NEW_LINE> base_rate = db.Column(db.Float) <NEW_LINE> ...
System rate model
62598f7bbe8e80087fbbe9df
@override_settings(ROOT_URLCONF="vega_admin.contrib.users.urls", VEGA_TEMPLATE="basic") <NEW_LINE> class TestViews(TestCase): <NEW_LINE> <INDENT> def test_changepassword(self): <NEW_LINE> <INDENT> user = mommy.make("auth.User", username="TestChangePasswordView") <NEW_LINE> data = { "password1": "Extension-I-School-5", ...
Test class for vega_admin.contrib.users.views
62598f7bb5575c28eb712984
class Action(IntEnum): <NEW_LINE> <INDENT> LEFT = 0 <NEW_LINE> RIGHT = 1 <NEW_LINE> DOWN = 2 <NEW_LINE> UP = 3 <NEW_LINE> @classmethod <NEW_LINE> def size(self): <NEW_LINE> <INDENT> return len(self)
Class that represents the action space
62598f7b50485f2cf55da8ee
class KaldiDataType(Enum): <NEW_LINE> <INDENT> BaseVector = "bv" <NEW_LINE> DoubleVector = "dv" <NEW_LINE> FloatVector = "fv" <NEW_LINE> BaseMatrix = "bm" <NEW_LINE> DoubleMatrix = "dm" <NEW_LINE> FloatMatrix = "fm" <NEW_LINE> WaveMatrix = "wm" <NEW_LINE> Token = "t" <NEW_LINE> TokenVector = "tv" <NEW_LINE> Int32 = "i"...
Enumerates the data types stored and retrieved by Kaldi I/O This enumerable lists the types of data written and read to various readers and writers. It is used in the factory method :func:`pydrobert.kaldi.io.open` to dictate the subclass created. Notes ----- The "base float" mentioned in this documentation is the sam...
62598f7b76d4e153a661c58e
class RequireJSONFormatter(logging.Handler): <NEW_LINE> <INDENT> def setFormatter(self, fmt): <NEW_LINE> <INDENT> if not isinstance(fmt, JSONFormatter): <NEW_LINE> <INDENT> raise TypeError("%s requires a JSONFormatter" % self.__class__.__name__) <NEW_LINE> <DEDENT> self.formatter = fmt
Mixin class to require a Handler be configured with a JSONFormmater
62598f7ba4f1c619b294df6a
class TxIsolationWarning(UserWarning): <NEW_LINE> <INDENT> pass
Warning emitted if the transaction isolation level is suboptimal.
62598f7b73bcbd0ca4bc9bcd
class Vec2DotTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def test_vec2_getitem(self): <NEW_LINE> <INDENT> a = Vec2(2, 3) <NEW_LINE> b = Vec2(1, 4) <NEW_LINE> result = a.dot(b) <NEW_LINE> self.assertEqual(result, 14)
Ensure Vec2.dot returns the dot product.
62598f7b596a8972361275f0
class TestCompareXLSXFiles(base_test_class.XLSXBaseTest): <NEW_LINE> <INDENT> def test_chart_drop_lines01(self): <NEW_LINE> <INDENT> self.run_exe_test('test_chart_drop_lines01') <NEW_LINE> <DEDENT> def test_chart_drop_lines02(self): <NEW_LINE> <INDENT> self.run_exe_test('test_chart_drop_lines02') <NEW_LINE> <DEDENT> de...
Test file created with libxlsxwriter against a file created by Excel.
62598f7b15fb5d323ce7e6a8
class RatesTemplate(StatesRatesCommon): <NEW_LINE> <INDENT> _rate_vars_zero = Instance(dict) <NEW_LINE> _vartype = "R" <NEW_LINE> def __init__(self, kiosk=None, publish=None): <NEW_LINE> <INDENT> StatesRatesCommon.__init__(self, kiosk, publish) <NEW_LINE> self._rate_vars_zero = self._find_rate_zero_values() <NEW_LINE> ...
Takes care of registering variables in the kiosk and monitoring assignments to variables that are published. :param kiosk: Instance of the VariableKiosk class. All rate variables will be registered in the kiosk in order to enfore that variable names are unique across the model. Moreover, the value of varia...
62598f7b23e79379d538be76
class ClientsTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> from DIRAC import gLogger <NEW_LINE> gLogger.setLevel("DEBUG") <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass
Base class for the clients test cases
62598f7b8e71fb1e983bb433
class EntropyLoss(nn.Module): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(EntropyLoss, self).__init__() <NEW_LINE> <DEDENT> def forward(self, x): <NEW_LINE> <INDENT> b = F.softmax(x, dim=1) * F.log_softmax(x, dim=1) <NEW_LINE> b = -1.0 * b.sum(-1).mean() <NEW_LINE> return b
Module to compute entropy loss
62598f7b507cdc57c63a4709
class E3DstHeaderChain(E3Chain, E3TreePlotter): <NEW_LINE> <INDENT> TREE_NAME = 'Header' <NEW_LINE> ALIAS_DICT = {'RunCenter': '0.5*(RunStart + RunStop)', 'AverageRate': 'NumEvents/RunDuration'} <NEW_LINE> def __init__(self, *fileList): <NEW_LINE> <INDENT> E3Chain.__init__(self, self.TREE_NAME, *fileList) <NEW_LINE> E3...
Small wrapper around the TChain class specialized for the Trending DST tree.
62598f7bb830903b9686e130