code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class URLFetcher: <NEW_LINE> <INDENT> def fetch_urls(self): <NEW_LINE> <INDENT> print("...fetch URLs one day") | Fetch the damned URLs from somewhere | 6259907de1aae11d1e7cf53a |
class TestMain(unittest.TestCase): <NEW_LINE> <INDENT> def test_communicate(self): <NEW_LINE> <INDENT> app = backcast.main.BackCast() <NEW_LINE> app.lexicaliser = mock.MagicMock() <NEW_LINE> app.aggregator = mock.MagicMock() <NEW_LINE> app.realiser = mock.MagicMock() <NEW_LINE> app.communicate(mock.MagicMock()) <NEW_LI... | Test that `main` runs and all packages/modules load. | 6259907d1b99ca400229025e |
class GeonameViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = Geoname.objects.all() <NEW_LINE> serializer_class = GeonameSerializer | API endpoint that allows resumes to be created, viewed and edited. | 6259907df548e778e596cfe3 |
class NoInputOp(Op): <NEW_LINE> <INDENT> __props__ = () <NEW_LINE> def make_node(self): <NEW_LINE> <INDENT> return Apply(self, [], [MyType('test')()]) <NEW_LINE> <DEDENT> def perform(self, node, inputs, output_storage): <NEW_LINE> <INDENT> output_storage[0][0] = 'test Op no input' | An Op to test the corner-case of an Op with no input. | 6259907d5fdd1c0f98e5f9d1 |
class VariableDetail(models.Model): <NEW_LINE> <INDENT> process_instance = models.ForeignKey('camunda.ProcessInstance', on_delete=models.CASCADE, related_name='variables') <NEW_LINE> variable = models.ForeignKey(Variable, related_name='+', on_delete=models.PROTECT) <NEW_LINE> value = models.CharField(max_length=50) <NE... | Camunda Variable Instance Model | 6259907d56b00c62f0fb4326 |
class UcStateProperties(object): <NEW_LINE> <INDENT> swagger_types = { 'update_uc_state_properties': 'bool' } <NEW_LINE> attribute_map = { 'update_uc_state_properties': 'update_uc_state_properties' } <NEW_LINE> def __init__(self, update_uc_state_properties=True): <NEW_LINE> <INDENT> self._update_uc_state_properties = N... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 6259907dd486a94d0ba2da09 |
class ProcessThreadsStarter(Thread): <NEW_LINE> <INDENT> def __init__(self, server, patterns): <NEW_LINE> <INDENT> Thread.__init__(self) <NEW_LINE> self.server = server <NEW_LINE> self.patterns = patterns <NEW_LINE> self.name = "ProcessThreadStarter" <NEW_LINE> self.lock = self.server.lock <NEW_LINE> self.children = []... | Thread for starting a MessageProcessThread for each email.
Prevents the main program flow from becoming too blocked | 6259907d23849d37ff852b0b |
class Guarderia(object): <NEW_LINE> <INDENT> def __init__(self, nombre, usuarios, estacionamiento, sys_def_fac): <NEW_LINE> <INDENT> self.nombre = nombre <NEW_LINE> self.usuarios = usuarios <NEW_LINE> self.estacionamiento = estacionamiento <NEW_LINE> self.sys_def_fac = sys_def_fac | docstring for Guarderia. | 6259907d091ae35668706691 |
class EnRDRTree(PosTaggingRDRTree): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.root = None <NEW_LINE> <DEDENT> def tagRawSentence(self, DICT, rawLine): <NEW_LINE> <INDENT> line = EnInitTagger4Sentence(DICT, rawLine) <NEW_LINE> sen = '' <NEW_LINE> startWordTags = line.split() <NEW_LINE> for i in xr... | RDRPOSTagger for English | 6259907d3d592f4c4edbc888 |
class Command(BaseCommand): <NEW_LINE> <INDENT> help = 'Convert Ooyala IDs to corresponding Brightcove IDs in Xblock and embeds' <NEW_LINE> batch_size = 100 <NEW_LINE> def add_arguments(self, parser): <NEW_LINE> <INDENT> parser.add_argument( "--user-id", dest="user_id", help="Staff User ID", ), <NEW_LINE> parser.add_ar... | Command to update Ooyala Xblock Content IDs to corresponding Brightcove IDs | 6259907df9cc0f698b1c5ff6 |
class Case(models.Model): <NEW_LINE> <INDENT> location = models.CharField(_('location'), max_length=100, blank=True, null=True, ) <NEW_LINE> city = models.CharField(_('city'), max_length=100, blank=True, null=True, ) <NEW_LINE> state = models.CharField(_('state'), max_length=50, blank=True, null=True, ) <NEW_LINE> zipc... | A Code Enforcement case as represented in "CE Active Pipeline":
https://data.nola.gov/dataset/CE-Active-Pipeline/8pqz-ftzc | 6259907d4428ac0f6e659f82 |
class MnliProcessor(DataProcessor): <NEW_LINE> <INDENT> def get_train_examples(self, data_dir): <NEW_LINE> <INDENT> return self._create_examples( self._read_tsv(os.path.join(data_dir, "train.tsv")), "train") <NEW_LINE> <DEDENT> def get_dev_examples(self, data_dir, eval_set="MNLI-m"): <NEW_LINE> <INDENT> if eval_set is ... | Processor for the MultiNLI data set (GLUE version). | 6259907daad79263cf43020d |
class ConditionSet(Set): <NEW_LINE> <INDENT> def __new__(cls, condition, base_set): <NEW_LINE> <INDENT> return Basic.__new__(cls, condition, base_set) <NEW_LINE> <DEDENT> condition = property(lambda self: self.args[0]) <NEW_LINE> base_set = property(lambda self: self.args[1]) <NEW_LINE> def contains(self, other): <NEW_... | Set of elements which satisfies a given condition.
{x | condition(x) is True for x in S}
Examples
========
>>> from sympy import Symbol, S, ConditionSet, Lambda, pi, Eq, sin, Interval
>>> x = Symbol('x')
>>> sin_sols = ConditionSet(Lambda(x, Eq(sin(x), 0)), Interval(0, 2*pi))
>>> 2*pi in sin_sols
True
>>> pi/2 in si... | 6259907d3617ad0b5ee07ba1 |
class RankForms(messages.Message): <NEW_LINE> <INDENT> items = messages.MessageField(RankForm, 1, repeated=True) | Users, sorted by lowest average guesses | 6259907d3346ee7daa33838b |
class Or(object): <NEW_LINE> <INDENT> def __init__(self, *predicates): <NEW_LINE> <INDENT> self.predicates = predicates <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return 'Or(%s)' % ', '.join(str(p) for p in self.predicates) <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return '<hunter.pred... | Logical disjunction. Returns ``True`` after the first sub-predicate that returns ``True``. | 6259907d55399d3f05627f68 |
class MainData: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.action=dict() <NEW_LINE> self.canvas=dict() <NEW_LINE> self.control={"QLabel": [], "QTabWidget": [], "QPushButton": [], "QTextEdit": [], "QRadioButton": [], "QComboBox": [], "QSpinBox": [], "QTableWidget": [], "QLCDNumber": [], "Clickable_... | frame of page data about Pyqt5 | 6259907d1f5feb6acb16464c |
class UpdateMirror1Test(BaseTest): <NEW_LINE> <INDENT> sortOutput = True <NEW_LINE> longTest = False <NEW_LINE> fixtureCmds = [ "aptly -architectures=i386,amd64 mirror create --ignore-signatures varnish https://packagecloud.io/varnishcache/varnish30/debian/ wheezy main", ] <NEW_LINE> runCmd = "aptly mirror update --ign... | update mirrors: regular update | 6259907d099cdd3c63676123 |
class Neuron(ComponentBase): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> ncomp = kwargs.pop('ncomp', 0) <NEW_LINE> presyn = kwargs.pop('presyn', 0) <NEW_LINE> ComponentBase.__init__(self, *args, **kwargs) <NEW_LINE> self.attrs['ontology'] = 'cno_0000020' <NEW_LINE> self.presyn = presyn ... | Base class for all the cell types.
| 6259907d5166f23b2e244e2c |
class virtualChannelOpen_result: <NEW_LINE> <INDENT> thrift_spec = ( (0, TType.STRUCT, 'success', (TReturnVirtualChannelOpen, TReturnVirtualChannelOpen.thrift_spec), None, ), ) <NEW_LINE> def __init__(self, success=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> ... | Attributes:
- success | 6259907d60cbc95b06365a97 |
class Heap(Sequence): <NEW_LINE> <INDENT> def __init__(self, init_data=None, max_heap=False): <NEW_LINE> <INDENT> self._vals = [] <NEW_LINE> self._is_min_heap = not max_heap <NEW_LINE> if init_data is not None: <NEW_LINE> <INDENT> self.extend(init_data) <NEW_LINE> <DEDENT> <DEDENT> def __contains__(self, value): <NEW_L... | A basic heap data structure.
This is a binary heap. Heap is a subclass of collections.Sequence, having
an interface similar as Python built-in list.
Usage:
>>> heap = Heap(max_heap=True) # create empty max-heap
>>> heap = Heap() # create empty min-heap
>>> heap.push(10) # insert value into the heap
>>> heap.extend... | 6259907d5fdd1c0f98e5f9d3 |
class MicroExitPolicy(ExitPolicy): <NEW_LINE> <INDENT> def __init__(self, policy): <NEW_LINE> <INDENT> self._policy = policy <NEW_LINE> if policy.startswith('accept'): <NEW_LINE> <INDENT> self.is_accept = True <NEW_LINE> <DEDENT> elif policy.startswith('reject'): <NEW_LINE> <INDENT> self.is_accept = False <NEW_LINE> <D... | Exit policy provided by the microdescriptors. This is a distilled version of
a normal :class:`~stem.exit_policy.ExitPolicy` contains, just consisting of a
list of ports that are either accepted or rejected. For instance...
::
accept 80,443 # only accepts common http ports
reject 1-1024 # only accepts ... | 6259907d2c8b7c6e89bd5239 |
class DeploymentSimulationArtifacts(object): <NEW_LINE> <INDENT> def __init__(self, resource_cache: Dict, available_resources: KubernetesAvailableResourceTypes): <NEW_LINE> <INDENT> self._resource_cache: Dict = resource_cache <NEW_LINE> self._available_resources: KubernetesAvailableResourceTypes = available_resources <... | Simple class defining all the artifacts required for testing Viya deployment report utilities against simulated
deployments with a mocked ingress controller. | 6259907d92d797404e389886 |
class SPM(six.with_metaclass(parsers.OptionParserMeta, parsers.OptionParser, parsers.ConfigDirMixIn, parsers.LogLevelMixIn, parsers.MergeConfigMixIn)): <NEW_LINE> <INDENT> VERSION = salt.version.__version__ <NEW_LINE> _config_filename_ = 'spm' <NEW_LINE> _default_logging_logfile_ = os.path.join(syspaths.LOGS_DIR, 'spm'... | The cli parser object used to fire up the salt spm system. | 6259907d7d43ff248742813f |
class TestCommand(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 testCommand(self): <NEW_LINE> <INDENT> pass | Command unit test stubs | 6259907d3317a56b869bf270 |
class GbFullCnnKimUniversity(gb_full_university.GbFullUniversity): <NEW_LINE> <INDENT> def __init__(self, model_dir, workspace, dataset_wkspc, text_window=TextWindow.beginning, starting_idx=0): <NEW_LINE> <INDENT> super().__init__(model_dir, workspace, dataset_wkspc, text_window=text_window, starting_idx=starting_idx) ... | This is an AI Lit university for training CNN-Kim on the Gutenberg Full text dataset. | 6259907d32920d7e50bc7a96 |
class Exit(Exception): <NEW_LINE> <INDENT> def __init__(self, code): <NEW_LINE> <INDENT> self.code = code | Use an exit exception to end program execution.
We don't use sys.exit because it is a little problematic with RPython. | 6259907d4f6381625f19a1d8 |
class Impressions(ListView): <NEW_LINE> <INDENT> queryset = Impression.objects.all() <NEW_LINE> template_name = 'impressions_all.html' | View for all impression images. | 6259907d4a966d76dd5f093b |
class Test_osmotic_pitzer(unittest.TestCase, pyEQL.CustomAssertions): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.s1 = pyEQL.Solution([["Na+", "0.1 mol/L"], ["Cl-", "0.1 mol/L"]]) <NEW_LINE> self.tol = 0.05 <NEW_LINE> <DEDENT> def test_osmotic_pitzer_coeff_units(self): <NEW_LINE> <INDENT> result = sel... | test osmotic coefficient based on the Pitzer model
------------------------------------------------ | 6259907da8370b77170f1e25 |
class check_user_admins_weak_password(): <NEW_LINE> <INDENT> TITLE = 'Admins Weak Password' <NEW_LINE> CATEGORY = 'Configuration' <NEW_LINE> TYPE = 'nosql' <NEW_LINE> SQL = None <NEW_LINE> verbose = False <NEW_LINE> skip = False <NEW_LINE> result = {} <NEW_LINE> db = None <NEW_LINE> def do_check... | check_user_admins_weak_password:
Admin users with weak passwords. | 6259907d26068e7796d4e394 |
class Date(models.Model): <NEW_LINE> <INDENT> title = models.CharField("Titel", max_length=128, blank=False) <NEW_LINE> start = models.DateField("Beginn", null=True, blank=True) <NEW_LINE> end = models.DateField("Ende", null=True, blank=True) <NEW_LINE> location = models.CharField("Ort", max_length=128, blank=True) <NE... | Important dates | 6259907d283ffb24f3cf52f5 |
class RBFVariational(ShiftInvariant): <NEW_LINE> <INDENT> def __init__(self, lenscale=None, learn_lenscale=False, seed=0): <NEW_LINE> <INDENT> self.lenscale_post = None <NEW_LINE> super().__init__(lenscale, learn_lenscale, seed) <NEW_LINE> <DEDENT> def weights(self, input_dim, n_features, dtype=np.float32): <NEW_LINE> ... | Variational Radial basis kernel approximation.
This kernel is similar to the RBF kernel, however we learn an independant
Gaussian posterior distribution over the kernel weights to sample from.
Parameters
----------
lenscale : float, ndarray, optional
The length scales of the RBF kernel. This can be a scalar
f... | 6259907daad79263cf43020f |
class BatchSystemJob: <NEW_LINE> <INDENT> def __init__(self, job_id, b_name, iter_nr, has_instrumentation, cube_file, item_id, build, benchmark, flavor, max_iter): <NEW_LINE> <INDENT> self.job_id = job_id <NEW_LINE> self.benchmark_name = b_name <NEW_LINE> self.iter_nr = iter_nr <NEW_LINE> self.has_instrumentation = has... | Class holding the description of a batch system job.
This class should be independent of the actually used batch system, but still supply enough information
for the automation process. | 6259907dfff4ab517ebcf26e |
class LookupGhcSymbolCmd(gdb.Command): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(LookupGhcSymbolCmd, self).__init__ ("ghc symbol", gdb.COMMAND_USER) <NEW_LINE> <DEDENT> def invoke(self, args, from_tty): <NEW_LINE> <INDENT> addr = int(gdb.parse_and_eval(args)) <NEW_LINE> foundAddr, sym = getLinke... | Lookup the symbol an address falls with (assuming the symbol was loaded by the RTS linker) | 6259907d442bda511e95da82 |
class BasePairTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def test_base_pair(self): <NEW_LINE> <INDENT> strand = 'A A T G C C T A T G G C' <NEW_LINE> mirror = 'T T A C G G A T A C C G' <NEW_LINE> self.assertEqual(base_pair(strand), mirror) | Tests 'prob_207_easy.py'. | 6259907d4f6381625f19a1d9 |
class BeastSense(Spell): <NEW_LINE> <INDENT> name = "Beast Sense" <NEW_LINE> level = 2 <NEW_LINE> casting_time = "1 action" <NEW_LINE> casting_range = "Touch" <NEW_LINE> components = ('S',) <NEW_LINE> materials = """""" <NEW_LINE> duration = "Concentration, up to 1 hour" <NEW_LINE> ritual = True <NEW_LINE> magic_school... | You touch a willing beast. For the duration of the spell, you can use your
action to see through the beast’s eyes and hear what it hears, and continue to
do so until you use your action to return to your normal senses. | 6259907d55399d3f05627f6c |
@base.ReleaseTracks(base.ReleaseTrack.ALPHA, base.ReleaseTrack.BETA, base.ReleaseTrack.GA) <NEW_LINE> class ServiceManagement(base.Group): <NEW_LINE> <INDENT> def Filter(self, context, args): <NEW_LINE> <INDENT> context['servicemanagement-v1'] = apis.GetClientInstance( 'servicemanagement', 'v1') <NEW_LINE> context['ser... | Create, enable and manage API services.
Google Service Management is an infrastructure service of Google Cloud
Platform that manages other APIs and services, including Google's own Cloud
Platform services and their APIs, and services created using Google Cloud
Endpoints.
More information on Service Management can be ... | 6259907d442bda511e95da83 |
class OSABIEnum(Enum): <NEW_LINE> <INDENT> ELFOSABI_NONE = 0 <NEW_LINE> ELFOSABI_HPUX = 1 <NEW_LINE> ELFOSABI_NETBSD = 2 <NEW_LINE> ELFOSABI_GNU = 3 <NEW_LINE> ELFOSABI_LINUX = 3 <NEW_LINE> ELFOSABI_SOLARIS = 6 <NEW_LINE> ELFOSABI_AIX = 7 <NEW_LINE> ELFOSABI_IRIX = 8 <NEW_LINE> ELFOSABI_FREEBSD = 9 <NEW_LINE> ELFOSABI_... | The valid values found in Ehdr e_ident[EI_OSABI]. | 6259907d2c8b7c6e89bd523d |
class Chulius(object): <NEW_LINE> <INDENT> def __init__(self, julius='julius', conf='', grammar='', target_score=0): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.target_score = target_score <NEW_LINE> self._server = JuliusServer(julius, conf, grammar) <NEW_LINE> self._server.start() <NEW_LINE> <DEDENT> def re... | A class for recognition using by Julius.
This can choose high score recognition. | 6259907d56b00c62f0fb432c |
class RingLight(RingEntityMixin, LightEntity): <NEW_LINE> <INDENT> def __init__(self, config_entry_id, device): <NEW_LINE> <INDENT> super().__init__(config_entry_id, device) <NEW_LINE> self._unique_id = device.id <NEW_LINE> self._light_on = device.lights == ON_STATE <NEW_LINE> self._no_updates_until = dt_util.utcnow() ... | Creates a switch to turn the ring cameras light on and off. | 6259907d656771135c48ad5c |
class ChangeStd(): <NEW_LINE> <INDENT> def __init__(self, std): <NEW_LINE> <INDENT> self.std = std <NEW_LINE> <DEDENT> @varargin <NEW_LINE> def __call__(self, x): <NEW_LINE> <INDENT> x_std = torch.std(x.view(len(x), -1), dim=-1) <NEW_LINE> fixed_std = x * (self.std / (x_std + 1e-9)).view(len(x), *[1, ] * (x.dim() - 1))... | Change the standard deviation of input.
Arguments:
std (float or tensor): Desired std. If tensor, it should be the same length as x. | 6259907daad79263cf430212 |
class ThetaLocator(mticker.Locator): <NEW_LINE> <INDENT> def __init__(self, base): <NEW_LINE> <INDENT> self.base = base <NEW_LINE> self.axis = self.base.axis = _AxisWrapper(self.base.axis) <NEW_LINE> <DEDENT> def set_axis(self, axis): <NEW_LINE> <INDENT> self.axis = _AxisWrapper(axis) <NEW_LINE> self.base.set_axis(self... | Used to locate theta ticks.
This will work the same as the base locator except in the case that the
view spans the entire circle. In such cases, the previously used default
locations of every 45 degrees are returned. | 6259907d167d2b6e312b82c0 |
class CoursesItemRESTHandler(utils.BaseRESTHandler): <NEW_LINE> <INDENT> COPY_SAMPLE_COURSE_HOOKS = [] <NEW_LINE> URI = '/rest/courses/item' <NEW_LINE> XSRF_ACTION = 'add-course-put' <NEW_LINE> def put(self): <NEW_LINE> <INDENT> request = transforms.loads(self.request.get('request')) <NEW_LINE> if not self.assert_xsrf_... | Provides REST API for course entries. | 6259907d23849d37ff852b11 |
class _FileProxyMixin(object): <NEW_LINE> <INDENT> def __getattr__(self, attr): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return getattr(self.file, attr) <NEW_LINE> <DEDENT> except AttributeError: <NEW_LINE> <INDENT> raise AttributeError( '%s object has no attribute "%s".' % ( self.__class__.__name__, attr)) <NEW_LI... | Proxy methods from an underlying file. | 6259907d5fc7496912d48f97 |
class LayeredListsTests(unittest.TestCase): <NEW_LINE> <INDENT> def testOneLayerNoDepth(self): <NEW_LINE> <INDENT> a = [1, [2], 3] <NEW_LINE> b = [4, [5], 6] <NEW_LINE> expected = ([1, [2], 3], [4, [5], 6]) <NEW_LINE> self.assertEqual(flatten_two_lists(a, b, 0), expected) <NEW_LINE> <DEDENT> def testOneLayerOneDepth(se... | Layered lists with various elements, various depth | 6259907d5fcc89381b266e88 |
class ActorFuture(object): <NEW_LINE> <INDENT> def __init__(self, q, io_loop): <NEW_LINE> <INDENT> self.q = q <NEW_LINE> self.io_loop = io_loop <NEW_LINE> <DEDENT> def result(self, timeout=None): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return self._cached_result <NEW_LINE> <DEDENT> except AttributeError: <NEW_LINE... | Future to an actor's method call
Whenever you call a method on an Actor you get an ActorFuture immediately
while the computation happens in the background. You can call ``.result``
to block and collect the full result
See Also
--------
Actor | 6259907da8370b77170f1e29 |
class Resource(object): <NEW_LINE> <INDENT> def __init__(self, name, ops): <NEW_LINE> <INDENT> log.debug(u"Building resource '%s'", name) <NEW_LINE> self.name = name <NEW_LINE> self.operations = ops <NEW_LINE> <DEDENT> def __deepcopy__(self, memo=None): <NEW_LINE> <INDENT> if memo is None: <NEW_LINE> <INDENT> memo = {}... | A Swagger resource is associated with multiple operations.
:param name: resource name
:type name: str
:param ops: operations associated with this resource (by tag)
:type ops: dict where (key, value) = (op_name, Operation) | 6259907d7d847024c075de36 |
class Taggable(object): <NEW_LINE> <INDENT> tags_attr = None <NEW_LINE> force_lower_case = True <NEW_LINE> def add_tags(self, names): <NEW_LINE> <INDENT> existing_tags = getattr(self, self.__class__.tags_attr, []) <NEW_LINE> if self.force_lower_case: <NEW_LINE> <INDENT> names = names.lower() <NEW_LINE> <DEDENT> name_li... | Taggable mixin class. Requirements for sub-classes are:
- must have a class attribute 'tags_attr', which is the attribute name of tags.
- self.save(): saves the instance to database. | 6259907d26068e7796d4e398 |
class OperationMetadata(_messages.Message): <NEW_LINE> <INDENT> createTime = _messages.StringField(1) <NEW_LINE> endTime = _messages.StringField(2) | OperationMetadata will be used and required as metadata for all
operations that created by Container Analysis Providers
Fields:
createTime: Output only. The time this operation was created.
endTime: Output only. The time that this operation was marked completed or
failed. | 6259907d55399d3f05627f6e |
class Processor(AwardProcessor): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> AwardProcessor.__init__(self, 'Nomad', 'Longest Avg. Distance Between Kills', [PLAYER_COL, Column('Meters', Column.NUMBER, Column.DESC)]) <NEW_LINE> self.player_to_pos = dict() <NEW_LINE> self.distance = collections.Counter() <... | Overview
This processor tracks the maximum distance travelled between kills.
Implementation
This implementation tracks the distance travelled between kills...
(Distance between prior kill and current kill) The fact that you ran
around like a madman for 5 minutes doing laps around the map doesn't
help you out in this c... | 6259907dfff4ab517ebcf272 |
class NextHopResult(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, 'route_table_id': {'key': 'routeTableId', 'type': 'str'}, } <NEW_LINE> def __init__( self, *, next_hop_type: ... | The information about next hop from the specified VM.
:param next_hop_type: Next hop type. Possible values include: "Internet", "VirtualAppliance",
"VirtualNetworkGateway", "VnetLocal", "HyperNetGateway", "None".
:type next_hop_type: str or ~azure.mgmt.network.v2019_06_01.models.NextHopType
:param next_hop_ip_address... | 6259907d4527f215b58eb6cd |
@inherit_doc <NEW_LINE> class FeatureHasher(JavaTransformer, HasInputCols, HasOutputCol, HasNumFeatures, JavaMLReadable, JavaMLWritable): <NEW_LINE> <INDENT> categoricalCols = Param(Params._dummy(), "categoricalCols", "numeric columns to treat as categorical", typeConverter=TypeConverters.toListString) <NEW_LINE> @keyw... | .. note:: Experimental
Feature hashing projects a set of categorical or numerical features into a feature vector of
specified dimension (typically substantially smaller than that of the original feature
space). This is done using the hashing trick (https://en.wikipedia.org/wiki/Feature_hashing)
to map features to indi... | 6259907d67a9b606de5477d3 |
class Token(object): <NEW_LINE> <INDENT> def __init__(self, digit): <NEW_LINE> <INDENT> self.digit = digit <NEW_LINE> self.color = "black" <NEW_LINE> if self.digit == 2 or self.digit == 12: <NEW_LINE> <INDENT> self.pips = 1 <NEW_LINE> <DEDENT> elif self.digit == 3 or self.digit == 11: <NEW_LINE> <INDENT> self.pips = 2 ... | Class for defining a Tile Object
Current Attributes
------------------
digit: Int
color: String
pips: Int
Methods
-------
place_tile(int, int)
get_token_dict() | 6259907dad47b63b2c5a92aa |
class TipoHiloCuerda(BaseConstModel): <NEW_LINE> <INDENT> __tablename__ = 'tipo_hilo_cuerda' | Los diferentes marteriales que se pueden llegar a usar para hacer
la cuerda. | 6259907dbf627c535bcb2f2b |
class TextSearch(BaseExpression): <NEW_LINE> <INDENT> def __init__(self, pattern, use_re=False, case=False): <NEW_LINE> <INDENT> self._pattern = unicode(pattern) <NEW_LINE> self.negated = 0 <NEW_LINE> self.use_re = use_re <NEW_LINE> self.case = case <NEW_LINE> self._build_re(self._pattern, use_re=use_re, case=case) <NE... | A term that does a normal text search
Both page content and the page title are searched, using an
additional TitleSearch term. | 6259907d167d2b6e312b82c1 |
class MeanBias(BinaryMetric): <NEW_LINE> <INDENT> def run(self, ref_dataset, target_dataset, absolute=False): <NEW_LINE> <INDENT> diff = ref_dataset.values - target_dataset.values <NEW_LINE> if absolute: <NEW_LINE> <INDENT> diff = abs(diff) <NEW_LINE> <DEDENT> mean_bias = diff.mean(axis=0) <NEW_LINE> return mean_bias | Calculate the mean bias | 6259907d56b00c62f0fb432e |
class ILESSCSSControlPanel(Interface): <NEW_LINE> <INDENT> enable_less_stylesheets = schema.Bool( title=_(u'label_enable_less_stylesheets', default=u'Enable client-side compiling LESS stylesheets'), description=_(u'help_enable_less_stylesheets', default=u"This setting will control the way LESS stylesheets are compiled ... | Global oAuth settings. This describes records stored in the
configuration registry and obtainable via plone.registry. | 6259907d91f36d47f2231bbb |
class figure_dialog(wx.Dialog): <NEW_LINE> <INDENT> def __init__(self, parent): <NEW_LINE> <INDENT> pre = wx.PreDialog() <NEW_LINE> self.PostCreate(pre) <NEW_LINE> res = xrc.XmlResource('figure_name_dialog.xrc') <NEW_LINE> res.LoadOnDialog(self, None, "main_dialog") <NEW_LINE> self.Bind(wx.EVT_BUTTON, self.on_ok, xrc.X... | Dialog to set a group of plot descriptions as a
:py:class:`figure` instance. The dialog prompts the user for a
figure name and number. The number sets the hotkey on the figure
menu for switching to that plot. Note that no attempt is made to
check if the user is overwriting an existing figure on the menu.
Note that ... | 6259907d5fcc89381b266e89 |
class Base(): <NEW_LINE> <INDENT> G_TYPE_CONSTANT = 'CONSTANT' <NEW_LINE> G_TYPE_VARIABLE = 'VARIABLE' <NEW_LINE> G_TYPE_OPERATION = 'OPERATION' <NEW_LINE> def __init__(self, name, value, type): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.value = value <NEW_LINE> self.type = type <NEW_LINE> <DEDENT> def __re... | 自动求导基类 | 6259907d283ffb24f3cf52fb |
class ProfileCustom(ProfileM3A8): <NEW_LINE> <INDENT> arch = 'custom' | A Profile measure class for Custom. | 6259907de1aae11d1e7cf53f |
class ActionConflictError(Exception): <NEW_LINE> <INDENT> def __init__(self, message, conflicting_state, states, g, item1, item2): <NEW_LINE> <INDENT> Exception.__init__(self, message) <NEW_LINE> self.states = states <NEW_LINE> self.conflicting_state = conflicting_state <NEW_LINE> self.g = g <NEW_LINE> self.item1 = ite... | Raised during a construction of a parser, if the grammar is not LR(k). | 6259907d1b99ca4002290263 |
class Parameter_Stmt(StmtBase, CALLBase): <NEW_LINE> <INDENT> subclass_names = [] <NEW_LINE> use_names = ['Named_Constant_Def_List'] <NEW_LINE> def match(string): return CALLBase.match('PARAMETER', Named_Constant_Def_List, string, require_rhs=True) <NEW_LINE> match = staticmethod(match) | <parameter-stmt> = PARAMETER ( <named-constant-def-list> ) | 6259907dfff4ab517ebcf274 |
class InlineAdminForm(AdminForm): <NEW_LINE> <INDENT> def __init__(self, formset, form, fieldsets, prepopulated_fields, original): <NEW_LINE> <INDENT> self.formset = formset <NEW_LINE> self.original = original <NEW_LINE> if original is not None: <NEW_LINE> <INDENT> self.original_content_type_id = ContentType.objects.ge... | A wrapper around an inline form for use in the admin system. | 6259907ddc8b845886d55017 |
class Discarded(Event, AggregateRoot.Discarded): <NEW_LINE> <INDENT> @property <NEW_LINE> def user_id(self): <NEW_LINE> <INDENT> return self.__dict__['user_id'] | Published when a list is discarded. | 6259907df548e778e596cfee |
class RubyXdg(RubyPackage): <NEW_LINE> <INDENT> homepage = "https://www.alchemists.io/projects/xdg/" <NEW_LINE> url = "https://rubygems.org/downloads/xdg-2.2.5.gem" <NEW_LINE> version('2.2.5', sha256='f3a5f799363852695e457bb7379ac6c4e3e8cb3a51ce6b449ab47fbb1523b913', expand=False) | Provides a Ruby implementation of the XDG Base Directory Specification.
| 6259907da8370b77170f1e2c |
class CompileZip(compile_rule.CompileBase): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> self.file_mapper = kwargs.pop('file_mapper', lambda f: f) <NEW_LINE> super(CompileZip, self).__init__(*args, **kwargs) <NEW_LINE> <DEDENT> def version(self): <NEW_LINE> <INDENT> return 1 <NEW_LINE> <... | Compile all the input files into a zipfile. | 6259907d5fcc89381b266e8a |
class PagingSchema(Schema): <NEW_LINE> <INDENT> page = fields.Int() <NEW_LINE> pages = fields.Int() <NEW_LINE> per_page = fields.Int() <NEW_LINE> total = fields.Int() <NEW_LINE> @post_dump(pass_many=False) <NEW_LINE> def move_to_meta(self, data): <NEW_LINE> <INDENT> items = data.pop('items') <NEW_LINE> return {'meta': ... | Base class for paging schema. | 6259907d4f6381625f19a1dc |
class UnifispotModule(Blueprint): <NEW_LINE> <INDENT> def __init__(self, name,mtype,*args, **kwargs): <NEW_LINE> <INDENT> name = "unifispot.modules." + name <NEW_LINE> self.mtype = mtype <NEW_LINE> super(UnifispotModule, self).__init__(name, *args, **kwargs) | Overwrite blueprint namespace to unifispot.modules.name | 6259907d7d847024c075de3a |
class ProgressBar: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.count = 0 <NEW_LINE> <DEDENT> def update(self, tmp, block_size, total_size): <NEW_LINE> <INDENT> self.count += block_size <NEW_LINE> percent = f"{int(100 * self.count / total_size)}" <NEW_LINE> filled_length = int(100 * self.count // to... | Basic Progress Bar.
Inspired from: https://stackoverflow.com/questions/3173320/text-progress-bar-in-the-console | 6259907da8370b77170f1e2d |
class Cgmvolf(Cgmvapich2, OpenBLAS, ScaLAPACK, Fftw): <NEW_LINE> <INDENT> NAME = 'cgmvolf' | Compiler toolchain with Clang, GFortran, MVAPICH2, OpenBLAS, ScaLAPACK and FFTW. | 6259907d8a349b6b43687cba |
@ddt.ddt <NEW_LINE> class AccessibilityPageTest(AcceptanceTest): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(AccessibilityPageTest, self).setUp() <NEW_LINE> self.accessibility_page = AccessibilityPage(self.browser) <NEW_LINE> <DEDENT> def test_page_loads(self): <NEW_LINE> <INDENT> self.accessibility_... | Test that a user can access the page and submit studio accessibility feedback. | 6259907d7cff6e4e811b749d |
class tsRazaoSocial(pyxb.binding.datatypes.string): <NEW_LINE> <INDENT> _ExpandedName = pyxb.namespace.ExpandedName(Namespace, "tsRazaoSocial") <NEW_LINE> _XSDLocation = pyxb.utils.utility.Location( "/Users/Marcelo/Dev/Projetos/PyNFSe/PyNFSe/XSD/Curitiba/Template/nfse.xsd", 124, 1 ) <NEW_LINE> _Documentation = None | An atomic simple type. | 6259907de1aae11d1e7cf540 |
class Disk_on_sphere(Function2D, metaclass=FunctionMeta): <NEW_LINE> <INDENT> def _set_units(self, x_unit, y_unit, z_unit): <NEW_LINE> <INDENT> self.lon0.unit = x_unit <NEW_LINE> self.lat0.unit = y_unit <NEW_LINE> self.radius.unit = x_unit <NEW_LINE> <DEDENT> def evaluate(self, x, y, lon0, lat0, radius): <NEW_LINE> <IN... | description :
A bidimensional disk/tophat function on a sphere (in spherical coordinates)
latex : $$ f(\vec{x}) = \left(\frac{180}{\pi}\right)^2 \frac{1}{\pi~({\rm radius})^2} ~\left\{\begin{matrix} 1 & {\rm if}& {\rm | \vec{x} - \vec{x}_0| \le {\rm radius}} \\ 0 & {\rm if}& {\rm | \vec{x} - \vec{x}_0| > {\rm rad... | 6259907d66673b3332c31e5c |
class Fitness(object): <NEW_LINE> <INDENT> def __init__(self, value=0, category=MAX): <NEW_LINE> <INDENT> self.value = value <NEW_LINE> self.category = category <NEW_LINE> <DEDENT> def deep_copy(self): <NEW_LINE> <INDENT> return copy.deepcopy(self) <NEW_LINE> <DEDENT> def __lt__(self, fitness): <NEW_LINE> <INDENT> if s... | Fitness categories(types):
MIN == 1 -> grater fitness is better
MAX == 0 -> smaller fitness is better | 6259907d5166f23b2e244e36 |
class ListCommand(lister.Lister, command.Command): <NEW_LINE> <INDENT> columns = ('uuid', 'label', 'status') <NEW_LINE> def get_parser(self, prog_name): <NEW_LINE> <INDENT> parser = super(ListCommand, self).get_parser(prog_name) <NEW_LINE> return parser <NEW_LINE> <DEDENT> def take_action(self, parsed_args): <NEW_LINE>... | List all available bootstrap images. | 6259907d97e22403b383c95e |
class PostCategory(Base) : <NEW_LINE> <INDENT> __tablename__ = 'post_categories' <NEW_LINE> id = Column(Integer, primary_key=True) <NEW_LINE> name = Column(String(64), index=True, unique=True) <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return '<Category %r>' % self.name | Create Categories table For Posts | 6259907d5fdd1c0f98e5f9dd |
class UserSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = get_user_model() <NEW_LINE> fields = ('email', 'password', 'name') <NEW_LINE> extra_kwargs = {'password': {'write_only': True, 'min_length': 5}} <NEW_LINE> <DEDENT> def create(self, validated_data): <NEW_LINE>... | Serializer for the user object. | 6259907d67a9b606de5477d5 |
@mock.patch('os.chdir') <NEW_LINE> class ChdirTests(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.orig_cwd = os.getcwd() <NEW_LINE> self.dst_dir = 'test' <NEW_LINE> <DEDENT> def test_os_chdir_is_called_with_dst_dir_in_entry(self, mock_chdir): <NEW_LINE> <INDENT> with chdir(self.dst_d... | Tests for the chdir() context manager. | 6259907d7047854f46340e14 |
class UserCart(object): <NEW_LINE> <INDENT> def __init__(self, user_id=None): <NEW_LINE> <INDENT> self.swagger_types = { 'user_id': 'int' } <NEW_LINE> self.attribute_map = { 'user_id': 'userId' } <NEW_LINE> self._user_id = user_id <NEW_LINE> <DEDENT> @property <NEW_LINE> def user_id(self): <NEW_LINE> <INDENT> return se... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 6259907d63b5f9789fe86bc6 |
class ExamRoom(models.Model): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> verbose_name = _('Klausurraum') <NEW_LINE> verbose_name_plural = _('Klausurräume') <NEW_LINE> ordering = ['available', '-capacity_1_free', '-capacity_2_free', 'room'] <NEW_LINE> <DEDENT> room = models.OneToOneField('ophasebase.Room', mode... | A room which is suitable for the exam. | 6259907d283ffb24f3cf52ff |
class TestPyfakefsUnittest(fake_filesystem_unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.setUpPyfakefs() <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> self.tearDownPyfakefs() <NEW_LINE> <DEDENT> def test_file(self): <NEW_LINE> <INDENT> self.assertFalse(os.path.exists('/... | Test the pyfakefs.fake_filesystem_unittest.TestCase` base class. | 6259907de1aae11d1e7cf541 |
class Setle(X86InstructionBase): <NEW_LINE> <INDENT> def __init__(self, prefix, mnemonic, operands, architecture_mode): <NEW_LINE> <INDENT> super(Setle, self).__init__(prefix, mnemonic, operands, architecture_mode) <NEW_LINE> <DEDENT> @property <NEW_LINE> def source_operands(self): <NEW_LINE> <INDENT> return [ ] <NEW_L... | Representation of Setle x86 instruction. | 6259907d3346ee7daa338391 |
class TokenAndKeyAuthentication(TokenAuthentication): <NEW_LINE> <INDENT> model = AuthToken <NEW_LINE> def authenticate(self, request): <NEW_LINE> <INDENT> apikey = request.META.get('X_API_KEY', '') <NEW_LINE> if apikey and not ApiKey.objects.filter(key=apikey, active=True).exists(): <NEW_LINE> <INDENT> raise exception... | A custom token authetication backend that checks the an API key as well.
Additionally, the the user account must be active and verified. | 6259907dbe7bc26dc9252b85 |
class Cell(object): <NEW_LINE> <INDENT> def __init__(self, row, col): <NEW_LINE> <INDENT> self.row = row <NEW_LINE> self.col = col <NEW_LINE> self.visited = False <NEW_LINE> self.active = False <NEW_LINE> self.is_entry_exit = None <NEW_LINE> self.walls = {"top": True, "right": True, "bottom": True, "left": True} <NEW_L... | Class for representing a cell in a 2D grid.
Attributes:
row (int): The row that this cell belongs to
col (int): The column that this cell belongs to
visited (bool): True if this cell has been visited by an algorithm
active (bool):
is_entry_exit (bool): True when the cell is the beginning or end of t... | 6259907d3617ad0b5ee07bad |
@enum.unique <NEW_LINE> class WinSpecTimingMode(enum.IntEnum): <NEW_LINE> <INDENT> free_run = 1 <NEW_LINE> external_sync = 3 | Enum for specification of the WinSpec timing mode.
Attributes
free_run (int):
Alias for free run mode. Corresponds to value 1.
external_sync (int):
Alias for external trigger mode. Corresponds to value 3. | 6259907d55399d3f05627f74 |
class TIMEOUT(Error): <NEW_LINE> <INDENT> pass | Timeout condition.
| 6259907d44b2445a339b768d |
class TrialFramesDir(FileFinder): <NEW_LINE> <INDENT> glob_pattern = '*frames*' <NEW_LINE> @classmethod <NEW_LINE> def generate_name(self, dirname): <NEW_LINE> <INDENT> return os.path.join(dirname, 'frames') | Finds directory containing frames at time of retraction | 6259907df548e778e596cff1 |
@logger.init('gui', 'DEBUG') <NEW_LINE> class Folder(widgets.Push): <NEW_LINE> <INDENT> def __init__(self, title, widget, parent=None): <NEW_LINE> <INDENT> self.title = title <NEW_LINE> self.widget = widget <NEW_LINE> super(Folder, self).__init__(icon=qt.IMAGES['folder_icon'], connect=self.__connect, parent=parent) <NE... | Subclass that resizes to a fixed size with a bound folder icon | 6259907d5fdd1c0f98e5f9df |
class RelatedCollectionsModule(Model): <NEW_LINE> <INDENT> _validation = { 'value': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'value': {'key': 'value', 'type': '[ImageGallery]'}, } <NEW_LINE> def __init__(self, **kwargs) -> None: <NEW_LINE> <INDENT> super(RelatedCollectionsModule, self).__init__(**kwargs) <NE... | Defines a list of webpages that contain related images.
Variables are only populated by the server, and will be ignored when
sending a request.
:ivar value: A list of webpages that contain related images.
:vartype value:
list[~azure.cognitiveservices.search.imagesearch.models.ImageGallery] | 6259907d283ffb24f3cf5300 |
class AzureFirewallRCAction(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, } <NEW_LINE> def __init__( self, **kwargs ): <NEW_LINE> <INDENT> super(AzureFirewallRCAction, self).__init__(**kwargs) <NEW_LINE> self.type = kwargs.get('type', None) | Properties of the AzureFirewallRCAction.
:param type: The type of action. Possible values include: "Allow", "Deny".
:type type: str or ~azure.mgmt.network.v2018_10_01.models.AzureFirewallRCActionType | 6259907d656771135c48ad60 |
class Gradient_Descent(BaseAlgorithm): <NEW_LINE> <INDENT> requires = 'real' <NEW_LINE> def __init__(self, space, learning_rate=1., dx_tolerance=1e-7): <NEW_LINE> <INDENT> super(Gradient_Descent, self).__init__(space, learning_rate=learning_rate, dx_tolerance=dx_tolerance) <NEW_LINE> self.has_observed_once = False <NEW... | Implement a gradient descent algorithm. | 6259907d4f88993c371f1252 |
class fds_postfinance_account_sepa(models.Model): <NEW_LINE> <INDENT> _inherit = 'fds.postfinance.account' <NEW_LINE> sepa_upload_ids = fields.One2many( comodel_name='fds.sepa.upload.history', inverse_name='fds_account_id', readonly=True, ) | Add SEPA upload history to the model fds.postfinance.account
| 6259907d4f6381625f19a1de |
class CalendarFilter(Filter): <NEW_LINE> <INDENT> content_type = "text/calendar" <NEW_LINE> def __init__(self, default_timezone): <NEW_LINE> <INDENT> self.tzify = lambda dt: as_tz_aware_ts(dt, default_timezone) <NEW_LINE> self.children = [] <NEW_LINE> <DEDENT> def filter_subcomponent(self, name, is_not_defined=False, t... | A filter that works on ICalendar files. | 6259907d5fcc89381b266e8c |
class ParserError(Exception): <NEW_LINE> <INDENT> def __init__(self, file, error): <NEW_LINE> <INDENT> self.file = file <NEW_LINE> self.error = error <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return "Parsing failed for {file} due to {error}".format( file=self.file, error=self.error) | Exception thrown when parsing does not complete | 6259907d3d592f4c4edbc88f |
class DomainTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def test_ListDomains_RegisterDomain_DescribeDomain_DeprecateDomain(self): <NEW_LINE> <INDENT> swf = util.BasicSwfSetup(self) <NEW_LINE> new_domain_name = util.create_new_name() <NEW_LINE> domain_pager = swf.client.get_paginator('list_domains') <NEW_LINE> know... | Integration tests for SWF domains | 6259907df9cc0f698b1c5ffd |
class FloatParamUpdate: <NEW_LINE> <INDENT> def __init__( self, name, value): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.value = value <NEW_LINE> <DEDENT> def __eq__(self, to_compare): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return (self.name == to_compare.name) and (self.va... | A float param that has been updated.
Parameters
----------
name : std::string
Name of param that changed
value : float
New value of param | 6259907de1aae11d1e7cf542 |
class ExpressRouteServiceProvidersOperations(object): <NEW_LINE> <INDENT> models = models <NEW_LINE> def __init__(self, client, config, serializer, deserializer): <NEW_LINE> <INDENT> self._client = client <NEW_LINE> self._serialize = serializer <NEW_LINE> self._deserialize = deserializer <NEW_LINE> self.api_version = "... | ExpressRouteServiceProvidersOperations operations.
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An objec model deserializer.
:ivar api_version: Client API version. Constant value: "2016-12-01". | 6259907d97e22403b383c962 |
class CesePeriodic(periodic): <NEW_LINE> <INDENT> def init(self, **kw): <NEW_LINE> <INDENT> svr = self.svr <NEW_LINE> ngstcell = svr.ngstcell <NEW_LINE> ngstface = svr.ngstface <NEW_LINE> facn = self.facn <NEW_LINE> slctm = self.rclp[:,0] + ngstcell <NEW_LINE> slctr = self.rclp[:,1] + ngstcell <NEW_LINE> shf = svr.cecn... | General periodic boundary condition for sequential runs. | 6259907d1b99ca4002290266 |
class OpForbidden(Exception): <NEW_LINE> <INDENT> pass | Operation forbidden exception. | 6259907d4527f215b58eb6d1 |
class TestingConfig(Config): <NEW_LINE> <INDENT> DEBUG = True | configurations for testing environment | 6259907d167d2b6e312b82c5 |
class List(Container): <NEW_LINE> <INDENT> def iter_and_match(self, path, val): <NEW_LINE> <INDENT> for i in range(len(val)): <NEW_LINE> <INDENT> self.match_spec(self.spec, "%s[%d]" % (path, i), val[i]) | Spec is a Type that is matched against all elements | 6259907d7b180e01f3e49d96 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.