code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class ABCMutableSetMap(ABCSetMap, MutableSet): <NEW_LINE> <INDENT> pass | Abstract SetMap class that allows mutation via add/update/discard/remove
In addition to abstract methods `__getitem__` and `data` as for SetMap,
this class requires methods `add` and `discard`. From those it supplies
methods `update`, `remove`, `clear`, `pop` and the in-place set operations. | 62598fd4dc8b845886d53a82 |
class AnimReplacementSet(Structure): <NEW_LINE> <INDENT> fields = Skeleton( IDField(), UnknownField(), ) | AnimReplacementSet.dbc
New in 4.0.0.11927 | 62598fd497e22403b383b3ce |
class QuadPotentialFullInv(QuadPotential): <NEW_LINE> <INDENT> def __init__(self, A, dtype=None): <NEW_LINE> <INDENT> if dtype is None: <NEW_LINE> <INDENT> dtype = "float32" <NEW_LINE> <DEDENT> self.dtype = dtype <NEW_LINE> self.L = scipy.linalg.cholesky(A, lower=True) <NEW_LINE> <DEDENT> def velocity(self, x, out=None... | QuadPotential object for Hamiltonian calculations using inverse of covariance matrix. | 62598fd4bf627c535bcb1974 |
class TestScriptInputArguments(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.__input_args_parser = config_parse_input_args() <NEW_LINE> <DEDENT> def test_help_argument(self): <NEW_LINE> <INDENT> self.assertIsNotNone(self.__input_args_parser.format_help()) <NEW_LINE> <DEDENT> def test... | Class for testing the parsing of the input of the script
| 62598fd40fa83653e46f53af |
class DefensiveReflexAgent(ReflexCaptureAgent): <NEW_LINE> <INDENT> def chooseAction(self,gameState): <NEW_LINE> <INDENT> self.invader = [] <NEW_LINE> for i in self.getOpponents(gameState): <NEW_LINE> <INDENT> if gameState.getAgentState(i).isPacman and gameState.getAgentState(i).getPosition() != None: <NEW_LINE> <INDEN... | A reflex agent that keeps its side Pacman-free. Again,
this is to give you an idea of what a defensive agent
could be like. It is not the best or only way to make
such an agent. | 62598fd4dc8b845886d53a84 |
class Array8(Generic[A1, A2, A3, A4, A5, A6, A7, A8], _ArrayBase): <NEW_LINE> <INDENT> pass | A tensor of rank 4. | 62598fd4fbf16365ca794584 |
class V1PodTemplate(object): <NEW_LINE> <INDENT> def __init__(self, api_version=None, metadata=None, kind=None, template=None): <NEW_LINE> <INDENT> self.swagger_types = { 'api_version': 'str', 'metadata': 'V1ObjectMeta', 'kind': 'str', 'template': 'V1PodTemplateSpec' } <NEW_LINE> self.attribute_map = { 'api_version': '... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598fd497e22403b383b3d0 |
class SqlData(NamedTuple): <NEW_LINE> <INDENT> text: List[str] <NEW_LINE> text_with_variables: List[str] <NEW_LINE> variable_tags: List[str] <NEW_LINE> sql: List[str] <NEW_LINE> text_variables: Dict[str, str] <NEW_LINE> sql_variables: Dict[str, str] | A utility class for reading in text2sql data.
Parameters
----------
text : ``List[str]``
The tokens in the text of the query.
text_with_variables : ``List[str]``
The tokens in the text of the query with variables
mapped to table names/abstract variables.
variable_tags : ``List[str]``
Labels for each wo... | 62598fd43d592f4c4edbb37d |
class Repne(X86InstructionBase): <NEW_LINE> <INDENT> def __init__(self, prefix, mnemonic, operands, architecture_mode): <NEW_LINE> <INDENT> super(Repne, 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 Repne x86 instruction. | 62598fd4ad47b63b2c5a7d19 |
class Constant(InitializerMixin): <NEW_LINE> <INDENT> def _run_backend_specific_init(self): <NEW_LINE> <INDENT> self._initializer = tf.constant_initializer( value=self.args['value'], dtype=self._get_dtype()) | Implement Constant in Tensorflow backend.
See :any:`ConstantInitializer` for detail. | 62598fd4377c676e912f6fdd |
class UserTVShowCollectionView(APIView): <NEW_LINE> <INDENT> authentication_classes = (authentication.TokenAuthentication,) <NEW_LINE> @staticmethod <NEW_LINE> def get(request): <NEW_LINE> <INDENT> profile = get_object_or_404(UserProfile, user=request.user) <NEW_LINE> serializer = TVShowCollectionSerializer(profile.tv_... | A view for the tv-shows collection of current user. | 62598fd40fa83653e46f53b0 |
class Match(object): <NEW_LINE> <INDENT> def __init__(self, c, p): <NEW_LINE> <INDENT> self.conf = c <NEW_LINE> self.point = p <NEW_LINE> <DEDENT> def __lt__(self, other): <NEW_LINE> <INDENT> if isinstance(other, Match): <NEW_LINE> <INDENT> return self.conf < other.conf <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> ret... | This class stores a match of an image recognition task.
:param c: The confidence with which the match was performed (between 0 and 1).
:type c: float
:param p: The point at which the template was found.
:type p: :class:`Point`
Comparison of ``Match``-objects is implemented by comparing the confidence-values. Therefor... | 62598fd43617ad0b5ee06611 |
class ControlElement(Disconnectable): <NEW_LINE> <INDENT> class ProxiedInterface(object): <NEW_LINE> <INDENT> send_midi = nop <NEW_LINE> reset_state = nop <NEW_LINE> def __init__(self, outer = None, *a, **k): <NEW_LINE> <INDENT> super(ControlElement.ProxiedInterface, self).__init__(*a, **k) <NEW_LINE> self._outer = out... | Base class for all classes representing control elements on a
control surface | 62598fd47cff6e4e811b5ef2 |
class FT6336U(): <NEW_LINE> <INDENT> read_buffer = bytearray(2) <NEW_LINE> write_buffer = bytearray(1) <NEW_LINE> def __init__(self, i2c, rst=None): <NEW_LINE> <INDENT> if I2C_ADDRESS not in i2c.scan(): <NEW_LINE> <INDENT> raise OSError("Chip not detected") <NEW_LINE> <DEDENT> self.i2c = i2c <NEW_LINE> self.rst = rst <... | Focus LCDs' FT6336U driver and its interfaces | 62598fd4ab23a570cc2d4fd2 |
class XEP_0300(BasePlugin): <NEW_LINE> <INDENT> name = 'xep_0300' <NEW_LINE> description = 'XEP-0300: Use of Cryptographic Hash Functions in XMPP' <NEW_LINE> dependencies = {'xep_0030'} <NEW_LINE> stanza = stanza <NEW_LINE> default_config = { 'block_size': 1024 * 1024, 'preferred': 'sha-256', 'enable_sha-1': False, 'en... | XEP-0300: Use of Cryptographic Hash Functions in XMPP | 62598fd4d8ef3951e32c80c0 |
class PageFactory(): <NEW_LINE> <INDENT> def get_page_object(page_name,base_url=conf.base_url_conf.base_url): <NEW_LINE> <INDENT> test_obj = None <NEW_LINE> page_name = page_name.lower() <NEW_LINE> if page_name in ["zero","zero page","agent zero"]: <NEW_LINE> <INDENT> test_obj = Zero_Page(base_url=base_url) <NEW_LINE> ... | PageFactory uses the factory design pattern. | 62598fd4377c676e912f6fde |
@tienda_nube <NEW_LINE> class MailMessageRecordImport(TiendaNubeImporter): <NEW_LINE> <INDENT> _model_name = 'tienda_nube.mail.message' <NEW_LINE> def _import_dependencies(self): <NEW_LINE> <INDENT> record = self.tienda_nube_record <NEW_LINE> self._import_dependency(record['id_order'], 'tienda_nube.sale.order') <NEW_LI... | Import one simple record | 62598fd4fbf16365ca794588 |
class IxnOFSwitchChannelEmulation(IxnEmulationHost): <NEW_LINE> <INDENT> STATE_DOWN = 'down' <NEW_LINE> STATE_NOTSTARTED = 'notStarted' <NEW_LINE> STATE_UP = 'up' <NEW_LINE> def __init__(self, ixnhttp): <NEW_LINE> <INDENT> super(IxnOFSwitchChannelEmulation, self).__init__(ixnhttp) <NEW_LINE> <DEDENT> def find(self, vpo... | Generated NGPF OFSwitchChannel emulation host | 62598fd4bf627c535bcb197a |
class SignalGenerator(with_metaclass(abc.ABCMeta, Instrument)): <NEW_LINE> <INDENT> @abc.abstractproperty <NEW_LINE> def channel(self): <NEW_LINE> <INDENT> raise NotImplementedError | Python abstract base class for signal generators (eg microwave sources).
This ABC is not for function generators, which have their own separate ABC.
.. seealso::
`~instruments.FunctionGenerator` | 62598fd460cbc95b0636480a |
@implementer(interfaces.ISavepoint) <NEW_LINE> class Savepoint(object): <NEW_LINE> <INDENT> def __init__(self, transaction, optimistic, *resources): <NEW_LINE> <INDENT> self.transaction = transaction <NEW_LINE> self._savepoints = savepoints = [] <NEW_LINE> for datamanager in resources: <NEW_LINE> <INDENT> try: <NEW_LIN... | Implementation of `~transaction.interfaces.ISavepoint`, a transaction savepoint.
Transaction savepoints coordinate savepoints for data managers
participating in a transaction. | 62598fd43617ad0b5ee06615 |
class ToolbarMiddleware(object): <NEW_LINE> <INDENT> def process_request(self, request): <NEW_LINE> <INDENT> edit_on = get_cms_setting('CMS_TOOLBAR_URL__EDIT_ON') <NEW_LINE> edit_off = get_cms_setting('CMS_TOOLBAR_URL__EDIT_OFF') <NEW_LINE> build = get_cms_setting('CMS_TOOLBAR_URL__BUILD') <NEW_LINE> disable = get_cms_... | Middleware to set up CMS Toolbar. | 62598fd4ad47b63b2c5a7d1e |
class PDSViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = ProtocolDataSource.objects.all() <NEW_LINE> serializer_class = ProtocolDataSourceSerializer <NEW_LINE> def list(self, request, *args, **kwargs): <NEW_LINE> <INDENT> pds = [] <NEW_LINE> for p in ProtocolDataSource.objects.all(): <NEW_LINE> <INDENT> ... | API endpoint that allows protocols to be viewed. | 62598fd460cbc95b0636480c |
class ScaleSpace: <NEW_LINE> <INDENT> def __init__(self, gray_image, sigma, s, filters=FilterDict()): <NEW_LINE> <INDENT> if isinstance(gray_image, np.ndarray) and not isinstance(gray_image, Image): <NEW_LINE> <INDENT> gray_image = Image(0, gray_image) <NEW_LINE> <DEDENT> elif not isinstance(gray_image, Image): <NEW_LI... | Scale Space
インスタンス化されると同時に Scale Space と それに基づく DoG の空間を生成して保持する。
また、next_octave プロパティを使うことによって、次のオクターブの空間を生成し、それを返す。
Scale space を構成する画像は、images プロパティを使って参照可能。並び順は σ の小さいもの順。
また、イテレータを用いて for image in scale_space のように参照することもできる。
Dog の空間は、DoG_space プロパティを用いて参照可能。並び順は元画像と同様。 | 62598fd4be7bc26dc92520bf |
class TestStorageCollection(BaseTest): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> with open( 'oneview_redfish_toolkit/mockups/redfish/StorageCollection.json' ) as f: <NEW_LINE> <INDENT> self.storage_collection_mockup = json.load(f) <NEW_LINE> <DEDENT> <DEDENT> def test_serialize(self): <NEW_LINE> <INDENT>... | Tests for StorageCollection class | 62598fd4ad47b63b2c5a7d20 |
class NengoException(Exception): <NEW_LINE> <INDENT> pass | Base class for Nengo exceptions.
NengoException instances should not be created; this base class exists so
that all exceptions raised by Nengo can be caught in a try / except block. | 62598fd455399d3f056269ea |
class SourceRaw: <NEW_LINE> <INDENT> def __init__(self, s): <NEW_LINE> <INDENT> self.s = s <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return self.s | raw string for source persistence.
| 62598fd4656771135c489b42 |
class DataProvider(object): <NEW_LINE> <INDENT> def __init__(self, inputs, targets, batch_size, max_num_batches=-1, shuffle_order=True, rng=None): <NEW_LINE> <INDENT> self.inputs = inputs <NEW_LINE> self.targets = targets <NEW_LINE> if batch_size < 1: <NEW_LINE> <INDENT> raise ValueError('batch_size must be >= 1') <NEW... | Generic data provider. | 62598fd4956e5f7376df58e6 |
class TripletLoss(nn.Module): <NEW_LINE> <INDENT> def __init__(self, margin=0.3): <NEW_LINE> <INDENT> super(TripletLoss, self).__init__() <NEW_LINE> self.margin = margin <NEW_LINE> self.ranking_loss = nn.MarginRankingLoss(margin=margin) <NEW_LINE> <DEDENT> def forward(self, inputs, targets): <NEW_LINE> <INDENT> n = inp... | Triplet loss with hard positive/negative mining.
Reference:
Hermans et al. In Defense of the Triplet Loss for Person Re-Identification. arXiv:1703.07737.
Code imported from https://github.com/Cysu/open-reid/blob/master/reid/loss/triplet.py.
Args:
- margin (float): margin for triplet. | 62598fd4656771135c489b44 |
class CharEmbed(nn.Module): <NEW_LINE> <INDENT> def __init__(self, args): <NEW_LINE> <INDENT> super(CharEmbed, self).__init__() <NEW_LINE> self.embd_size = args.char_embd_dim <NEW_LINE> self.embedding = nn.Embedding(args.char_vocab_size, args.char_embd_dim) <NEW_LINE> self.conv = nn.ModuleList([nn.Conv2d(1, args.out_ch... | In : (N, sentence_len, word_len, vocab_size_c)
Out: (N, sentence_len, c_embd_size) | 62598fd4dc8b845886d53a90 |
class Product(db.Model): <NEW_LINE> <INDENT> __tablename__ = "products" <NEW_LINE> product_id = db.Column(db.Integer, primary_key=True) <NEW_LINE> name = db.Column(db.String(80), nullable=False) <NEW_LINE> description_txt = db.Column(db.Text) <NEW_LINE> media_files = db.relationship( 'MediaFile', backref='product', laz... | Products to be showcased by the UI | 62598fd4a219f33f346c6cd9 |
class DebianSsoUserMiddleware(RemoteUserMiddleware): <NEW_LINE> <INDENT> dacs_header = 'REMOTE_USER' <NEW_LINE> cert_header = 'SSL_CLIENT_S_DN_CN' <NEW_LINE> @staticmethod <NEW_LINE> def dacs_user_to_email(username): <NEW_LINE> <INDENT> parts = [part for part in username.split(':') if part] <NEW_LINE> federation, juris... | Middleware that initiates user authentication based on the REMOTE_USER
field provided by Debian's SSO system, or based on the SSL_CLIENT_S_DN_CN
field provided by the validation of the SSL client certificate generated
by sso.debian.org.
If the currently logged in user is a DD (as identified by having a
@debian.org add... | 62598fd4091ae356687050ef |
class Solution: <NEW_LINE> <INDENT> def removeDuplicates(self, A): <NEW_LINE> <INDENT> if A is None or len(A) == 0: <NEW_LINE> <INDENT> return 0 <NEW_LINE> <DEDENT> value = A[0] <NEW_LINE> count = 1 <NEW_LINE> newIdx = 0 <NEW_LINE> for i in range(1, len(A)): <NEW_LINE> <INDENT> if A[i] != value: <NEW_LINE> <INDENT> new... | @param A: a list of integers
@return an integer | 62598fd4d8ef3951e32c80c5 |
@provides(IOperation) <NEW_LINE> class ThresholdOp(HasStrictTraits): <NEW_LINE> <INDENT> id = Constant('edu.mit.synbio.cytoflow.operations.threshold') <NEW_LINE> friendly_id = Constant("Threshold") <NEW_LINE> name = Str <NEW_LINE> channel = Str <NEW_LINE> threshold = Float(None) <NEW_LINE> _selection_view = Instance('T... | Apply a threshold gate to a cytometry experiment.
Attributes
----------
name : Str
The operation name. Used to name the new column in the
experiment that's created by `apply`
channel : Str
The name of the channel to apply the threshold on.
threshold : Float
The value at which to threshold th... | 62598fd40fa83653e46f53bc |
class EduDataGetter(XMLDataGetter): <NEW_LINE> <INDENT> def __fix_iterator(self, element, fields): <NEW_LINE> <INDENT> return self._make_iterator( element, lambda iterator, logger, encoding: EduKind2Object(iterator, logger, fields, encoding)) <NEW_LINE> <DEDENT> def iter_stprog(self, tag="studprog"): <NEW_LINE> <INDENT... | An abstraction layer for FS files pertaining to educational information. | 62598fd4656771135c489b46 |
class TestCourseTagAPI(TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.user = UserFactory.create() <NEW_LINE> self.course_id = SlashSeparatedCourseKey('test_org', 'test_course_number', 'test_run') <NEW_LINE> self.test_key = 'test_key' <NEW_LINE> <DEDENT> def test_get_set_course_tag(self): <NEW_... | Test the user service | 62598fd4adb09d7d5dc0aa4e |
class Queue(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.items = deque() <NEW_LINE> <DEDENT> def isempty(self): <NEW_LINE> <INDENT> return self.items == deque() <NEW_LINE> <DEDENT> def enqueue(self, item): <NEW_LINE> <INDENT> self.items.appendleft(item) <NEW_LINE> <DEDENT> def dequeue(self)... | An implementation of a queue using the Deque("double-ended queue") Python data structure | 62598fd4a219f33f346c6cdb |
class Stochastic(Benchmark): <NEW_LINE> <INDENT> def __init__(self, dimensions=2): <NEW_LINE> <INDENT> Benchmark.__init__(self, dimensions) <NEW_LINE> self.bounds = zip([-5.0] * self.dimensions, [5.0] * self.dimensions) <NEW_LINE> self.global_optimum = [1.0/_ for _ in range(1, self.dimensions+1)] <NEW_LINE> self.fglob ... | Stochastic test objective function.
This class defines a Stochastic global optimization problem. This
is a multimodal minimization problem defined as follows:
.. math::
f_{\text{Stochastic}}(\mathbf{x}) = \sum_{i=1}^{n} \epsilon_i \left | {x_i - \frac{1}{i}} \right |
The variable :math:`\epsilon_i, (i=1,...,n)... | 62598fd48a349b6b43686716 |
class TestComputePbest(object): <NEW_LINE> <INDENT> def test_return_values(self, swarm): <NEW_LINE> <INDENT> expected_cost = np.array([1, 2, 2]) <NEW_LINE> expected_pos = np.array([[1, 2, 3], [4, 5, 6], [1, 1, 1]]) <NEW_LINE> pos, cost = P.compute_pbest(swarm) <NEW_LINE> assert (pos == expected_pos).all() <NEW_LINE> as... | Test suite for compute_pbest() | 62598fd47cff6e4e811b5efe |
class ReadFilter(object): <NEW_LINE> <INDENT> def __call__(self, row, header): <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> def getSQL(self): <NEW_LINE> <INDENT> return "" | A callable class which can pre-filters a row and determine whether the row can be skipped.
If the call returns true, the row is examined but if it returns false, the row should be skipped. | 62598fd4377c676e912f6fe4 |
class ConfigU(object): <NEW_LINE> <INDENT> def __init__(self, fileName): <NEW_LINE> <INDENT> super(ConfigU, self).__init__() <NEW_LINE> try: <NEW_LINE> <INDENT> self.fileName = fileName <NEW_LINE> self.config = ConfigParser() <NEW_LINE> self.config.read(fileName, 'utf-8') <NEW_LINE> <DEDENT> except IOError as e: <NEW_L... | 配置文件工具类:
(1) 依赖ConfigParser包
(2) 文件夹外部必须导入 from smutils.ConfigU import ConfigU (文件夹内部可导入import ConfigU, 但是这样将无法调用静态方法)
1. 配置文件如:ini.cfg
[admin]
user = smalle
password = aezocn
2.初始化读取配置文件:config = ConfigU('ini.cfg') # 注意文件路径
3.取值:config.items(self, 'admin') | 62598fd43617ad0b5ee0661e |
class ViewEventListener(object): <NEW_LINE> <INDENT> def __init__(self, view): <NEW_LINE> <INDENT> self.view = view <NEW_LINE> self.busy = False <NEW_LINE> self.events = 0 <NEW_LINE> self.latest_time = 0.0 <NEW_LINE> self.delay = 0 <NEW_LINE> <DEDENT> def push(self, event_id): <NEW_LINE> <INDENT> self.latest_time = tim... | The class queues and forwards view events to GitGutterCommand.
A ViewEventListener object queues all events received from a view and
starts a single sublime timer to forward the event to GitGutterCommand
after some idle time. This ensures not to bloat sublime API due to dozens
of timers running for debouncing events. | 62598fd48a349b6b43686718 |
class aerodynamic_resistance(object): <NEW_LINE> <INDENT> thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> raise AttributeError("No constructor defined - class is abstract") <NEW_LINE> <DEDENT> __repr__ ... | Abstract class. Child classes can be used to calculate aerodynamic
resistances against turbulent heat fluxes.
C++ includes: meteorology.h | 62598fd4ec188e330fdf8d6e |
@optional_args <NEW_LINE> class qc(object): <NEW_LINE> <INDENT> def __init__(self, tests=None): <NEW_LINE> <INDENT> self.tests_count = tests <NEW_LINE> <DEDENT> def __call__(self, func): <NEW_LINE> <INDENT> func_args, _, _, func_defaults = inspect.getargspec(func) <NEW_LINE> func_args, func_defaults = func_args or [], ... | Decorator for Python functions that define properties
to be tested by pyqcy.
It is expected that default values for function arguments
define generators that will be used to generate data
for test cases. See the section about
:doc:`using generators <arbitraries>` for more information.
Example of using ``@qc`` to defi... | 62598fd497e22403b383b3e2 |
class FailTwicePlug(base_plugs.BasePlug): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.count = 0 <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> self.count += 1 <NEW_LINE> print('FailTwicePlug: Run number %s' % (self.count)) <NEW_LINE> if self.count < 3: <NEW_LINE> <INDENT> raise RuntimeError... | Plug that fails twice raising an exception. | 62598fd4a219f33f346c6cdf |
class PatientDataset(Dataset): <NEW_LINE> <INDENT> def __init__(self, feature_file, outcome_file, ablation=None): <NEW_LINE> <INDENT> self.features = pd.read_csv(feature_file) <NEW_LINE> if ablation is not None: <NEW_LINE> <INDENT> replace = pd.read_csv('C:/Users/Andrew/Documents/Stanford/cs230/cs230-code-examples/pyto... | A standard PyTorch definition of Dataset which defines the functions __len__ and __getitem__. | 62598fd48a349b6b4368671a |
class NomineeError(ElectionError): <NEW_LINE> <INDENT> pass | Raised when an invalid nominee is nominated. | 62598fd4c4546d3d9def74ef |
class DeleteModelObject(task.Task): <NEW_LINE> <INDENT> def execute(self, object): <NEW_LINE> <INDENT> object.delete() | Task to delete an object in a model. | 62598fd455399d3f056269f4 |
class Agent(): <NEW_LINE> <INDENT> def __init__(self, state_size, action_size, random_seed): <NEW_LINE> <INDENT> self.state_size = state_size <NEW_LINE> self.action_size = action_size <NEW_LINE> self.seed = random.seed(random_seed) <NEW_LINE> self.actor_local = Actor(state_size, action_size, random_seed).to(device) <NE... | Interacts with and learns from the environment. | 62598fd40fa83653e46f53c2 |
class UpdateError(ModelNormal): <NEW_LINE> <INDENT> allowed_values = { } <NEW_LINE> validations = { } <NEW_LINE> additional_properties_type = None <NEW_LINE> _nullable = False <NEW_LINE> @cached_property <NEW_LINE> def openapi_types(): <NEW_LINE> <INDENT> return { 'parameter': (str,), 'current_value': (str,), 'requeste... | NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
Attributes:
allowed_values (dict): The key is the tuple path to the attribute
and the for var_name this is (var_name,). The value is a dict
with a capitalized key describing the a... | 62598fd4091ae356687050f7 |
class PostHandler(Handler): <NEW_LINE> <INDENT> def get(self, post_name): <NEW_LINE> <INDENT> if not post_name: <NEW_LINE> <INDENT> self.redirect('/') <NEW_LINE> <DEDENT> post_name = post_name.lower() <NEW_LINE> post_dict = dbwrap.post_dict <NEW_LINE> if post_name in post_dict: <NEW_LINE> <INDENT> post = dbwrap.get_pos... | Serves a specific post by post-name. | 62598fd4ec188e330fdf8d72 |
class IPv4Network(_BaseIPNetwork, _BaseIPv4): <NEW_LINE> <INDENT> __slots__ = ('_ip', '_private', '_prefixlen', '_size', '_netmask', '_networkaddress', '_netmaskaddress', '_hostmask', '_broadcastaddress') <NEW_LINE> _address_class = IPv4Address <NEW_LINE> def __init__(self, address, strict=True): <NEW_LINE> <INDENT> pr... | An IPv4 Network. | 62598fd4dc8b845886d53a9a |
class HighlightSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> comment = serializers.CharField(required=False) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = Highlight <NEW_LINE> fields = ("highlighter", "article_id", "highlight", "comment") | This class defines a highlight datafields | 62598fd43d592f4c4edbb393 |
class TankParameter(db.Model): <NEW_LINE> <INDENT> id = db.Column(db.Integer, primary_key=True) <NEW_LINE> timestamp = db.Column(db.DateTime) <NEW_LINE> value = db.Column(db.Float) <NEW_LINE> tank_id = db.Column(db.Integer, db.ForeignKey('tank.id')) <NEW_LINE> tank = db.relationship('Tank', backref=db.backref('tankpara... | These are specific instances of metrics.
Example: Tank 1 had a pH of 7.1 yesterday, and a pH of 7.0 today. | 62598fd4377c676e912f6fe8 |
class TwoRNA(_object): <NEW_LINE> <INDENT> __swig_setmethods__ = {} <NEW_LINE> __setattr__ = lambda self, name, value: _swig_setattr(self, TwoRNA, name, value) <NEW_LINE> __swig_getmethods__ = {} <NEW_LINE> __getattr__ = lambda self, name: _swig_getattr(self, TwoRNA, name) <NEW_LINE> __repr__ = _swig_repr <NEW_LINE> de... | TwoRNA Class.
The TwoRNA class provides an entry point for all the two sequence
prediction routines of RNAstructure. This contains two instances of
the RNA class to provide the functionality of RNA.
C++ includes: TwoRNA.h | 62598fd4956e5f7376df58ec |
class Review(BaseModel): <NEW_LINE> <INDENT> place_id = "" <NEW_LINE> user_id = "" <NEW_LINE> text = "" | Public Class attributes | 62598fd5fbf16365ca79459c |
class Logger(object): <NEW_LINE> <INDENT> def __init__( self, task_name, level=logging.NOTSET, to_file=True, file_path=None, additional=None, ): <NEW_LINE> <INDENT> self.task_name = task_name <NEW_LINE> self.logger = ( get_task_logger(task_name) if task_name else logging.getLogger(__name__) ) <NEW_LINE> self.logger.set... | Log by
- logging to stderr (default)
- writing json to file | 62598fd5adb09d7d5dc0aa58 |
class UpdateProfileRequest(BaseModel): <NEW_LINE> <INDENT> user_id: ObjectIdStr <NEW_LINE> bio: str = None <NEW_LINE> gender: str = None | Request for update profile usecase | 62598fd5bf627c535bcb198e |
class LException: <NEW_LINE> <INDENT> def __init__(self,msg): <NEW_LINE> <INDENT> self.msg = msg <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return self.msg | L-System exception class | 62598fd5be7bc26dc92520c7 |
class SpikesVector(MultiFieldVector): <NEW_LINE> <INDENT> fields = [ ('receiver_neuron_index', types.address), ] | Вектор для IS_SPIKED нейронов.
Используется в remote_domain.send_spikes и local_domain.receive_spikes | 62598fd5377c676e912f6fe9 |
class SearchForm(Form): <NEW_LINE> <INDENT> search = StringField('search', validators=[DataRequired()]) | 搜索表单,用于搜索相关帖子
search:查找的内容 | 62598fd5ad47b63b2c5a7d31 |
class OpenAccount(Wizard): <NEW_LINE> <INDENT> __name__ = 'account.move.open_account' <NEW_LINE> start_state = 'open_' <NEW_LINE> open_ = StateAction('account.act_move_line_form') <NEW_LINE> def do_open_(self, action): <NEW_LINE> <INDENT> FiscalYear = Pool().get('account.fiscalyear') <NEW_LINE> if not Transaction().con... | Open Account | 62598fd5dc8b845886d53a9e |
class FeaturesManager(object): <NEW_LINE> <INDENT> def __init__(self, parser, feature_threshold, prefix_flag, extended_mode=False): <NEW_LINE> <INDENT> self.parser = parser <NEW_LINE> self.prefix_flag = prefix_flag <NEW_LINE> self.feature_templates = [] <NEW_LINE> self.add_baseline_features() <NEW_LINE> if extended_mod... | Generates set of features out of a given training data | 62598fd5adb09d7d5dc0aa5a |
class FileObjectInputReader(CLIInputReader): <NEW_LINE> <INDENT> def __init__(self, file_object, encoding=u'utf-8'): <NEW_LINE> <INDENT> super(FileObjectInputReader, self).__init__(encoding=encoding) <NEW_LINE> self._errors = u'strict' <NEW_LINE> self._file_object = file_object <NEW_LINE> <DEDENT> def Read(self): <NEW_... | Class that implements a file-like object input reader.
This input reader relies on the file-like object having a readline method. | 62598fd53617ad0b5ee06628 |
class NonPooledPanelOLS(object): <NEW_LINE> <INDENT> ATTRIBUTES = [ 'beta', 'df', 'df_model', 'df_resid', 'f_stat', 'p_value', 'r2', 'r2_adj', 'resid', 'rmse', 'std_err', 'summary_as_matrix', 't_stat', 'var_beta', 'x', 'y', 'y_fitted', 'y_predict' ] <NEW_LINE> def __init__(self, y, x, window_type='full_sample', window=... | Implements non-pooled panel OLS.
Parameters
----------
y : DataFrame
x : Series, DataFrame, or dict of Series
intercept : bool
True if you want an intercept.
nw_lags : None or int
Number of Newey-West lags.
window_type : {'full_sample', 'rolling', 'expanding'}
'full_sample' by default
window : int
size... | 62598fd5a219f33f346c6ce7 |
class Course(CommonInfo): <NEW_LINE> <INDENT> grade = models.ForeignKey('classes.ClassCategory', default=default_uuid) <NEW_LINE> code = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) <NEW_LINE> objects = CourseManager() <NEW_LINE> class Meta(CommonInfo.Meta): <NEW_LINE> <INDENT> verbose_name_pl... | Course class for CRUD | 62598fd5ab23a570cc2d4fde |
class AuthorizationForm(FormMixin): <NEW_LINE> <INDENT> pass | Not yet implemented
| 62598fd5d8ef3951e32c80cc |
class StringKPI(KPI): <NEW_LINE> <INDENT> value = EAttribute(eType=EString, unique=True, derived=False, changeable=True) <NEW_LINE> target = EReference(ordered=True, unique=True, containment=True, derived=False, upper=-1) <NEW_LINE> def __init__(self, *, value=None, target=None, **kwargs): <NEW_LINE> <INDENT> super()._... | Specifies a KPI value as a string | 62598fd5adb09d7d5dc0aa5c |
class Caltech101(tfds.core.GeneratorBasedBuilder): <NEW_LINE> <INDENT> VERSION = tfds.core.Version( "3.0.0", "New split API (https://tensorflow.org/datasets/splits)") <NEW_LINE> def _info(self): <NEW_LINE> <INDENT> names_file = tfds.core.get_tfds_path(_LABELS_FNAME) <NEW_LINE> return tfds.core.DatasetInfo( builder=self... | Caltech-101. | 62598fd5ad47b63b2c5a7d34 |
class FileBlob(): <NEW_LINE> <INDENT> def __init__(self, key: str, file_path: Path, data: LoadableType) -> None: <NEW_LINE> <INDENT> self.__key = key <NEW_LINE> self.__file_path = file_path <NEW_LINE> self.__class_object = data <NEW_LINE> <DEDENT> @property <NEW_LINE> def key(self) -> str: <NEW_LINE> <INDENT> return se... | A FileBlob is a keyed data blob for everything that is loadable from a file
and can be converted to a VaRA DataClass.
Args:
key: identifier for the file
file_path: path to the file
data: a blob of data in memory | 62598fd53d592f4c4edbb399 |
class ThreadPoolPlugin(colony.Plugin): <NEW_LINE> <INDENT> id = "pt.hive.colony.plugins.threads.pool" <NEW_LINE> name = "Thread Pool" <NEW_LINE> description = "Thread Pool Plugin" <NEW_LINE> version = "1.0.0" <NEW_LINE> author = "Hive Solutions Lda. <development@hive.pt>" <NEW_LINE> platforms = [ colony.CPYTHON_ENVIRON... | The main class for the Thread Pool plugin | 62598fd5ab23a570cc2d4fdf |
class ZeroBridge(Bridge): <NEW_LINE> <INDENT> def __init__(self, params, encoder_output, mode, name=None, verbose=True): <NEW_LINE> <INDENT> super(ZeroBridge, self).__init__( params=params, encoder_output=encoder_output, mode=mode, name=name, verbose=verbose) <NEW_LINE> if self.verbose: <NEW_LINE> <INDENT> tf.logging.i... | Define a bridge that does not pass any information between
encoder and decoder, and sets the initial decoder state to 0. | 62598fd5ad47b63b2c5a7d35 |
class PlainProvisioner(Base): <NEW_LINE> <INDENT> def cleanup(self): <NEW_LINE> <INDENT> pass | Plain Provisioner | 62598fd555399d3f056269fe |
class CmdAccept(CmdTradeBase): <NEW_LINE> <INDENT> key = "accept" <NEW_LINE> aliases = ["agree"] <NEW_LINE> locks = "cmd:all()" <NEW_LINE> help_category = "Trading" <NEW_LINE> def func(self): <NEW_LINE> <INDENT> caller = self.caller <NEW_LINE> if not self.trade_started: <NEW_LINE> <INDENT> caller.msg("Wait until the ot... | accept the standing offer
Usage:
accept [:emote]
agreee [:emote]
This will accept the current offer. The other party must also accept
for the deal to go through. You can use the 'decline' command to change
your mind as long as the other party has not yet accepted. You can inspect
the current offer using the 'offe... | 62598fd5fbf16365ca7945a2 |
class get_templates_by_template_args(object): <NEW_LINE> <INDENT> def __init__( self, template_name=None, ): <NEW_LINE> <INDENT> self.template_name = template_name <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if ( iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport... | Attributes:
- template_name | 62598fd5091ae35668705101 |
class entry(object): <NEW_LINE> <INDENT> def __init__(self, path, name, extension, permission, url, extras={}, sortorder=999999, right=False, icon=None): <NEW_LINE> <INDENT> self._path = path <NEW_LINE> self._mpath = [x.strip() for x in path.split('||')] <NEW_LINE> self._name = name <NEW_LINE> self._extension = extensi... | This class contains all of the pieces of information about a given menu
entry. It is the only public portion of this particular file. Everything
else in here is private, and should not be used by any external code. | 62598fd560cbc95b06364822 |
class TestStlinkSetMem32(_TestStlink): <NEW_LINE> <INDENT> def test(self): <NEW_LINE> <INDENT> self._com.xfer_mock.set_return_data([ [0x80, 0x00], ]) <NEW_LINE> self._stlink.set_mem32(0x20000000, 0x12345678) <NEW_LINE> self.assertEqual(self._com.xfer_mock.get_call_log(), [ {'command': [ 0xf2, 0x35, 0x00, 0x00, 0x00, 0x... | Tests for Stlink.set_mem32() | 62598fd5ad47b63b2c5a7d36 |
class NotGate(Gate): <NEW_LINE> <INDENT> def logic(self): <NEW_LINE> <INDENT> self.output = not self.input[0] | class for NOT gate | 62598fd5377c676e912f6fec |
class CommandError(Exception): <NEW_LINE> <INDENT> def __init__(self, message): <NEW_LINE> <INDENT> Exception.__init__(self, message) | Raised to provide a generic way to abort a command with an error. | 62598fd59f28863672818af0 |
class FormulaFactory(object): <NEW_LINE> <INDENT> def __listToTree(self, BinOperation, formulas, leftAssoc=True): <NEW_LINE> <INDENT> if not issubclass(BinOperation, BinaryOperation): <NEW_LINE> <INDENT> raise TypeError("BinOperation must be subclass of BinaryOperation class") <NEW_LINE> <DEDENT> if leftAssoc: <NEW_LIN... | Fabryka formuł logicznych
klasa pomocnicza do tworzenia formuł logicznych z parsowanych stringów | 62598fd555399d3f05626a00 |
class TestResult(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def loads(string): <NEW_LINE> <INDENT> return cPickle.loads(string) <NEW_LINE> <DEDENT> def __init__(self, test_name, failures=None, test_run_time=None, has_stderr=False): <NEW_LINE> <INDENT> self.test_name = test_name <NEW_LINE> self.failures = fai... | Data object containing the results of a single test. | 62598fd5dc8b845886d53aa4 |
class SMS(dict): <NEW_LINE> <INDENT> __allowed = ('to', 'message', 'uuid') <NEW_LINE> def __init__(self, to, message): <NEW_LINE> <INDENT> self['to'] = to <NEW_LINE> self['message'] = message <NEW_LINE> self['uuid'] = str(uuid4()) <NEW_LINE> <DEDENT> def __setitem__(self, k, v): <NEW_LINE> <INDENT> if k not in ... | Basic SMS Object | 62598fd5adb09d7d5dc0aa60 |
class Surface: <NEW_LINE> <INDENT> def __init__(self, cor): <NEW_LINE> <INDENT> self.point_cor = cor | Surface class | 62598fd5ad47b63b2c5a7d38 |
class KR_type_box(KirillovReshetikhinGenericCrystal, AffineCrystalFromClassical): <NEW_LINE> <INDENT> def __init__(self, cartan_type, r, s): <NEW_LINE> <INDENT> KirillovReshetikhinGenericCrystal.__init__(self, cartan_type, r ,s) <NEW_LINE> AffineCrystalFromClassical.__init__(self, cartan_type, self.classical_decomposit... | Class of Kirillov-Reshetikhin crystals `B^{r,s}` of type `A_{2n}^{(2)}` for `r\le n`
and type `D_{n+1}^{(2)}` for `r<n`.
EXAMPLES::
sage: K = crystals.KirillovReshetikhin(['A',4,2], 1,1)
sage: K
Kirillov-Reshetikhin crystal of type ['BC', 2, 2] with (r,s)=(1,1)
sage: b = K(rows=[])
sage: b.f(0)
... | 62598fd560cbc95b06364824 |
class VirtualNetworkGatewayListResult(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'next_link': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'value': {'key': 'value', 'type': '[VirtualNetworkGateway]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } <NEW_LINE> def __init__( self, **kwargs... | Response for the ListVirtualNetworkGateways API service call.
Variables are only populated by the server, and will be ignored when sending a request.
:param value: Gets a list of VirtualNetworkGateway resources that exists in a resource group.
:type value: list[~azure.mgmt.network.v2018_06_01.models.VirtualNetworkGat... | 62598fd5ab23a570cc2d4fe1 |
class Dollar(Money): <NEW_LINE> <INDENT> def times(self, multiplier: int): <NEW_LINE> <INDENT> return Dollar(self._amount * multiplier) | dollar class | 62598fd53d592f4c4edbb39d |
class ConcatenateTests(TestCase): <NEW_LINE> <INDENT> def test_action(self): <NEW_LINE> <INDENT> action, _ = actions.concatenate([u'http://example.com/input1', u'http://example.com/input2']) <NEW_LINE> self.assertThat( action, Equals({u'action': u'concatenate', u'parameters': { u'inputs': [u'http://example.com/input1',... | Tests for `txdocumint.actions.concatenate`. | 62598fd59f28863672818af1 |
class OpenEnergyPlatformManagementServiceAPIsConfiguration(Configuration): <NEW_LINE> <INDENT> def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any ) -> None: <NEW_LINE> <INDENT> super(OpenEnergyPlatformManagementServiceAPIsConfiguration, self).__init__(**kwargs) <NEW_LINE> if cre... | Configuration for OpenEnergyPlatformManagementServiceAPIs.
Note that all parameters used to create this instance are saved as instance
attributes.
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The I... | 62598fd50fa83653e46f53d0 |
class XMLRPCProxyServer(BaseImplServer): <NEW_LINE> <INDENT> def __init__(self, host, port, use_builtin_types=True): <NEW_LINE> <INDENT> self.host = host <NEW_LINE> self.port = port | not a real working server, but a stub for a proxy server connection
| 62598fd5fbf16365ca7945a6 |
class TimerQT(TimerBase): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> TimerBase.__init__(self, *args, **kwargs) <NEW_LINE> self._timer = QtCore.QTimer() <NEW_LINE> self._timer.timeout.connect(self._on_timer) <NEW_LINE> self._timer_set_interval() <NEW_LINE> <DEDENT> def _timer_set_single... | Subclass of :class:`backend_bases.TimerBase` that uses Qt4 timer events.
Attributes:
* interval: The time between timer events in milliseconds. Default
is 1000 ms.
* single_shot: Boolean flag indicating whether this timer should
operate as single shot (run once and then stop). Defaults to False.
* callbacks: S... | 62598fd5283ffb24f3cf3d69 |
class MediaContainer(PlexObject): <NEW_LINE> <INDENT> TAG = 'MediaContainer' <NEW_LINE> def _loadData(self, data): <NEW_LINE> <INDENT> self._data = data <NEW_LINE> self.allowSync = utils.cast(int, data.attrib.get('allowSync')) <NEW_LINE> self.augmentationKey = data.attrib.get('augmentationKey') <NEW_LINE> self.identifi... | Represents a single MediaContainer.
Attributes:
TAG (str): 'MediaContainer'
allowSync (int): Sync/Download is allowed/disallowed for feature.
augmentationKey (str): API URL (/library/metadata/augmentations/<augmentationKey>).
identifier (str): "com.plexapp.plugins.library"
librarySectionID (int): :... | 62598fd560cbc95b06364826 |
class DescribeServiceTemplateGroupsRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.Filters = None <NEW_LINE> self.Offset = None <NEW_LINE> self.Limit = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> if params.get("Filters") is not None: <NEW_LINE> <... | DescribeServiceTemplateGroups请求参数结构体
| 62598fd5bf627c535bcb1998 |
class TestWebServiceObfuscation(TestCaseWithFactory): <NEW_LINE> <INDENT> layer = DatabaseFunctionalLayer <NEW_LINE> email_address = "joe@example.com" <NEW_LINE> email_address_obfuscated = "<email address hidden>" <NEW_LINE> email_address_obfuscated_escaped = "<email address hidden>" <NEW_LINE> bug_title = "Title... | Integration test for obfuscation marshaller.
Not using WebServiceTestCase because that assumes too much about users | 62598fd59f28863672818af2 |
class GUIGrid(): <NEW_LINE> <INDENT> def button_box(self, message: str, choices: list) -> str: <NEW_LINE> <INDENT> reply = easygui.buttonbox(message, choices=choices) <NEW_LINE> return reply <NEW_LINE> <DEDENT> def integer_box(self, message: str, title="", min: int = 0, max: int = sys.maxsize, image=None) -> str: <NEW_... | Das GUI-Grid erlaubt es Pop-Up Fenster mit GUI Elementen einzublenden. | 62598fd550812a4eaa620e58 |
class HmSearch(object): <NEW_LINE> <INDENT> def __init__(self, source=None, database=None): <NEW_LINE> <INDENT> if source is not None: <NEW_LINE> <INDENT> self.source = source <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.source = os.path.join(os.getcwd(), 'hmsearch') <NEW_LINE> <DEDENT> self.database = database <... | Use:
Initialise by specifying location of `hmsearch` directory (default: current):
>>> db = hmsearch.HmSearch(source='/path/to/hmsearch/')
Either connect to an existing database:
>>> db = hmsearch.HmSearch(source='/path/to/dir/', database='/path/to/db.kch')
or create a new database:
... | 62598fd50fa83653e46f53d2 |
class MoveCost(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): <NEW_LINE> <INDENT> ZERO = "Zero" <NEW_LINE> LOW = "Low" <NEW_LINE> MEDIUM = "Medium" <NEW_LINE> HIGH = "High" | Specifies the move cost for the service.
| 62598fd5dc8b845886d53aa8 |
class ClientError(Exception): <NEW_LINE> <INDENT> pass | The client did something wrong | 62598fd58a349b6b4368672c |
class DeadDataFileTest(ImmutableDataFileTest): <NEW_LINE> <INDENT> file_class = DeadDataFile <NEW_LINE> def create_dead_file(self): <NEW_LINE> <INDENT> rw_file = DataFile(self.base_dir) <NEW_LINE> self.addCleanup(rw_file.close) <NEW_LINE> tstamp, value_pos, value_sz = rw_file.write(0, b'foo', b'bar') <NEW_LINE> immutab... | Tests for DeadDataFile. | 62598fd560cbc95b06364828 |
class LayoutContainer(object): <NEW_LINE> <INDENT> def canSetDefaultPage(self): <NEW_LINE> <INDENT> return False <NEW_LINE> <DEDENT> def aggregateSearchableText(self): <NEW_LINE> <INDENT> data = [super(LayoutContainer, self).SearchableText(),] <NEW_LINE> for child in self.contentValues(): <NEW_LINE> <INDENT> data.appen... | Container that provides aggregate search and display
functionality. | 62598fd597e22403b383b3f5 |
@dataclass <NEW_LINE> class IdentType: <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> name = "identType" <NEW_LINE> <DEDENT> value: Optional[str] = field( default=None, metadata={ "required": True, } ) <NEW_LINE> system: Optional[str] = field( default=None, metadata={ "type": "Attribute", "required": True, } ) | Type for a long-term globally meaningful identifier, consisting of a string
(ID) and a URI of the naming scheme within which the name is meaningful. | 62598fd5656771135c489b5e |
class TestSubComputeApi(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.api = SubComputeApi() <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def test_sub_compute_all_by_child_child_compute_guid_get(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT... | SubComputeApi unit test stubs | 62598fd5dc8b845886d53aaa |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.