code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class DockerComposeInformation(DockerInformation): <NEW_LINE> <INDENT> SCHEMA: Dict[Tuple[str, ...], Tuple[str, ...]] = { ("compose", "project"): ("Config", "Labels", "com.docker.compose.project"), ("compose", "service"): ("Config", "Labels", "com.docker.compose.service"), ("compose", "container-number"): ("Config", "L... | Add information about the flask app and configuration | 62598faa4f6381625f199481 |
class NodeFinder(object): <NEW_LINE> <INDENT> def __init__(self, matcher, limit=0): <NEW_LINE> <INDENT> self.matcher = matcher <NEW_LINE> self.limit = limit <NEW_LINE> <DEDENT> def find(self, node, list): <NEW_LINE> <INDENT> if self.matcher.match(node): <NEW_LINE> <INDENT> list.append(node) <NEW_LINE> self.limit -= 1 <... | Find nodes based on flexable criteria. The I{matcher} is
may be any object that implements a match(n) method.
@ivar matcher: An object used as criteria for match.
@type matcher: I{any}.match(n)
@ivar limit: Limit the number of matches. 0=unlimited.
@type limit: int | 62598faaa219f33f346c679c |
class ScratchWriteTests(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> ds = Dataset() <NEW_LINE> ds.PatientName = "Name^Patient" <NEW_LINE> subitem1 = Dataset() <NEW_LINE> subitem1.ContourNumber = 1 <NEW_LINE> subitem1.ContourData = ['2', '4', '8', '16'] <NEW_LINE> subitem2 = Dataset() <NE... | Simple dataset from scratch, written in all endian/VR combinations | 62598faae5267d203ee6b890 |
class degrade_kanungo(PluginFunction): <NEW_LINE> <INDENT> self_type = ImageType([ONEBIT]) <NEW_LINE> args = Args([Float('eta', range=(0.0,1.0)), Float('a0', range=(0.0,1.0)), Float('a'), Float('b0', range=(0.0,1.0)), Float('b'), Int('k', default=2), Int('random_seed', default=0)]) <NEW_LINE> return_type = ImageType([O... | Degrades an image due to a scheme proposed by Kanungo et al.
(see the reference below). This is supposed to emulate image defects
introduced through printing and scanning.
The degradation scheme depends on six parameters *(eta,a0,a,b0,b,k)* with
the following meaning:
- each foreground pixel (black) is flipped with... | 62598faa99cbb53fe6830e5d |
class IndLine(LinePlot): <NEW_LINE> <INDENT> def __init__(self, input_data, metabolite, display): <NEW_LINE> <INDENT> super().__init__(input_data, metabolite, display) <NEW_LINE> if "Replicates" not in self.data.index.names: <NEW_LINE> <INDENT> raise IndexError("Replicates column not found in index") <NEW_LINE> <DEDENT... | Class to generate lineplots from kinetic data. Each plot is specific to one condition and displays each replicate
in a separate line. | 62598faa63d6d428bbee2731 |
class Connect: <NEW_LINE> <INDENT> def __init__(self, host, user, password, db): <NEW_LINE> <INDENT> self.host = host <NEW_LINE> self.user = user <NEW_LINE> self.password = password <NEW_LINE> self.db = db <NEW_LINE> <DEDENT> def add_to_db(self, table_name, *args): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> self.conn... | Making DataBase with MySQL. | 62598faa60cbc95b063642d4 |
class IPv4Address(_BaseV4, _BaseAddress): <NEW_LINE> <INDENT> def __init__(self, address): <NEW_LINE> <INDENT> _BaseAddress.__init__(self, address) <NEW_LINE> _BaseV4.__init__(self, address) <NEW_LINE> if isinstance(address, int): <NEW_LINE> <INDENT> self._ip = address <NEW_LINE> if address < 0 or address > self._ALL_O... | Represent and manipulate single IPv4 Addresses. | 62598faab7558d58954635af |
class TestFileFinderOSHomedir(TestFileFinderOSLinuxDarwin): <NEW_LINE> <INDENT> platforms = ["linux", "darwin", "windows"] <NEW_LINE> download = rdfvalue.FileFinderDownloadActionOptions() <NEW_LINE> action = rdfvalue.FileFinderAction( action_type=rdfvalue.FileFinderAction.Action.STAT) <NEW_LINE> output_path = "/analysi... | List files in homedir with FileFinder.
Exercise globbing and interpolation. | 62598faa55399d3f056264aa |
class Actor(nn.Module): <NEW_LINE> <INDENT> def __init__(self, state_size, action_size, seed, fc_units=256): <NEW_LINE> <INDENT> super(Actor, self).__init__() <NEW_LINE> self.seed = torch.manual_seed(seed) <NEW_LINE> self.fc1 = nn.Linear(state_size, fc_units) <NEW_LINE> self.fc2 = nn.Linear(fc_units, action_size) <NEW_... | Actor (Policy) Model. | 62598faaa8370b77170f0361 |
class Markov(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass | Implements Markov Filter (a Parametric Filter) | 62598faa851cf427c66b8243 |
@gin.configurable <NEW_LINE> class PerStepSwitchPolicy(Policy): <NEW_LINE> <INDENT> def __init__(self, explore_policy_class, greedy_policy_class): <NEW_LINE> <INDENT> super(PerStepSwitchPolicy, self).__init__() <NEW_LINE> self._explore_policy = explore_policy_class() <NEW_LINE> self._greedy_policy = greedy_policy_class... | Interpolates between an exploration policy and a greedy policy.
A typical use case would be a scripted policy used to get some reasonable
amount of random successes, and a greedy policy that is learned.
Each of the exploration and greedy policies can still perform their own
exploration actions after being selected by... | 62598faad58c6744b42dc299 |
class EventCaller: <NEW_LINE> <INDENT> def __init__(self, func, apply_func): <NEW_LINE> <INDENT> self.func = func <NEW_LINE> self.apply_func = apply_func <NEW_LINE> <DEDENT> def __call__(self, *args, **kwargs): <NEW_LINE> <INDENT> return self.func(*args, **kwargs) | For now, this is just a wrapper to also store the apply_func. This should
live somewhere else eventually. | 62598faa76e4537e8c3ef533 |
class OrderView(APIView): <NEW_LINE> <INDENT> def get(self, request, *args, **kwargs): <NEW_LINE> <INDENT> ret = {'code': 1000, 'msg': None, 'data': None} <NEW_LINE> try: <NEW_LINE> <INDENT> ret['data'] = 'authenticate ok' <NEW_LINE> <DEDENT> except Exception as e: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> return Js... | 订单相关业务 | 62598faaa8370b77170f0362 |
class AdminManager(Manager): <NEW_LINE> <INDENT> def __init__(self, interface='json', service=None): <NEW_LINE> <INDENT> super(AdminManager, self).__init__(CONF.identity.admin_username, CONF.identity.admin_password, CONF.identity.admin_tenant_name, interface=interface, service=service) | Manager object that uses the admin credentials for its
managed client objects | 62598faafff4ab517ebcd76b |
class ELU(Module): <NEW_LINE> <INDENT> def __init__(self, alpha=1., inplace=False): <NEW_LINE> <INDENT> super(ELU, self).__init__() <NEW_LINE> self.alpha = alpha <NEW_LINE> self.inplace = inplace <NEW_LINE> <DEDENT> def forward(self, input): <NEW_LINE> <INDENT> return F.elu(input, self.alpha, self.inplace) <NEW_LINE> <... | Applies element-wise,
:math:`\text{ELU}(x) = \max(0,x) + \min(0, \alpha * (\exp(x) - 1))`
Args:
alpha: the :math:`\alpha` value for the ELU formulation. Default: 1.0
inplace: can optionally do the operation in-place. Default: ``False``
Shape:
- Input: :math:`(N, *)` where `*` means, any number of addition... | 62598faa236d856c2adc9400 |
class DecisionTreeModel(JavaModelWrapper): <NEW_LINE> <INDENT> def predict(self, x): <NEW_LINE> <INDENT> if isinstance(x, RDD): <NEW_LINE> <INDENT> return self.call("predict", x.map(_convert_to_vector)) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> return self.call("predict", _convert_to_vector(x)) <NEW_LINE> <DEDENT> ... | .. note:: Experimental
A decision tree model for classification or regression. | 62598faae76e3b2f99fd89bd |
class add_callbacks: <NEW_LINE> <INDENT> def __init__(self, *callbacks): <NEW_LINE> <INDENT> self.callbacks = [normalize_callback(c) for c in callbacks] <NEW_LINE> Callback.active.update(self.callbacks) <NEW_LINE> <DEDENT> def __enter__(self): <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> def __exit__(self, type, valu... | Context manager for callbacks.
Takes several callbacks and applies them only in the enclosed context.
Callbacks can either be represented as a ``Callback`` object, or as a tuple
of length 4.
Examples
--------
>>> def pretask(key, dsk, state):
... print("Now running {0}").format(key)
>>> callbacks = (None, pretask... | 62598faacc0a2c111447af97 |
class SudokuMatrixError (Exception): <NEW_LINE> <INDENT> pass | Sudoku matrix exception handler; | 62598faacb5e8a47e493c13c |
class ExchangeRatesProviderServicer(object): <NEW_LINE> <INDENT> def subscribe(self, request, context): <NEW_LINE> <INDENT> context.set_code(grpc.StatusCode.UNIMPLEMENTED) <NEW_LINE> context.set_details('Method not implemented!') <NEW_LINE> raise NotImplementedError('Method not implemented!') | The exchange rate service definition.
| 62598faaf9cc0f698b1c528c |
class NetBoxConfluenceField(models.Model): <NEW_LINE> <INDENT> TYPE_CHOICES = ((name, the_class.verbose_name) for name, the_class in ABCLinkedFieldMeta.linked_field_classes.items()) <NEW_LINE> model_name = models.CharField(max_length=255, verbose_name='Model Name', help_text="Model Name") <NEW_LINE> field_type = models... | Represents fields that should be synchronized/updated when they are edited on NetBox. | 62598faa6aa9bd52df0d4e50 |
class CBWidth(SCPINode, SCPIQuery, SCPISet): <NEW_LINE> <INDENT> __slots__ = () <NEW_LINE> _cmd = "CBWidth" <NEW_LINE> args = ["1"] | SOURce:RADio:ARB:NOISe:CBWidth
Arguments: 1 | 62598faa4f6381625f199482 |
class UserProfileInfoForm(forms.ModelForm): <NEW_LINE> <INDENT> class Meta(): <NEW_LINE> <INDENT> model = UserProfileInfo <NEW_LINE> fields = ('portfolio_site', 'profile_pic') | docstring for UserProfileInfo. | 62598faa2ae34c7f260ab069 |
class BRCPFField(CharField): <NEW_LINE> <INDENT> description = _("CPF Document") <NEW_LINE> default_error_messages = { 'invalid': _("Invalid CPF number."), 'max_digits': _("This field requires at most 11 digits or 14 characters."), } <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> kwargs['max_length... | A model field for the brazilian document named of CPF (Cadastro de Pessoa Física)
.. versionadded:: 2.2 | 62598faa4527f215b58e9e69 |
class Spy(object): <NEW_LINE> <INDENT> def set_params(self, model, session): <NEW_LINE> <INDENT> self.model = model <NEW_LINE> self.session = session <NEW_LINE> <DEDENT> def on_fit_begin(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def on_epoch_begin(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def on_tra... | Monitors model training. | 62598faaa79ad16197769fed |
class vGeo(object): <NEW_LINE> <INDENT> def __init__(self, geo): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> latitude, longitude = (geo[0], geo[1]) <NEW_LINE> latitude = float(latitude) <NEW_LINE> longitude = float(longitude) <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> raise ValueError('Input must be (float, float... | A special type that is only indirectly defined in the rfc.
| 62598fab435de62698e9bd7e |
@six.python_2_unicode_compatible <NEW_LINE> class PerforceObject(object): <NEW_LINE> <INDENT> def __init__(self, connection=None): <NEW_LINE> <INDENT> self._connection = connection or Connection() <NEW_LINE> self._p4dict = {} <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return self.__unicode__() <NEW_LINE... | Abstract class for dealing with the dictionaries coming back from p4 commands
This is a simple descriptor for the incoming P4Dict | 62598fab5fcc89381b266110 |
class ParametricSweepTaskFactory(TaskFactoryBase): <NEW_LINE> <INDENT> _validation = { 'type': {'required': True}, 'parameter_sets': {'required': True, 'min_items': 1}, 'repeat_task': {'required': True} } <NEW_LINE> _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, 'parameter_sets': {'key': 'parameterSets', 't... | A Task Factory for generating a set of tasks based on one or more parameter
sets to define a numeric input range. Each parameter set will have a start, end
and step value. A task will be generated for each integer in this range. Multiple
parameter sets can be combined for a multi-dimensional sweep.
... | 62598fabbe8e80087fbbefeb |
class Button: <NEW_LINE> <INDENT> def __init__(self, win, center, width, height, label): <NEW_LINE> <INDENT> w,h = width/2.0, height/2.0 <NEW_LINE> x,y = center.getX(), center.getY() <NEW_LINE> self.xmax, self.xmin = x+w, x-w <NEW_LINE> self.ymax, self.ymin = y+h, y-h <NEW_LINE> p1 = Point(self.xmin, self.ymin) <NEW_LI... | A button is a labeled rectangle in a window.
It is activated or deactivated with the activate()
and deactivate() methods. The clicked(p) method
returns true if the button is active and p is inside it. | 62598fab45492302aabfc459 |
class MemberDetail(DetailView): <NEW_LINE> <INDENT> context_object_name = 'usr' <NEW_LINE> model = User <NEW_LINE> template_name = 'member/profile.html' <NEW_LINE> def get_object(self, queryset=None): <NEW_LINE> <INDENT> return get_object_or_404(User, username=urlunquote(self.kwargs['user_name'])) <NEW_LINE> <DEDENT> d... | Displays details about a profile. | 62598fab2c8b7c6e89bd374d |
class Comment(models.Model): <NEW_LINE> <INDENT> article = models.ForeignKey(Article, on_delete=models.CASCADE, related_name="article_comments") <NEW_LINE> user = models.ForeignKey(User, on_delete=models.CASCADE, related_name="user_comments") <NEW_LINE> comment = models.CharField(max_length=300) <NEW_LINE> time = model... | Creates Comments model | 62598fab851cf427c66b8245 |
class Bootstrap4Tab(CMSPlugin): <NEW_LINE> <INDENT> template = models.CharField( verbose_name=_('Template'), choices=TAB_TEMPLATE_CHOICES, default=TAB_TEMPLATE_CHOICES[0][0], max_length=255, help_text=_('This is the template that will be used for the component.'), ) <NEW_LINE> tab_type = models.CharField( verbose_name=... | Components > "Navs - Tab" Plugin
https://getbootstrap.com/docs/4.0/components/navs/ | 62598fab10dbd63aa1c70b3b |
class ViewBuilder(common.ViewBuilder): <NEW_LINE> <INDENT> _collection_name = 'share_server_migration' <NEW_LINE> _detail_version_modifiers = [] <NEW_LINE> def get_progress(self, request, params): <NEW_LINE> <INDENT> result = { 'total_progress': params['total_progress'], 'task_state': params['task_state'], 'destination... | Model share server migration view data response as a python dictionary.
| 62598faba17c0f6771d5c1bd |
class Parse(object): <NEW_LINE> <INDENT> def __init__(self, project): <NEW_LINE> <INDENT> self.project = project <NEW_LINE> <DEDENT> def __call__(self, config_files=None, dictionary=None): <NEW_LINE> <INDENT> config_files = self._config_files(config_files) <NEW_LINE> parser = configparser.ConfigParser() <NEW_LINE> self... | Object used to load and parse config files
| 62598fab66656f66f7d5a379 |
class Paginator(object): <NEW_LINE> <INDENT> def __init__(self, query, page=1, per_page=DEFAULT_PER_PAGE, total=None): <NEW_LINE> <INDENT> self.query = query <NEW_LINE> assert isinstance(per_page, int) and (per_page > 0), '`per_page` must be a positive integer' <NEW_LINE> self.per_page = per_page <NEW_LINE> ... | Helper class to paginate data.
You can construct it from any SQLAlchemy query object or other iterable. | 62598fabfff4ab517ebcd76d |
class GoogleDirectionsFinder(DirectionsFinder, APIRequest): <NEW_LINE> <INDENT> def __init__(self, cfg): <NEW_LINE> <INDENT> DirectionsFinder.__init__(self) <NEW_LINE> APIRequest.__init__(self, cfg, 'google-directions', 'Google directions query') <NEW_LINE> self.directions_url = 'https://maps.googleapis.com/maps/api/di... | Transit direction finder using the Google Maps query engine. | 62598fab92d797404e388b29 |
class TernausNetV2(nn.Module): <NEW_LINE> <INDENT> def __init__(self, num_classes=1, num_filters=32, is_deconv=False, num_input_channels=11, **kwargs): <NEW_LINE> <INDENT> super(TernausNetV2, self).__init__() <NEW_LINE> if 'norm_act' not in kwargs: <NEW_LINE> <INDENT> norm_act = ABN <NEW_LINE> <DEDENT> else: <NEW_LINE>... | Variation of the UNet architecture with InplaceABN encoder. | 62598fab4e4d5625663723ae |
class TripForm(FlaskForm): <NEW_LINE> <INDENT> departure = StringField( 'Departure', validators=[ DataRequired(), ] ) <NEW_LINE> departure_id = HiddenField( validators=[ DataRequired() ] ) <NEW_LINE> arrival = StringField( 'Arrival', validators=[ DataRequired(), ] ) <NEW_LINE> arrival_id = HiddenField( validators=[ Dat... | Trip form. | 62598fabcc0a2c111447af99 |
class wrapumerate(object): <NEW_LINE> <INDENT> def __init__(self, stream): <NEW_LINE> <INDENT> self._exhausted = False <NEW_LINE> self._lineno = False <NEW_LINE> self._line = False <NEW_LINE> self._iter = enumerate(stream) <NEW_LINE> <DEDENT> def next(self): <NEW_LINE> <INDENT> if self._exhausted: <NEW_LINE> <INDENT> r... | Enumerate wrapper that uses boolean end of stream status instead of
StopIteration exception, and properties to access line information. | 62598fab4428ac0f6e6584ad |
class ConfigEntryNetatmoAuth(pyatmo.auth.NetatmOAuth2): <NEW_LINE> <INDENT> def __init__( self, hass: core.HomeAssistant, config_entry: config_entries.ConfigEntry, implementation: config_entry_oauth2_flow.AbstractOAuth2Implementation, ): <NEW_LINE> <INDENT> self.hass = hass <NEW_LINE> self.session = config_entry_oauth2... | Provide Netatmo authentication tied to an OAuth2 based config entry. | 62598fabcb5e8a47e493c13d |
class DepthCamera(AbstractDepthCamera): <NEW_LINE> <INDENT> _name = "Depth (XYZ) camera" <NEW_LINE> _short_desc = "A camera capturing 3D points cloud" <NEW_LINE> add_data('points', 'none', 'memoryview', "List of 3D points from the depth " "camera. memoryview of a set of float(x,y,z). The data is of size " "``(nb_points... | This sensor generates a 3D point cloud from the camera perspective.
See also :doc:`../sensors/camera` for generic informations about Morse cameras. | 62598fab7047854f4633f363 |
class EventListener(object): <NEW_LINE> <INDENT> pass | Fake ``EventListener`` class. Currently no functionality implemented. | 62598fab2ae34c7f260ab06b |
class CoroBuilder(type): <NEW_LINE> <INDENT> def __new__(cls, clsname, bases, dct, **kwargs): <NEW_LINE> <INDENT> coro_list = dct.get('coroutines', []) <NEW_LINE> existing_coros = set() <NEW_LINE> def find_existing_coros(d): <NEW_LINE> <INDENT> for attr in d: <NEW_LINE> <INDENT> if attr.startswith("coro_") or attr.star... | Metaclass for adding coroutines to a class.
This metaclass has two main roles:
1) Make _ExecutorMixin a parent of the given class
2) For every function name listed in the class attribute "coroutines",
add a new instance method to the class called "coro_<func_name>",
which is an asyncio.coroutine that calls func_... | 62598fab4f6381625f199483 |
class TagTestCase(TestCase): <NEW_LINE> <INDENT> def installTagLibrary(self, library): <NEW_LINE> <INDENT> template.libraries[library] = __import__(library) <NEW_LINE> <DEDENT> def renderTemplate(self, tstr, **context): <NEW_LINE> <INDENT> tmpl = template.Template(tstr) <NEW_LINE> cntxt = template.Context(context) <NEW... | Helper class with some tag helper functions | 62598fabadb09d7d5dc0a514 |
class ManageableResource(models.Model): <NEW_LINE> <INDENT> def __str__(self): <NEW_LINE> <INDENT> return self.name + " (" + self.uuid + ")" <NEW_LINE> <DEDENT> def set_manager_group(self, group): <NEW_LINE> <INDENT> assign_perm("add_%s" % self._meta.verbose_name, group, self) <NEW_LINE> assign_perm("read_%s" % self._m... | Abstract base class for manageable resources such as disk space and
workflow engines | 62598fabac7a0e7691f72494 |
class ReportField(StateField): <NEW_LINE> <INDENT> pass | An 8-bit report field. | 62598fab8c0ade5d55dc3656 |
class StateController(Controller): <NEW_LINE> <INDENT> def is_open(self, address: Address) -> bool: <NEW_LINE> <INDENT> state_register = self.bus.read_byte_data(self.address, address.controller_register) <NEW_LINE> return state_register & address.register_bit_mask == 0 | Controller which can read the state of the bays. | 62598fab8e7ae83300ee902c |
class Timer(object): <NEW_LINE> <INDENT> def __init__(self, collector, metric): <NEW_LINE> <INDENT> self.collector = collector <NEW_LINE> self.metric = metric <NEW_LINE> self.interval = None <NEW_LINE> self._sent = False <NEW_LINE> self._start_time = None <NEW_LINE> <DEDENT> def __call__(self, f): <NEW_LINE> <INDENT> @... | Measure time interval between events | 62598fab56ac1b37e6302175 |
class wo_declaration_main(models.TransientModel): <NEW_LINE> <INDENT> _inherit = 'wo.declaration.main' <NEW_LINE> @api.model <NEW_LINE> def default_get(self, fields_list): <NEW_LINE> <INDENT> res = super(wo_declaration_main, self).default_get(fields_list=fields_list) <NEW_LINE> wo = self.env['mrp.workorder'].browse(sel... | WorkOrder Declaration Main | 62598faba8370b77170f0365 |
class User(AbstractBaseUser, PermissionsMixin): <NEW_LINE> <INDENT> username = models.CharField(_('username'), max_length=64, unique=True, help_text=_('5~30个字母,数字或@/./+/-/_字符。'), validators=[ validators.RegexValidator(r'^[\w.@+-]{5,30}$', _('输入有效的用户名。 ' '包含5~30个字母,数字或@/./+/-/_字符。'), 'invalid'), ], error_messages={ 'uni... | 用户基本信息
http://python.usyiyi.cn/django/topics/auth/customizing.html#extending-user | 62598fab26068e7796d4c8de |
class ScheduleInstanceTest(unittest.TestCase): <NEW_LINE> <INDENT> def test_schedule_instance(self): <NEW_LINE> <INDENT> schedule_instance_obj = ScheduleInstance() <NEW_LINE> self.assertNotEqual(schedule_instance_obj, None) | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598faba8ecb0332587119a |
class Meta(object): <NEW_LINE> <INDENT> database = db.database <NEW_LINE> schema = db.schema | Define the common database configuration for the models
All the configuration is loaded from db.connector,
this is just a linking to have this in a dedicated file and share it to
the models | 62598fab2c8b7c6e89bd374f |
class BotCorpusTrainer(Trainer): <NEW_LINE> <INDENT> def __init__(self, storage, **kwargs): <NEW_LINE> <INDENT> super(BotCorpusTrainer, self).__init__(storage, **kwargs) <NEW_LINE> from corpus import Corpus <NEW_LINE> self.corpus = Corpus() <NEW_LINE> <DEDENT> def train(self, *corpora): <NEW_LINE> <INDENT> trainer = Li... | Allows the chat bot to be trained using data from the
ChatterBot dialog corpus. | 62598fab2c8b7c6e89bd3750 |
class OperationsScopedList(messages.Message): <NEW_LINE> <INDENT> class WarningValue(messages.Message): <NEW_LINE> <INDENT> class CodeValueValuesEnum(messages.Enum): <NEW_LINE> <INDENT> DEPRECATED_RESOURCE_USED = 0 <NEW_LINE> DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 1 <NEW_LINE> INJECTED_KERNELS_DEPRECATED = 2 <NEW_LINE> NEX... | A OperationsScopedList object.
Messages:
WarningValue: [Output Only] Informational warning which replaces the list
of operations when the list is empty.
Fields:
operations: [Output Only] List of operations contained in this scope.
warning: [Output Only] Informational warning which replaces the list of
o... | 62598fab236d856c2adc9402 |
class TempDirectory(object): <NEW_LINE> <INDENT> def __enter__(self): <NEW_LINE> <INDENT> self.name = tempfile.mkdtemp() <NEW_LINE> return self.name <NEW_LINE> <DEDENT> def __exit__(self, exc_type, exc_value, traceback): <NEW_LINE> <INDENT> shutil.rmtree(self.name, True) | A self cleaning temporary directory. | 62598fab99fddb7c1ca62dae |
class CommandAddRoutePacket(M2MPacket): <NEW_LINE> <INDENT> type = PacketType.command_add_route <NEW_LINE> attributes = [ ("command_id", int_types), ("node1", bytes), ("port1", int_types), ("node2", bytes), ("port2", int_types), ("requester", bytes), ("forwarded", int_types), ] | Command the server to generate a route from uuid1 to uuid2. | 62598fab3539df3088ecc23e |
class TestBarchart(unittest.TestCase): <NEW_LINE> <INDENT> layer = INTEGRATION_TESTING <NEW_LINE> def setUp(self): <NEW_LINE> <INDENT> self.portal = self.layer['portal'] <NEW_LINE> setRoles(self.portal, TEST_USER_ID, ['Manager']) <NEW_LINE> self.portal.invokeFactory('Survey', 's1') <NEW_LINE> self.s1 = getattr(self.por... | Ensure survey barchart works correctly | 62598fab1f5feb6acb162bab |
class InequalityModelDuplicatesTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.store = Store() <NEW_LINE> privApp = PrivateApplication(store=self.store) <NEW_LINE> installOn(privApp, self.store) <NEW_LINE> self.data = [] <NEW_LINE> for number in [1, 0, 2, 2, 0, 1, 1, 0, 2, 0, ... | Similar to L{InequalityModelTestCase}, but test cases where there are
multiple rows with the same value for the sort key. | 62598fab67a9b606de545f57 |
class Chapter(ChapterData, FilterToggle): <NEW_LINE> <INDENT> _has_highlights_locator = ( By.CSS_SELECTOR, "input:not([disabled])") <NEW_LINE> @property <NEW_LINE> def has_highlights(self) -> bool: <NEW_LINE> <INDENT> return bool( self.find_elements(*self._has_highlights_locator)) | A chapter filter option. | 62598fab7047854f4633f365 |
class PasswordPolicy(object): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def all_tests(cls): <NEW_LINE> <INDENT> return dict(_tests.ATest.test_classes) <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def from_names(cls, **tests): <NEW_LINE> <INDENT> _tests.ATest.test_classes['length'](8) <NEW_LINE> tests = [ _tests.ATest.... | Perform tests on a password. | 62598faba219f33f346c67a2 |
@handler.subscribe(KubeDashboardEvent) <NEW_LINE> class KubeDashboard(Hunter): <NEW_LINE> <INDENT> def __init__(self, event): <NEW_LINE> <INDENT> self.event = event <NEW_LINE> <DEDENT> def get_nodes(self): <NEW_LINE> <INDENT> r = requests.get("http://{}:{}/api/v1/node".format(self.event.host, self.event.port)) <NEW_LIN... | Dashboard Hunting
Hunts open Dashboards, gets the type of nodes in the cluster | 62598fabe5267d203ee6b896 |
class Scale(Layer): <NEW_LINE> <INDENT> def __init__(self, weights=None, axis=-1, momentum=0.9, beta_init='zero', gamma_init='one', **kwargs): <NEW_LINE> <INDENT> self.momentum = momentum <NEW_LINE> self.axis = axis <NEW_LINE> self.beta_init = initializers.get(beta_init) <NEW_LINE> self.gamma_init = initializers.get(ga... | Learns a set of weights and biases used for scaling the input data.
the output consists simply in an element-wise multiplication of the input
and a sum of a set of constants:
out = in * gamma + beta,
where 'gamma' and 'beta' are the weights and biases larned.
# Arguments
axis: integer, axis along which to no... | 62598fab4527f215b58e9e6d |
class PredefinedTokensUnitTest(unittest.TestCase): <NEW_LINE> <INDENT> tests_subpath = os.path.join('Cdm', 'Projection', 'TestPredefinedTokens') <NEW_LINE> def test_get_predefined_tokens(self): <NEW_LINE> <INDENT> tokens = PredefinedTokens._get_predefined_tokens() <NEW_LINE> expected = 'always depth maxDepth noMaxDepth... | Unit test for PredefinedTokens functions | 62598fab8e7ae83300ee902d |
class IPExternalExample(doctest.Example): <NEW_LINE> <INDENT> def __init__(self, source, want, exc_msg=None, lineno=0, indent=0, options=None): <NEW_LINE> <INDENT> doctest.Example.__init__(self,source,want,exc_msg,lineno,indent,options) <NEW_LINE> self.source += '\n' | Doctest examples to be run in an external process. | 62598fab8c0ade5d55dc3657 |
class DataTypeKey(BaseEnum): <NEW_LINE> <INDENT> DOSTA_ABCDJM_SIO_TELEMETERED = 'dosta_abcdjm_sio_telemetered' <NEW_LINE> DOSTA_ABCDJM_SIO_RECOVERED = 'dosta_abcdjm_sio_recovered' | These are the possible harvester/parser pairs for this driver | 62598fab4e4d5625663723b1 |
class Cluster(TrackedResource): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, 'system_data': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'st... | The HDInsight cluster.
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 the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/provider... | 62598fab167d2b6e312b6efd |
class ChatRooms(Base): <NEW_LINE> <INDENT> __tablename__ = 'chat_rooms' <NEW_LINE> id = Column(Integer, primary_key=True, unique=True) <NEW_LINE> room_title = Column(String, unique=True) <NEW_LINE> room_members = relationship('Client', secondary=ChatLists) <NEW_LINE> def __init__(self, room_title): <NEW_LINE> <INDENT> ... | Таблица комнат для чата | 62598fab4428ac0f6e6584b0 |
class Environment(TimeStampedBaseModel): <NEW_LINE> <INDENT> uuid = models.CharField( max_length=36, default=utils.generate_uuid, unique=True, blank=False, null=False, help_text="UUID of environment.") <NEW_LINE> name = models.CharField( max_length=255, unique=True, default=uuid.default, blank=True, null=True, help_tex... | The environment (e.g. Prodstack, Staging). | 62598fab55399d3f056264b0 |
class BatchPoolIdentity(Model): <NEW_LINE> <INDENT> _validation = { 'type': {'required': True}, } <NEW_LINE> _attribute_map = { 'type': {'key': 'type', 'type': 'PoolIdentityType'}, 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '[UserAssignedIdentity]'}, } <NEW_LINE> def __init__(self, *, type, u... | The identity of the Batch pool, if configured.
The identity of the Batch pool, if configured.
All required parameters must be populated in order to send to Azure.
:param type: Required. The list of user identities associated with the
Batch pool. The user identity dictionary key references will be ARM
resource ids ... | 62598fab45492302aabfc45d |
class EncoderConvolutions: <NEW_LINE> <INDENT> def __init__(self, is_training, hparams, activation=tf.nn.relu, scope=None): <NEW_LINE> <INDENT> super(EncoderConvolutions, self).__init__() <NEW_LINE> self.is_training = is_training <NEW_LINE> self.kernel_size = hparams.enc_conv_kernel_size <NEW_LINE> self.channels = hpar... | Encoder convolutional layers used to find local dependencies in inputs characters.
| 62598fab85dfad0860cbfa3a |
class FireAnt(Ant): <NEW_LINE> <INDENT> name = 'Fire' <NEW_LINE> damage = 3 <NEW_LINE> food_cost = 6 <NEW_LINE> armor = 1 <NEW_LINE> implemented = True <NEW_LINE> def reduce_armor(self, amount): <NEW_LINE> <INDENT> copy = self.place.bees[:] <NEW_LINE> self.armor -= amount <NEW_LINE> if self.armor <= 0: <NEW_LINE> <INDE... | FireAnt cooks any Bee in its Place when it expires. | 62598faba17c0f6771d5c1c1 |
class UpdateCallOrder(Price): <NEW_LINE> <INDENT> def __init__(self, call, **kwargs): <NEW_LINE> <INDENT> BlockchainInstance.__init__(self, **kwargs) <NEW_LINE> if isinstance(call, dict) and "call_price" in call: <NEW_LINE> <INDENT> super(UpdateCallOrder, self).__init__( call.get("call_price"), base=call["call_price"].... | This class inherits :class:`bitshares.price.Price` but has the ``base``
and ``quote`` Amounts not only be used to represent the **call
price** (as a ratio of base and quote).
:param bitshares.bitshares.BitShares blockchain_instance: BitShares instance | 62598fab76e4537e8c3ef539 |
class haspattern(grepc): <NEW_LINE> <INDENT> exit_on_found = True | Tests if the input text matches the specified pattern
This reads the input text line by line (or item by item for lists and generators), cast into
a string before testing. like :class:`textops.grepc` it accepts testing on a specific column
for a list of lists or testing on a specific key for list of dicts.
It stops re... | 62598fab44b2445a339b6936 |
class IShoppingList(Interface): <NEW_LINE> <INDENT> products = Attribute("products", "List of products.") <NEW_LINE> created = Attribute("created", "Creation date and time.") | Marker interface for Shopping list. | 62598fab0a50d4780f70536a |
class CategoryQuestion(models.Model): <NEW_LINE> <INDENT> category_question_id = models.AutoField(primary_key=True) <NEW_LINE> question = models.ForeignKey('questions.Question') <NEW_LINE> category = models.ForeignKey('categories.Category') <NEW_LINE> created_by = models.ForeignKey('auth.User', null=True, blank=True, o... | Category / Question Intermediate Class | 62598fab0c0af96317c5630f |
class UsageError(MandarinError): <NEW_LINE> <INDENT> description = 'Usage error' | Class representing error in command-line usage of `mandarin` tool | 62598fab9c8ee82313040137 |
class TypeABCMeta(ABCMeta): <NEW_LINE> <INDENT> def __new__(mcls, name, bases, namespace, **kwargs): <NEW_LINE> <INDENT> cls = super(TypeABCMeta, mcls).__new__(mcls, name, bases, namespace, **kwargs) <NEW_LINE> abs_cls = mcls._find_ABC_from_bases(bases) <NEW_LINE> if abs_cls is not None: <NEW_LINE> <INDENT> mcls._verif... | Metaclass that verifies if an ABC's descendant classes were overriden
with the same types (in their methods and properties) as the original ABC.
It does this when a new class is created, so it prevents the user from using
the abstractmethod unless they have overridden the abstractmethod with the
correct type. | 62598fab2ae34c7f260ab06e |
class CimcConnection(GenericSingleRpConnection): <NEW_LINE> <INDENT> os = 'cimc' <NEW_LINE> platform = None <NEW_LINE> chassis_type = 'single_rp' <NEW_LINE> state_machine_class = CimcStateMachine <NEW_LINE> connection_provider_class = CimcConnectionProvider <NEW_LINE> subcommand_list = CimcServiceList <NEW_LINE> settin... | Connection class for cimc connections. | 62598fabe76e3b2f99fd89c3 |
class Java: <NEW_LINE> <INDENT> def __init__(self, path): <NEW_LINE> <INDENT> self.path = path <NEW_LINE> <DEDENT> """Java.files() is a simple generator that returns all the files in given directory one at a time""" <NEW_LINE> def files(self): <NEW_LINE> <INDENT> for dir_path, dir_names, file_names in os.walk(self.pat... | Java class is created for convenient work with the program representation
on hard disk (be it decompiled text or byte code). Now it supports only the
text variant, but it`s in my plans to expand its features.
This class` main task is to recursively scan the given folder for all code files
and to return their contents ... | 62598fab63b5f9789fe850f2 |
class Enemy(newSprite): <NEW_LINE> <INDENT> def __init__(self, filename, framesX=1, framesY=1): <NEW_LINE> <INDENT> newSprite.__init__(self, filename, framesX, framesY) <NEW_LINE> self.speed = 3 <NEW_LINE> self.rect.x = 400 <NEW_LINE> self.rect.y = 400 <NEW_LINE> self.health = 1 <NEW_LINE> <DEDENT> def move(self, frame... | Enemy is a generic base class used by more specific enemies | 62598fab4428ac0f6e6584b1 |
class IWebActionMetadataSchema(Interface): <NEW_LINE> <INDENT> action_id = Int( title=u'Action ID', description=u'Automatically assigned unique ID for this action', required=True) <NEW_LINE> created = Datetime( title=u'Created', description=u'Time when this action was created.', required=True) <NEW_LINE> modified = Dat... | Metadata fields automatically added by the server.
| 62598fab3346ee7daa337610 |
class ICsTgateLayer(IDefaultBrowserLayer): <NEW_LINE> <INDENT> pass | Marker interface that defines a browser layer. | 62598fabf548e778e596b531 |
class ButlerTaskRunner(TaskRunner): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def getTargetList(parsedCmd, **kwargs): <NEW_LINE> <INDENT> return TaskRunner.getTargetList(parsedCmd, butler=parsedCmd.butler, **kwargs) | Get a butler into the Task scripts | 62598fab0c0af96317c56310 |
class Test_mc_set_params(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.mc_kwargs = {"diag_scale" : 1.0, "expand_power" : 2, "inflate_power" : 2, "max_iter" : 10, "threshold" : 0.00001, "tol" : 0.001} <NEW_LINE> self.clus = MCnumpy(**self.mc_kwargs) <NEW_LINE> <DEDENT> def tearDown(se... | Test setting parameters after initialisation. | 62598fabe1aae11d1e7ce7ea |
class ReceiptsClient: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._api_client = oauth2.OAuth2Client() <NEW_LINE> self._api_client_ready = False <NEW_LINE> self._account_id = None <NEW_LINE> self.transactions = [] <NEW_LINE> <DEDENT> def do_auth(self): <NEW_LINE> <INDENT> print("Starting OAuth2 flow... | An example single-account client of the Monzo Transaction Receipts API.
For the underlying OAuth2 implementation, see oauth2.OAuth2Client. | 62598fab796e427e5384e721 |
class DataStruct(object): <NEW_LINE> <INDENT> def __init__(self, raw=None): <NEW_LINE> <INDENT> if raw is not None: <NEW_LINE> <INDENT> self.parse(Eater(raw, endianness="<")) <NEW_LINE> <DEDENT> <DEDENT> def parse(self, eater_obj): <NEW_LINE> <INDENT> raise NotImplementedError("This function must be implemented in subc... | Don't use this class unless you know what you are doing! | 62598fab63d6d428bbee2739 |
class IMethodEventSource(object): <NEW_LINE> <INDENT> def addListener(self, eventType, obj, method): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> def removeListener(self, eventType, obj, method): <NEW_LINE> <INDENT> raise NotImplementedError | Interface for classes supporting registration of methods as event
receivers.
For more information on the inheritable event mechanism see the
L{muntjac.event package documentation<muntjac.event>}.
@author: Vaadin Ltd.
@author: Richard Lincoln
@version: @VERSION@ | 62598fab71ff763f4b5e76fc |
class UpdateMessagePollVote(TLObject): <NEW_LINE> <INDENT> __slots__ = ["poll_id", "user_id", "options"] <NEW_LINE> ID = 0x42f88f2c <NEW_LINE> QUALNAME = "types.UpdateMessagePollVote" <NEW_LINE> def __init__(self, *, poll_id: int, user_id: int, options: list): <NEW_LINE> <INDENT> self.poll_id = poll_id <NEW_LINE> self.... | Attributes:
LAYER: ``112``
Attributes:
ID: ``0x42f88f2c``
Parameters:
poll_id: ``int`` ``64-bit``
user_id: ``int`` ``32-bit``
options: List of ``bytes`` | 62598faba8ecb0332587119e |
class TestModuleopen_passive_dns_database(unittest.TestCase): <NEW_LINE> <INDENT> default_options = { '_debug': False, '__logging': True, '__outputfilter': None, '_useragent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0', '_dnsserver': '', '_fetchtimeout': 5, '_internettlds': 'https:... | Test modules.sfp_open_passive_dns_database | 62598fabbd1bec0571e1508a |
class DBusManager(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._bus = dbus.SystemBus() <NEW_LINE> self._dbus_ifaces = {} <NEW_LINE> <DEDENT> def get_dbus_ifaces(self): <NEW_LINE> <INDENT> if not self._dbus_ifaces: connect_to_dbus() <NEW_LINE> return self._dbus_ifaces <NEW_LINE> <DEDENT> def... | Manages the DBus objects used by wicd. | 62598fab4f88993c371f04d1 |
class EpsilonGreedyMetaAgent(cls): <NEW_LINE> <INDENT> def __init__(self, exploration_rate, **kwargs): <NEW_LINE> <INDENT> self.exploration_rate = exploration_rate <NEW_LINE> super().__init__(**kwargs) <NEW_LINE> <DEDENT> def act(self, observation, actions): <NEW_LINE> <INDENT> if self.rng.random() < self.exploration_r... | An Agent subclass that behaves epsilon greedily. | 62598fab3539df3088ecc241 |
class StreamingResponse(Response): <NEW_LINE> <INDENT> def __init__( self, status: str, content: Generator[bytes, None, None], headers: Optional[Union[HeadersDict, Headers]] = None, encoding: str = "utf-8", ) -> None: <NEW_LINE> <INDENT> super().__init__( status=status, headers=headers, stream=cast(BinaryIO, GenStream(... | A chunked HTTP response, yielding content from a generator.
Parameters:
status: The status line of the response.
content: A response content generator.
headers: Optional response headers.
encoding: An optional encoding for the response. | 62598fab30dc7b766599f7db |
class _GMixin: <NEW_LINE> <INDENT> @lazy_attribute <NEW_LINE> def _default_algorithm(self): <NEW_LINE> <INDENT> return NotImplemented <NEW_LINE> <DEDENT> @lazy_attribute <NEW_LINE> def _gcdata(self): <NEW_LINE> <INDENT> return NotImplemented <NEW_LINE> <DEDENT> def _get_algorithm(self, algorithm): <NEW_LINE> <INDENT> r... | This class provides some methods for Galois groups to be used for both permutation groups
and abelian groups, subgroups and full Galois groups.
It is just intended to provide common functionality between various different Galois group classes. | 62598fab10dbd63aa1c70b41 |
@skipIf(not HAS_CERTS, 'Cannot find CA cert bundle') <NEW_LINE> @skipIf(NO_MOCK, NO_MOCK_REASON) <NEW_LINE> @patch('salt.cloud.clouds.dimensiondata.__virtual__', MagicMock(return_value='dimensiondata')) <NEW_LINE> class DimensionDataTestCase(ExtendedTestCase): <NEW_LINE> <INDENT> def test_avail_images_call(self): <NEW_... | Unit TestCase for salt.cloud.clouds.dimensiondata module. | 62598fab851cf427c66b824b |
class Graph(object): <NEW_LINE> <INDENT> params = ['title', 'category', 'args', 'vlabel', 'info'] <NEW_LINE> def __init__(self, name, title=None, category=None, args=None, vlabel=None, info=None): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.items = [] <NEW_LINE> if title is not None: <NEW_LINE> <INDENT> self.t... | Single graph, possibly with multiple items (data sources) | 62598fab8a43f66fc4bf210a |
class AvoidablePlace(pg.sprite.Sprite): <NEW_LINE> <INDENT> MARGINS = [40, 40, 10, 10] <NEW_LINE> def __init__(self, image): <NEW_LINE> <INDENT> pg.sprite.Sprite.__init__(self) <NEW_LINE> self.image = image <NEW_LINE> self.rect = image.get_rect() <NEW_LINE> <DEDENT> def set_random_position(self): <NEW_LINE> <INDENT> se... | Represents a home destination | 62598fab498bea3a75a57aac |
class InfList(list): <NEW_LINE> <INDENT> def __init__(self, *args, **kwds): <NEW_LINE> <INDENT> self.default = kwds.pop('default', 0) <NEW_LINE> super(InfList, self).__init__(*args, **kwds) <NEW_LINE> <DEDENT> def __getitem__(self, index): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return super(InfList, self).__getit... | Represent an infinite list. | 62598fab76e4537e8c3ef53b |
class WallOrnamentDecoratorConfig(DecoratorConfig): <NEW_LINE> <INDENT> def __init__(self, level_types, wall_tile, ornamentation, rng, rate, top_only = True): <NEW_LINE> <INDENT> super().__init__(level_types) <NEW_LINE> self.wall_tile = wall_tile <NEW_LINE> self.ornamentation = ornamentation <NEW_LINE> self.top_only = ... | Configuration for WallOrnamentDecorator
.. versionadded:: 0.10 | 62598fab4e4d5625663723b4 |
class TestToaFlag(unittest.TestCase): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def setUpClass(cls): <NEW_LINE> <INDENT> os.chdir(datadir) <NEW_LINE> cls.tim = "B1855+09_NANOGrav_dfg+12.tim" <NEW_LINE> cls.toas = toa.get_TOAs( cls.tim, ephem="DE405", planets=False, include_bipm=False ) <NEW_LINE> <DEDENT> def test_fl... | Compare delays from the dd model with tempo and PINT | 62598fab3cc13d1c6d4656fb |
class SympyDataTransformer(DataTransformer): <NEW_LINE> <INDENT> def __init__(self, functions: Mapping[str, Function]) -> None: <NEW_LINE> <INDENT> if any(map(lambda f: not isinstance(f, Function), functions.values())): <NEW_LINE> <INDENT> raise TypeError( "Not all values in the mapping are an instance of" f" {Function... | Implementation of a `.DataTransformer`. | 62598faba8370b77170f036a |
class Level: <NEW_LINE> <INDENT> def __init__(self, fichier): <NEW_LINE> <INDENT> self.fichier = fichier <NEW_LINE> self.structure = 0 <NEW_LINE> self.free = 0 <NEW_LINE> <DEDENT> def generer(self): <NEW_LINE> <INDENT> with open(self.fichier, "r") as fichier: <NEW_LINE> <INDENT> structure_niveau = [] <NEW_LINE> for lig... | class to Create the level | 62598fabf7d966606f747f73 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.