code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class KickChatMember(BaseResponse): <NEW_LINE> <INDENT> __slots__ = ('chat_id', 'user_id', 'until_date') <NEW_LINE> method = api.Methods.KICK_CHAT_MEMBER <NEW_LINE> def __init__(self, chat_id: Union[Integer, String], user_id: Integer, until_date: Optional[ Union[Integer, datetime.datetime, datetime.timedelta]] = None):...
Use that response type for kick chat member on to webhook.
62598f701f037a2d8b9e3922
class RXlconnect(RPackage): <NEW_LINE> <INDENT> homepage = "http://miraisolutions.wordpress.com/" <NEW_LINE> url = "https://cloud.r-project.org/src/contrib/XLConnect_0.2-11.tar.gz" <NEW_LINE> list_url = "https://cloud.r-project.org/src/contrib/Archive/XLConnect" <NEW_LINE> version('1.0.1', sha256='927aa34a3c81c12b...
Excel Connector for R Provides comprehensive functionality to read, write and format Excel data.
62598f7066656f66f7d59c24
class Star(pygame.sprite.Sprite): <NEW_LINE> <INDENT> speed = 2 <NEW_LINE> images = list() <NEW_LINE> def __init__(self, **kwargs): <NEW_LINE> <INDENT> pygame.sprite.Sprite.__init__(self, self.containers) <NEW_LINE> self.image = self.images[0] <NEW_LINE> self.rect = self.image.get_rect(**kwargs) <NEW_LINE> <DEDENT> def...
A shooting star
62598f70cad5886f8bdc4b55
class ViolationsList(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'value': {'key': 'value', 'type': '[Violation]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } <NEW_LINE> def __init__( self, *, value: Optional[List["Violation"]] = None, next_link: Optional[str] = None, **kwargs ): <NEW_LIN...
List of list of items that violate tenant's configuration. :param value: The array of violations. :type value: list[~azure.mgmt.portal.models.Violation] :param next_link: The URL to use for getting the next set of results. :type next_link: str
62598f70ac7a0e7691f71d4a
class ConfigMixin(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.mocked_parser = None <NEW_LINE> <DEDENT> def set_up_mocks(self): <NEW_LINE> <INDENT> args = ['--config-file', base.etcdir('neutron.conf.test')] <NEW_LINE> neutron_config.init(args=args) <NEW_LINE> ml2_opts = { 'mechanism_drivers...
Mock the config for APIC driver and service unit tests.
62598f705e10d32532ce3506
class LogicalExpressionTransformer(gast.NodeTransformer): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.op_mapping = { gast.And: 'tf.logical_and', gast.Or: 'tf.logical_or', } <NEW_LINE> <DEDENT> def visit_UnaryOp(self, node): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> def vis...
Converts logical expressions to corresponding TF calls.
62598f70a4f1c619b294de1f
class GameConsoleView: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.__controller = GameCoreController() <NEW_LINE> <DEDENT> def __draw_map(self): <NEW_LINE> <INDENT> for line in self.__controller.map: <NEW_LINE> <INDENT> for item in line: <NEW_LINE> <INDENT> print(item, end="\t") <NEW_LINE> <DEDENT>...
处理界面逻辑
62598f7076d4e153a661c446
class Drive: <NEW_LINE> <INDENT> def __init__(self, options: Dict[str, str]) -> None: <NEW_LINE> <INDENT> self.options = options <NEW_LINE> <DEDENT> @property <NEW_LINE> def qemu_options(self) -> Tuple[str, ...]: <NEW_LINE> <INDENT> return ('-drive', ','.join('{}={}'.format(opt, self.options[opt]) for opt in sorted(sel...
QEMU drive.
62598f718c3a8732951f5d84
class PAM_Module(nn.Module): <NEW_LINE> <INDENT> def __init__(self, in_dim): <NEW_LINE> <INDENT> super(PAM_Module, self).__init__() <NEW_LINE> self.chanel_in = in_dim <NEW_LINE> self.query_conv = nn.Conv2d(in_channels=in_dim, out_channels=in_dim//8, kernel_size=1) <NEW_LINE> self.key_conv = nn.Conv2d(in_channels=in_dim...
Position attention module
62598f71d99f1b3c44d04eeb
@interface.volumedriver <NEW_LINE> class MStorageISCSIDriver(volume_helper.MStorageDSVDriver, driver.ISCSIDriver): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(MStorageISCSIDriver, self).__init__(*args, **kwargs) <NEW_LINE> self._set_config(self.configuration, self.host, self.__cla...
M-Series Storage Snapshot iSCSI Driver.
62598f71d164cc61758207ab
class stock_picking_carriage_condition(orm.Model): <NEW_LINE> <INDENT> _name = "stock.picking.carriage_condition" <NEW_LINE> _description = "Carriage Condition" <NEW_LINE> _columns = { 'name': fields.char( 'Carriage Condition', size=64, required=True, readonly=False, translate=True), 'note': fields.text('Note'), }
Carriage condition
62598f718a349b6b43685a77
class MLP(object): <NEW_LINE> <INDENT> def __init__(self, rng, input, n_in, n_hidden, n_out): <NEW_LINE> <INDENT> self.hiddenLayer = HiddenLayer( rng=rng, input=input, n_in=n_in, n_out=n_hidden, activation=T.tanh ) <NEW_LINE> self.logRegressionLayer = LogisticRegression( input=self.hiddenLayer.output, n_in=n_hidden, n_...
Multi-Layer Perceptron Class A multilayer perceptron is a feedforward artificial neural network model that has one layer or more of hidden units and nonlinear activations. Intermediate layers usually have as activation function tanh or the sigmoid function (defined here by a ``HiddenLayer`` class) while the top layer...
62598f713eb6a72ae0389e77
class DocumentModel(object): <NEW_LINE> <INDENT> def __init__(self, document_layout_class: DocumentLayout, *args, **kwargs): <NEW_LINE> <INDENT> self.doc_layouts = [] <NEW_LINE> self.document_layout_class: DocumentLayout = document_layout_class <NEW_LINE> self.args = args <NEW_LINE> self.kwargs = kwargs <NEW_LINE> <DED...
Mix-in for a class which specifies the layout of multiple Bokeh documents.
62598f711f037a2d8b9e3924
class ModelValidationMixin(object): <NEW_LINE> <INDENT> def save(self, *args, **kwargs): <NEW_LINE> <INDENT> if hasattr(getattr(self, 'clean', None), '__call__'): <NEW_LINE> <INDENT> self.clean() <NEW_LINE> <DEDENT> super(ModelValidationMixin, self).save(*args, **kwargs)
Calls model's .clean() method prior .save(), if one exists.
62598f71dc8b845886d52de8
class LightSensor(AnalogSensor): <NEW_LINE> <INDENT> def __init__(self, port="A1", gpg=None): <NEW_LINE> <INDENT> debug("LightSensor init") <NEW_LINE> AnalogSensor.__init__(self, port, "INPUT") <NEW_LINE> self.set_descriptor("Light sensor")
Creates a light sensor from which we can read. Light sensor is by default on pin A1(A-one) self.pin takes a value of 0 when on analog pin (default value) takes a value of 1 when on digital pin
62598f71b57a9660fecd12c3
class RegexHelper: <NEW_LINE> <INDENT> _regex: Optional[str] = None <NEW_LINE> escape_regex: bool = False <NEW_LINE> def __init__(self, regex: Optional[str] = None, escape_regex: bool = False): <NEW_LINE> <INDENT> self.escape_regex = escape_regex <NEW_LINE> if regex is not None: <NEW_LINE> <INDENT> self.regex = regex <...
Simplify the regex matching and usage. :param str regex: The regex to use. :param escape_regex: Escapes the given regex.
62598f714d74a7450cd58af4
class Space(object): <NEW_LINE> <INDENT> def sample(self, seed=None): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> def contains(self, x): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> def flatten(self, x): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> def unf...
Provides a classification state spaces and action spaces, so you can write generic code that applies to any Environment. E.g. to choose a random action.
62598f719b70327d1c57e5e3
class TestInsightCurrentPower(InsightTestTemplate): <NEW_LINE> <INDENT> ENTITY_ID_SUFFIX = "_current_power" <NEW_LINE> EXPECTED_STATE_VALUE = "0.001" <NEW_LINE> INSIGHT_PARAM_NAME = "currentpower"
Test the InsightCurrentPower class.
62598f71ac7a0e7691f71d4c
class Level(object): <NEW_LINE> <INDENT> def __init__(self, amount_bombs,difficulty=1, start_pos=None, aim_pos=None, path=None, tiles_hor=6): <NEW_LINE> <INDENT> self.difficulty = difficulty <NEW_LINE> self.path = path <NEW_LINE> self.start_pos = start_pos <NEW_LINE> self.aim_pos = aim_pos <NEW_LINE> self.amount_bombs ...
docstring for Level
62598f7163f4b57ef008598a
class MultiplyEvaluator(Evaluator): <NEW_LINE> <INDENT> def _evaluate(self, left, right): <NEW_LINE> <INDENT> return left * right
Implementation of :class:`Evaluator` that multiplies two numbers
62598f7138b623060ffa88d2
class SignatureForm(NgModelFormMixin, ModelForm): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(SignatureForm, self).__init__(*args, **kwargs) <NEW_LINE> setup_bootstrap_helpers(self) <NEW_LINE> <DEDENT> class Meta: <NEW_LINE> <INDENT> model = Player <NEW_LINE> fields = ('username',...
Signature Form with a little crispy forms added!
62598f7173bcbd0ca4bc9a83
class AverageList(Actor): <NEW_LINE> <INDENT> def init(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @condition(action_input=['temp1'], action_output=['ip']) <NEW_LINE> def avg(self, temperatures): <NEW_LINE> <INDENT> if(temperatures != 'ignore'): <NEW_LINE> <INDENT> self.result = sum(temperatures)/ len(temperatu...
Divides input on port 'dividend' with input on port 'divisor' Inputs : temp1 : int Output : ip:string
62598f7107d97122c42164d7
class WorkflowSession(Base): <NEW_LINE> <INDENT> __tablename__ = "workflow_session" <NEW_LINE> __table_args__ = {"schema": "__reana"} <NEW_LINE> workflow_id = Column(UUIDType, ForeignKey("__reana.workflow.id_"), nullable=True) <NEW_LINE> session_id = Column( UUIDType, ForeignKey("__reana.interactive_session.id_"), prim...
Workflow Session table.
62598f7150485f2cf55da7a6
class _LyricLabel(QLabel): <NEW_LINE> <INDENT> __slots__ = ('myTime', 'myLyric', 'myOrder', 'parent') <NEW_LINE> def __init__(self, myTime, lyric, myOrder, signal, parent=None): <NEW_LINE> <INDENT> super(_LyricLabel, self).__init__(lyric) <NEW_LINE> self.setObjectName('lyric') <NEW_LINE> self.parent = parent <NEW_LINE>...
显示歌词的Label。 为Label设置一个时间属性,这样方便歌词滚动。
62598f71d164cc61758207ad
class IsaAlphaNumber(Validator): <NEW_LINE> <INDENT> def __init__(self, chars=None): <NEW_LINE> <INDENT> if chars: <NEW_LINE> <INDENT> assert isinstance(chars, str) <NEW_LINE> chars = list(chars) <NEW_LINE> <DEDENT> self.chars = chars <NEW_LINE> <DEDENT> def _format_error(self, value): <NEW_LINE> <INDENT> return "{valu...
字母、数字、空格
62598f711f037a2d8b9e3926
@dataclass <NEW_LINE> class Slider(HitObject): <NEW_LINE> <INDENT> repeat_count: int <NEW_LINE> pixel_length: int <NEW_LINE> edges: list[Edge] <NEW_LINE> points: List[Position] <NEW_LINE> duration: int <NEW_LINE> end_time: int <NEW_LINE> curve_type: str <NEW_LINE> end_position: Optional[Position] <NEW_LINE> additions: ...
Represents one slider object.
62598f71e76e3b2f99fd8268
class FileMetaData(BaseResource, FileMetaDataMap): <NEW_LINE> <INDENT> _xpath = XPATH_METADATA <NEW_LINE> _xpath_save = _xpath <NEW_LINE> def get(self, id): <NEW_LINE> <INDENT> return self._get_data(id)
LOAs metadata
62598f71d10714528d69d706
class ChildChildIdentityIdentity(ChildIdentityIdentity): <NEW_LINE> <INDENT> _prefix = 'ydkut' <NEW_LINE> _revision = '2015-11-17' <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> ChildIdentityIdentity.__init__(self) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def _meta_info(): <NEW_LINE> <INDENT> from ydk.models._m...
62598f71d6c5a102081e197c
class WatchCallbackNotFound(tooz.ToozError): <NEW_LINE> <INDENT> def __init__(self, group_id, callback): <NEW_LINE> <INDENT> self.group_id = group_id <NEW_LINE> self.callback = callback <NEW_LINE> super(WatchCallbackNotFound, self).__init__( 'Callback %s is not registered on group %s' % (callback.__name__, group_id))
Exception raised when unwatching a group. Raised when the caller tries to unwatch a group with a callback that does not exist.
62598f71be8e80087fbbe897
class StridedSpecializer(StridedCInnerContigSpecializer): <NEW_LINE> <INDENT> specialization_name = "strided" <NEW_LINE> order = "C" <NEW_LINE> vectorized_equivalents = None <NEW_LINE> is_strided_specializer = True <NEW_LINE> def matching_contiguity(self, type): <NEW_LINE> <INDENT> return ((type.is_c_contig and self.or...
Specialize on strided operands. If some operands are contiguous in the dimension compatible with the order we are specializing for (the first if Fortran, the last if C), then perform a direct index into a temporary date pointer.
62598f7115fb5d323ce7e55f
class PactBoon(FeatureSelector): <NEW_LINE> <INDENT> options = {'chain': PactOfTheChain, 'pact of the chain': PactOfTheChain, 'blade': PactOfTheBlade, 'pact of the blade': PactOfTheBlade, 'tome': PactOfTheTome, 'pact of the tome': PactOfTheTome} <NEW_LINE> name = "Pact Boon (Select One)" <NEW_LINE> source = "Warlock"
Select a Pact Boon by choosing in feature_choices: pact of the chain pact of the blade pact of the tome
62598f7173bcbd0ca4bc9a84
class Result: <NEW_LINE> <INDENT> def __init__(self, res, ver_id): <NEW_LINE> <INDENT> self.res = res <NEW_LINE> self.ver_id = ver_id
This class encapsulates result of verification and the verification id.
62598f7173bcbd0ca4bc9a85
class ScrapyHTTPClientFactory(HTTPClientFactory): <NEW_LINE> <INDENT> protocol = ScrapyHTTPPageGetter <NEW_LINE> waiting = 1 <NEW_LINE> noisy = False <NEW_LINE> followRedirect = False <NEW_LINE> afterFoundGet = False <NEW_LINE> def __init__(self, request, timeout=180): <NEW_LINE> <INDENT> self._url = urldefrag(request....
Scrapy implementation of the HTTPClientFactory overwriting the serUrl method to make use of our Url object that cache the parse result.
62598f7176d4e153a661c44b
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 users object
62598f718c3a8732951f5d88
class Fibonacci: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.a =0 <NEW_LINE> self.b =1 <NEW_LINE> <DEDENT> def __iter__(self): <NEW_LINE> <INDENT> return self <NEW_LINE> <DEDENT> def __next__(self): <NEW_LINE> <INDENT> self.a, self.b = self.b , self.a+self.b <NEW_LINE> if self.a>1000: <NEW_LINE> <I...
This is the class which explains the fibonacci series
62598f71d99f1b3c44d04eef
class DisconnectPage(webapp.RequestHandler): <NEW_LINE> <INDENT> def get(self): <NEW_LINE> <INDENT> self.post() <NEW_LINE> <DEDENT> def post(self): <NEW_LINE> <INDENT> xml_response(self, 'disconnect.xml')
Disconnects phone call.
62598f71a8ecb03325870a40
class DelayedPersistNoteRepository(NoteRepository): <NEW_LINE> <INDENT> def __init__(self, repository1: NoteRepository, repository2: NoteRepository): <NEW_LINE> <INDENT> self.repository1 = repository1 <NEW_LINE> self.repository2 = repository2 <NEW_LINE> self.note_ids_added_or_updated = set() <NEW_LINE> self.note_ids_de...
TODO
62598f71dc8b845886d52dec
class ManualRule(TypedDict): <NEW_LINE> <INDENT> groups: List[ManualRuleGroup]
Allows you to manually organize the values in a source data column into buckets with names of your choosing. For example, a pivot table that aggregates population by state: +-------+-------------------+ | State | SUM of Population | +-------+-------------------+ | AK | 0.7 | | AL | 4.8 | | AR | 2.9 | ... +-------+-----...
62598f71e76e3b2f99fd826a
class Team(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.name = '' <NEW_LINE> self.tag = '' <NEW_LINE> self.top = '' <NEW_LINE> self.jungle = '' <NEW_LINE> self.mid = '' <NEW_LINE> self.adc = '' <NEW_LINE> self.support = '' <NEW_LINE> <DEDENT> def load_json(self): <NEW_LINE> <INDENT> file_obj = co...
Defines a team Team has a name, tag and are composed by 5 players. The tag property is used as unique identifier of team for save export/import purposes
62598f71167d2b6e312b67b6
class static(node): <NEW_LINE> <INDENT> isstatic = True <NEW_LINE> ispure = True <NEW_LINE> value = None <NEW_LINE> def setup(self): self.value = self.text() <NEW_LINE> def analyse(self, ctx): pass <NEW_LINE> def translate(self, state): return DOM.text(self.value) if self.value else DOM() <NEW_LINE>...
A node that represents static text outside expressions; its self.value is already known during analysis, before translate() is called. See also: class literal (for static values in expressions).
62598f71d53ae8145f917cd0
class ExExit(sublime_plugin.TextCommand): <NEW_LINE> <INDENT> def run(self, edit, line_range=None): <NEW_LINE> <INDENT> w = self.view.window() <NEW_LINE> if w.active_view().is_dirty(): <NEW_LINE> <INDENT> w.run_command('save') <NEW_LINE> <DEDENT> w.run_command('close') <NEW_LINE> if len(w.views()) == 0: <NEW_LINE> <IND...
Ex command(s): :x[it], :exi[t] Like :wq, but write only when changes have been made. TODO: Support ranges, like :w.
62598f716fece00bbaccb1c4
class SecuritySettings(ARMBaseModel): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'device_admin_password': {'required': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'k...
The security settings of a device. 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: The path ID that uniquely identifies the object. :vartype id: str :ivar name: The object name. :vartype name: str :...
62598f71d10714528d69d708
class Corpus(object): <NEW_LINE> <INDENT> def __init__(self, corpus_file, corpus_path): <NEW_LINE> <INDENT> self.corpus_path = corpus_path <NEW_LINE> self.corpus_file = corpus_file <NEW_LINE> self.first = {} <NEW_LINE> <DEDENT> def __iter__(self): <NEW_LINE> <INDENT> if not os.path.exists(os.path.join(self.corpus_path,...
for structure of google books 2012 files
62598f714d74a7450cd58af6
class PylintHelper(CLIHelper): <NEW_LINE> <INDENT> _MINIMUM_VERSION_TUPLE = (1, 5, 0) <NEW_LINE> def CheckFiles(self, filenames): <NEW_LINE> <INDENT> print(u'Running linter on changed files.') <NEW_LINE> failed_filenames = [] <NEW_LINE> for filename in filenames: <NEW_LINE> <INDENT> print(u'Checking: {0:s}'.format(file...
Class that defines pylint helper functions.
62598f71b57a9660fecd12c7
class StepCreateView(WgerFormMixin, CreateView, WgerPermissionMixin): <NEW_LINE> <INDENT> model = ScheduleStep <NEW_LINE> fields = '__all__' <NEW_LINE> title = ugettext_lazy('Add workout') <NEW_LINE> login_required = True <NEW_LINE> def get_form_class(self): <NEW_LINE> <INDENT> class StepForm(ModelForm): <NEW_LINE> <IN...
Creates a new workout schedule
62598f7116aa5153ce3ffd37
class M2MFetcher(Fetcher): <NEW_LINE> <INDENT> data_filepath = os.path.join(PROJECT_ROOT, 'data', 'm2m', 'mothers_small_tail.csv') <NEW_LINE> target_column = 'next_visit_date' <NEW_LINE> columns = [ 'age', 'acfu_status', 'agree_to_acfu', 'acfu_most_recent_reached_date', 'acfu_returned_date', 'breastfeeding_stopped', 'c...
Plase the mother case data in a csv file in data/m2m/mothers.csv Other options: mothers_small.csv mothers_small_tail.csv mothers_very_small.csv
62598f7176d4e153a661c44c
class Screenshots(Auxiliary, Thread): <NEW_LINE> <INDENT> def __init__(self, options={}, analyzer=None): <NEW_LINE> <INDENT> Thread.__init__(self) <NEW_LINE> Auxiliary.__init__(self, options, analyzer) <NEW_LINE> self.do_run = True <NEW_LINE> <DEDENT> def stop(self): <NEW_LINE> <INDENT> self.do_run = False <NEW_LINE> <...
Take screenshots.
62598f7150485f2cf55da7aa
class Entry(models.Model): <NEW_LINE> <INDENT> title = models.CharField('标题',max_length=50) <NEW_LINE> category = models.ForeignKey(Category,verbose_name='分类',default=1) <NEW_LINE> plink = models.CharField('永久链接',max_length=15,blank=True,null=True) <NEW_LINE> public = models.BooleanField('公开',default=False) <NEW_LINE> ...
文章
62598f71e76e3b2f99fd826c
class Kick(object): <NEW_LINE> <INDENT> def __init__(self, _name, x=16, y=0, h=0, dist=100, move=None, bhType=None): <NEW_LINE> <INDENT> self.name = _name <NEW_LINE> self.sweetMove = move <NEW_LINE> self.bhKickType = bhType <NEW_LINE> self.setupX = x <NEW_LINE> self.setupY = y <NEW_LINE> self.setupH = h <NEW_LINE> self...
Represents a kick. Includes sweet move (if there is one), sweet spot, global heading representing what direction we mean to kick the ball in, the intended target of the kick, and some indication of the range of a kick.
62598f719b70327d1c57e5e9
class NodeButton(bpy.types.Operator): <NEW_LINE> <INDENT> bl_idname = 'node.button' <NEW_LINE> bl_label = 'Arrange nodes' <NEW_LINE> def invoke(self, context, value): <NEW_LINE> <INDENT> nodemargin(self, context) <NEW_LINE> return {'FINISHED'}
Rearrange whole of current node tree
62598f71ac7a0e7691f71d52
class Solution: <NEW_LINE> <INDENT> def hasCycle(self, head): <NEW_LINE> <INDENT> if not head: <NEW_LINE> <INDENT> return False <NEW_LINE> <DEDENT> slow, fast = head, head.next <NEW_LINE> while fast != slow: <NEW_LINE> <INDENT> if not fast or not fast.next: <NEW_LINE> <INDENT> return False <NEW_LINE> <DEDENT> slow = sl...
@param head: The first node of linked list. @return: True if it has a cycle, or false
62598f7191af0d3eaad39647
class DeletePublicationResultSet(ResultSet): <NEW_LINE> <INDENT> def getJSONFromString(self, str): <NEW_LINE> <INDENT> return json.loads(str) <NEW_LINE> <DEDENT> def get_Response(self): <NEW_LINE> <INDENT> return self._output.get('Response', None)
A ResultSet with methods tailored to the values returned by the DeletePublication Choreo. The ResultSet object is used to retrieve the results of a Choreo execution.
62598f716fece00bbaccb1c7
class BaseDrmaaManager(ExternalBaseManager): <NEW_LINE> <INDENT> def __init__(self, name, app, **kwds): <NEW_LINE> <INDENT> super().__init__(name, app, **kwds) <NEW_LINE> self.native_specification = kwds.get('native_specification', None) <NEW_LINE> drmaa_session_factory_class = kwds.get('drmaa_session_factory_class', D...
Base class for Pulsar managers using DRMAA.
62598f7107d97122c42164de
class LoggingTelnetServerProtocol(LoggingServerProtocol): <NEW_LINE> <INDENT> def getSessionId(self): <NEW_LINE> <INDENT> transportId = self.transport.session.transportId <NEW_LINE> sn = self.transport.session.transport.transport.sessionno <NEW_LINE> return (transportId, sn)
Wrap LoggingServerProtocol with single method to fetch session id for Telnet
62598f71c432627299fa2814
@cassiopeia.type.core.common.inheritdocs <NEW_LINE> class Player(cassiopeia.type.dto.common.CassiopeiaDto): <NEW_LINE> <INDENT> def __init__(self, dictionary): <NEW_LINE> <INDENT> self.matchHistoryUri = dictionary.get("matchHistoryUri", "") <NEW_LINE> self.profileIcon = dictionary.get("profileIcon", 0) <NEW_LINE> self....
Args: bans (list<BannedChampion>): if game was draft mode, contains banned champion data, otherwise null baronKills (int): number of times the team killed baron dominionVictoryScore (int): if game was a dominion game, specifies the points the team had at game end, otherwise null dragonKills (int): numbe...
62598f715e10d32532ce350b
class SelectDependencies(datatype('Dependencies', ['product', 'dep_product', 'field', 'field_types']), Selector): <NEW_LINE> <INDENT> DEFAULT_FIELD = 'dependencies' <NEW_LINE> optional = False <NEW_LINE> def __new__(cls, product, dep_product, field=DEFAULT_FIELD, field_types=tuple()): <NEW_LINE> <INDENT> return super(S...
Selects a product for each of the dependencies of a product for the Subject. The dependencies declared on `dep_product` (in the optional `field` parameter, which defaults to 'dependencies' when not specified) will be provided to the requesting task in the order they were declared. Field types are used to statically d...
62598f7166656f66f7d59c2e
class SetTargetPools(base.Command): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def Args(parser): <NEW_LINE> <INDENT> parser.add_argument('group', help='Managed instance group name.') <NEW_LINE> parser.add_argument( '--target-pool', type=arg_parsers.ArgList(min_length=1), metavar='TARGET_POOL', action=arg_parsers.Floa...
Set the target pools for an existing managed instance group. *{command}* sets the target pools for an existing managed instance group. The new target pools won't apply to existing instances in the group unless they are recreated using the 'recreate-instances' command. But any new instances created in the managed inst...
62598f7173bcbd0ca4bc9a8a
class _PseudoTreeNameClass(Value): <NEW_LINE> <INDENT> api_type = u'class' <NEW_LINE> def __init__(self, parent_context, tree_name): <NEW_LINE> <INDENT> super(_PseudoTreeNameClass, self).__init__( parent_context.inference_state, parent_context ) <NEW_LINE> self._tree_name = tree_name <NEW_LINE> <DEDENT> @property <NEW_...
In typeshed, some classes are defined like this: Tuple: _SpecialForm = ... Now this is not a real class, therefore we have to do some workarounds like this class. Essentially this class makes it possible to goto that `Tuple` name, without affecting anything else negatively.
62598f7126238365f5fac3b4
class _WaitWidgetContextManager: <NEW_LINE> <INDENT> def __init__(self, method_name, adjective_name, widget, timeout): <NEW_LINE> <INDENT> self._method_name = method_name <NEW_LINE> self._adjective_name = adjective_name <NEW_LINE> self._widget = widget <NEW_LINE> self._timeout = timeout <NEW_LINE> <DEDENT> def __enter_...
Context manager implementation used by ``waitActive`` and ``waitExposed`` methods.
62598f7107d97122c42164df
class Schedule(object): <NEW_LINE> <INDENT> def __init__(self, tiplocs=None): <NEW_LINE> <INDENT> self.tiplocs = tiplocs if tiplocs is not None else {} <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return "<{} {} tiplocs>".format( self.__class__.__name__, len(self.tiplocs), ) <NEW_LINE> <DEDENT> def plan_...
A schedule graph which may be queried for routes.
62598f710a366e3fb87dc205
class Buffer(A10BaseClass): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.ERROR_MSG = "" <NEW_LINE> self.required=[] <NEW_LINE> self.b_key = "buffer" <NEW_LINE> self.a10_url="/axapi/v3/logging/email/buffer" <NEW_LINE> self.DeviceProxy = "" <NEW_LINE> self.uuid = "" <NEW_LINE> self.number = ...
Class Description:: Logging via email buffering settings. Class buffer supports CRUD Operations and inherits from `common/A10BaseClass`. This class is the `"PARENT"` class for this module.` :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true...
62598f7176d4e153a661c450
class VpnClientConfiguration(Model): <NEW_LINE> <INDENT> _attribute_map = { 'vpn_client_address_pool': {'key': 'vpnClientAddressPool', 'type': 'AddressSpace'}, 'vpn_client_root_certificates': {'key': 'vpnClientRootCertificates', 'type': '[VpnClientRootCertificate]'}, 'vpn_client_revoked_certificates': {'key': 'vpnClien...
VpnClientConfiguration for P2S client. :param vpn_client_address_pool: The reference of the address space resource which represents Address space for P2S VpnClient. :type vpn_client_address_pool: ~azure.mgmt.network.v2017_10_01.models.AddressSpace :param vpn_client_root_certificates: VpnClientRootCertificate for vir...
62598f7173bcbd0ca4bc9a8b
class SearchFaculty(webapp2.RequestHandler): <NEW_LINE> <INDENT> def get(self): <NEW_LINE> <INDENT> user = users.get_current_user() <NEW_LINE> if user: <NEW_LINE> <INDENT> template_values = { 'user_mail': users.get_current_user().email(), 'logout': users.create_logout_url(self.request.host_url), } <NEW_LINE> template =...
Display search page
62598f71a4f1c619b294de2a
class SCENE_OT_namedlayer_group_remove(Operator): <NEW_LINE> <INDENT> bl_idname = "scene.namedlayer_group_remove" <NEW_LINE> bl_label = "Remove Layer Group" <NEW_LINE> group_idx = bpy.props.IntProperty() <NEW_LINE> @classmethod <NEW_LINE> def poll(cls, context): <NEW_LINE> <INDENT> return bool(context.scene) <NEW_LINE>...
Remove selected layer group
62598f718e05c05ec3f6ea65
class Cash_BookForm(forms.ModelForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Cash_Book <NEW_LINE> fields = ('settlement_date', 'receipt_date', 'description_partner', 'description_content', 'account_title', 'staff', 'purchase_order_code', 'reduced_tax_flag', 'incomes', 'expences', ) <NEW_LINE> <DEDE...
現金出納帳のフォーム
62598f71167d2b6e312b67bc
class OldeDialectizer(Dialectizer): <NEW_LINE> <INDENT> subs = ((r'i([bcdfghjklmnpqrstvwxyz])e\b', r'y\1'), (r'i([bcdfghjklmnpqrstvwxyz])e', r'y\1\1e'), (r'ick\b', r'yk'), (r'ia([bcdfghijklmnpqrstvwxyz])', r'e\1e'), (r'e[ea]([bcdfghjklmnpqrstvwxyz])', r'e\1e'), (r'([bcdfghjklmnpqrstvwxyz])y', r'\1ee'), (r'([bcdfghjklmn...
convert HTML to mock Middle English
62598f71d53ae8145f917cd6
class TestDbify: <NEW_LINE> <INDENT> def test_dbify(self): <NEW_LINE> <INDENT> assert dbify('stuff') == 'Stuff' <NEW_LINE> assert dbify('This is a Title') == 'This Is a Title' <NEW_LINE> assert dbify('lowercase stuff') == 'Lowercase Stuff' <NEW_LINE> assert dbify('You will forget-me-not') == 'You Will Forget-me-not' <N...
Class for testing the dbify function.
62598f717c178a314d78cce5
class SignUpView(APIView): <NEW_LINE> <INDENT> permission_classes = (permissions.AllowAny,) <NEW_LINE> def post(self, request, *args, **kwargs): <NEW_LINE> <INDENT> user = request.data <NEW_LINE> serializer = UserSerializer(data=user) <NEW_LINE> serializer.is_valid(raise_exception=True) <NEW_LINE> serializer.save() <NE...
POST auth/signup/
62598f7173bcbd0ca4bc9a8c
class Arithmetic: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @abstractmethod <NEW_LINE> def ceil(self, value): pass <NEW_LINE> @abstractmethod <NEW_LINE> def floor(self, value): pass <NEW_LINE> @abstractmethod <NEW_LINE> def log(self, value, base): pass <NEW_LINE> @abstractmeth...
Declares operations on a data type
62598f71be8e80087fbbe89f
class Transaction(models.Model): <NEW_LINE> <INDENT> id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) <NEW_LINE> prefix = models.CharField(max_length=12, default = "") <NEW_LINE> aircraft = models.ForeignKey(Aircraft, models.CASCADE,related_name='Aircraft', null=True) <NEW_LINE> created_at = ...
This model provides a view of all transactions in the system
62598f7130c21e258be98043
class IComponentSelection(IComponent): <NEW_LINE> <INDENT> pass
A component selection registering a component for selection on a content type.
62598f71287bf620b62713f7
class HTTPGet(Actor): <NEW_LINE> <INDENT> @manage() <NEW_LINE> def init(self): <NEW_LINE> <INDENT> self.setup() <NEW_LINE> <DEDENT> def did_migrate(self): <NEW_LINE> <INDENT> self.setup() <NEW_LINE> <DEDENT> def setup(self): <NEW_LINE> <INDENT> self.request = None <NEW_LINE> self.reset_request() <NEW_LINE> self.use('ca...
Get contents of URL Input: URL : URL to get params : Optional parameters to request as a JSON dictionary header: JSON dictionary with headers to include in request Output: status: 200/404/whatever header: JSON dictionary of incoming headers data : body of request
62598f7176d4e153a661c452
class BlenderAnimation(): <NEW_LINE> <INDENT> def __new__(cls, *args, **kwargs): <NEW_LINE> <INDENT> raise RuntimeError("%s should not be instantiated" % cls) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def anim(gltf, anim_idx, node_idx): <NEW_LINE> <INDENT> if gltf.data.nodes[node_idx].is_joint: <NEW_LINE> <INDENT> B...
Dispatch Animation to bone or object animation.
62598f7173bcbd0ca4bc9a8d
class UnityMLVectorMultiAgent(): <NEW_LINE> <INDENT> def __init__(self, evaluation_only=False, seed=0): <NEW_LINE> <INDENT> os = platform.system() <NEW_LINE> if os == 'Darwin': <NEW_LINE> <INDENT> file_name = 'Soccer.app' <NEW_LINE> <DEDENT> elif os == 'Linux': <NEW_LINE> <INDENT> file_name = 'Soccer_Linux/Soccer.x86_6...
Multi-agent UnityML environment with vector observations.
62598f717b25080760ed6cde
@pytest.mark.usefixtures('db') <NEW_LINE> class TestParty: <NEW_LINE> <INDENT> def test_fraternity_user_alignment(self, other_frat, user): <NEW_LINE> <INDENT> with pytest.raises(InvalidAPIUsage): <NEW_LINE> <INDENT> Party.create(name='my party', fraternity=other_frat, creator=user, date=date.today()) <NEW_LINE> <DEDENT...
Party tests.
62598f7150485f2cf55da7b0
class ConeSector(Sector): <NEW_LINE> <INDENT> __swig_setmethods__ = {} <NEW_LINE> for _s in [Sector]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{})) <NEW_LINE> __setattr__ = lambda self, name, value: _swig_setattr(self, ConeSector, name, value) <NEW_LINE> __swig_getmethods__ = {} <NEW_LINE> for _s in ...
Proxy of C++ osgSim::ConeSector class
62598f71287bf620b62713f8
class SupplyKitControl (PartNumberType): <NEW_LINE> <INDENT> _TypeDefinition = None <NEW_LINE> _ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY <NEW_LINE> _Abstract = False <NEW_LINE> _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'SupplyKitControl') <NEW_LINE> _XSDLocation = pyxb.uti...
Represents the DNA control complex.
62598f7121bff66bcd7224a1
class Shop(object): <NEW_LINE> <INDENT> def __init__(self, root: etree) -> None: <NEW_LINE> <INDENT> self.locationid = root.find("locationid").text <NEW_LINE> <DEDENT> def __repr__(self) -> str: <NEW_LINE> <INDENT> return f'Shop<locationid = "{self.locationid}">'
Demodata.Get.Shop object
62598f71d164cc61758207b7
class MatchSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = MatchPerformance <NEW_LINE> fields = ( 'id', 'timestamp', 'summoner', 'champ', 'win', 'level', 'kills', 'deaths', 'assists', 'gold_earned', 'double_kills', 'triple_kills', 'quadra_kills', 'penta_kills', 'dama...
Simple serializer for the Match model
62598f7115baa723494617cb
class MaxResultsRequestForm(messages.Message): <NEW_LINE> <INDENT> max_results = messages.IntegerField(1)
MaxResultsRequestForm -- request top scores with optional limit
62598f71925a0f43d25e787e
class Registry(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.key_bindings = [] <NEW_LINE> self._keys_to_bindings = defaultdict(list) <NEW_LINE> self._keys_to_bindings_suffixes = defaultdict(list) <NEW_LINE> <DEDENT> def add_binding(self, *keys, **kwargs): <NEW_LINE> <INDENT> filter = to_cli_...
Key binding registry. :: r = Registry() @r.add_binding(Keys.ControlX, Keys.ControlC, filter=INSERT) def handler(event): # Handle ControlX-ControlC key sequence. pass
62598f718a43f66fc4bf19bf
class TestAffinityTask: <NEW_LINE> <INDENT> user = "UT" <NEW_LINE> process_name = "rsyslogd" <NEW_LINE> cpuinfo = "/proc/cpuinfo" <NEW_LINE> def test_get_affinity_task(self): <NEW_LINE> <INDENT> task_affinity = TaskAffinity(self.user) <NEW_LINE> tasks = Utils.get_task_id(self.process_name) <NEW_LINE> if tasks is None: ...
test affinity task
62598f718e05c05ec3f6ea66
class ChannelInfo: <NEW_LINE> <INDENT> __slots__ = ("user", "game_id", "game_name", "title", "language", "delay") <NEW_LINE> def __init__(self, http: "TwitchHTTP", data: dict): <NEW_LINE> <INDENT> self.user = PartialUser(http, data["broadcaster_id"], data["broadcaster_name"]) <NEW_LINE> self.game_id: int = data["game_i...
Represents a channel's current information Attributes ----------- user: :class:`~twitchio.PartialUser` The user whose channel information was requested. game_id: :class:`int` Current game ID being played on the channel. game_name: :class:`str` Name of the game being played on the channel. title: :class:`st...
62598f718a349b6b43685a83
class Location(models.Model): <NEW_LINE> <INDENT> __metaclass__ = ExtensibleModelBase <NEW_LINE> point = models.ForeignKey(Point, null=True, blank=True) <NEW_LINE> parent_type = models.ForeignKey(ContentType, null=True, blank=True) <NEW_LINE> parent_id = models.PositiveIntegerField(null=True, blank=True) <NEW_LINE> p...
This model represents a named point on the globe. It is deliberately spartan, so more specific apps can extend it with their own fields and relationships without clashing with built-in functionality.
62598f719b70327d1c57e5ef
class Aruba(aclgenerator.ACLGenerator): <NEW_LINE> <INDENT> _PLATFORM = 'aruba' <NEW_LINE> SUFFIX = '.aruba' <NEW_LINE> def _BuildTokens(self): <NEW_LINE> <INDENT> supported_tokens = {'action', 'source_address', 'comment', 'name', 'translated', } <NEW_LINE> supported_sub_tokens = {'action': {'accept',}} <NEW_LINE> retu...
An Aruba policy object.
62598f71167d2b6e312b67be
class RegistrationLinkedRegistrationsList(NodeLinkedRegistrationsList, RegistrationMixin): <NEW_LINE> <INDENT> serializer_class = RegistrationSerializer <NEW_LINE> view_category = 'registrations' <NEW_LINE> view_name = 'linked-registrations'
List of registrations linked to this registration. *Read-only*. Linked registrations are the registration nodes pointed to by node links. <!--- Copied Spiel from RegistrationDetail --> Registrations are read-only snapshots of a project. This view shows details about the given registration. Each resource contains the...
62598f717c178a314d78cce7
class Job(models.Model): <NEW_LINE> <INDENT> image = models.ImageField(upload_to='images/') <NEW_LINE> summary = models.CharField(max_length=200) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.summary
Model for the job image and summary fields in Admin
62598f7130dc7b766599f0a0
class BroadenHW(tf.keras.layers.Layer): <NEW_LINE> <INDENT> def __init__(self, h, w, c, data_format="channels_first"): <NEW_LINE> <INDENT> super(BroadenHW, self).__init__() <NEW_LINE> self.h = h <NEW_LINE> self.w = w <NEW_LINE> self.c = c <NEW_LINE> self.data_format = data_format <NEW_LINE> <DEDENT> def call(self, x): ...
Wrapper class so that `broaden_hw` can be used in `tf.keras.Sequential`.
62598f71796e427e5384dfd7
class ContactFormCaptcha(ContactForm): <NEW_LINE> <INDENT> captcha = CaptchaField(label=_('Protection Code'), error_messages={'required': _('Please enter protection code'), 'invalid': _('Invalid protection code')}) <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> self.helper = FormHelper() <NEW_LINE>...
ContactForm form with captcha
62598f7107d97122c42164e3
class HiCoin(Bitcoin): <NEW_LINE> <INDENT> name = 'hicoin' <NEW_LINE> symbols = ('XHI', ) <NEW_LINE> nodes = ('45.32.35.123', ) <NEW_LINE> port = 35289 <NEW_LINE> message_start = b'\xb4\xfc\xc8\xd2' <NEW_LINE> base58_prefixes = { 'PUBKEY_ADDR': 40, 'SCRIPT_ADDR': 38, 'SECRET_KEY': 168 }
Class with all the necessary HiCoin network information based on https://github.com/hicoindev/hicoin/blob/master/src/net.cpp (date of access: 02/12/2018)
62598f7173bcbd0ca4bc9a8f
class GetPlanResult: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swaggerTypes = { 'ref_id': 'str', 'name': 'str' } <NEW_LINE> self.ref_id = None <NEW_LINE> self.name = None
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f7176d4e153a661c455
@register_interaction('bqplot.LassoSelector') <NEW_LINE> class LassoSelector(TwoDSelector): <NEW_LINE> <INDENT> color = Color(None, allow_none=True).tag(sync=True) <NEW_LINE> _view_name = Unicode('LassoSelector').tag(sync=True) <NEW_LINE> _model_name = Unicode('LassoSelectorModel').tag(sync=True)
Lasso selector interaction. This 2-D selector enables the user to select multiple sets of data points by drawing lassos on the figure. A mouse-down starts drawing the lasso and after the mouse-up the lasso is closed and the `selected` attribute of each mark gets updated with the data in the lasso. The user can select...
62598f7130c21e258be98046
class StatusTrayIconGUI(gtk.StatusIcon, TrayIconGUI): <NEW_LINE> <INDENT> def __init__(self, parent): <NEW_LINE> <INDENT> TrayIcon.TrayIconGUI.__init__(self, parent) <NEW_LINE> gtk.StatusIcon.__init__(self) <NEW_LINE> self.current_icon_name = '' <NEW_LINE> self.set_visible(True) <NEW_LINE> self.connect('activate', self...
Class for creating the wicd tray icon on gtk > 2.10. Uses gtk.StatusIcon to implement a tray icon.
62598f7166673b3332c2fc03
class CheckValuePropertyBatchOperation(PropertyBatchOperation): <NEW_LINE> <INDENT> _validation = { 'property_name': {'required': True}, 'kind': {'required': True}, 'value': {'required': True}, } <NEW_LINE> _attribute_map = { 'property_name': {'key': 'PropertyName', 'type': 'str'}, 'kind': {'key': 'Kind', 'type': 'str'...
Represents a PropertyBatchOperation that compares the value of the property with the expected value. The CheckValuePropertyBatchOperation is generally used as a precondition for the write operations in the batch. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be c...
62598f71a8ecb03325870a4b
class IsOwnerOrReadOnly(permissions.BasePermission): <NEW_LINE> <INDENT> def has_object_permission(self, request, view, obj): <NEW_LINE> <INDENT> if request.method in permissions.SAFE_METHODS: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> action = '' <NEW_LINE> if request.method in ['PUT', 'PATCH']: <NEW_LINE> <I...
Object-level permission to only allow owners of an object to edit it. Assumes the model instance has an `owner` attribute.
62598f718c3a8732951f5d93
class ConstantProperty(RawProperty): <NEW_LINE> <INDENT> def __init__(self, name: Optional[str] = None, value: RawJSONPrimitive = None, *, optional: bool = False, default: OptionallyPresent[PropertyValueType] = Absent): <NEW_LINE> <INDENT> self._value = value <NEW_LINE> super().__init__( name, schema=constant(value), o...
Configuration property which validates a constant primitive value.
62598f71cad5886f8bdc4b65
class ScoreboardViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> permission_classes = (AllowAny,) <NEW_LINE> resource_name = 'scoreboard' <NEW_LINE> queryset = Scoreboard.objects.all() <NEW_LINE> serializer_class = ScoreboardSerializer
API endpoint that allows users to be viewed.
62598f714e696a045264da1f
class DrinkBase(BaseModel): <NEW_LINE> <INDENT> name: DrinkNameEnum <NEW_LINE> price: float
A base class containing pydantic data validation for Drink model.
62598f7166656f66f7d59c34
class Field(Struct): <NEW_LINE> <INDENT> name: str <NEW_LINE> syn: Syn
Field is a named query (used in select): NAME := QUERY
62598f71d10714528d69d712
class UnknownParameter(Exception): <NEW_LINE> <INDENT> def __init__(self,msg): <NEW_LINE> <INDENT> self.msg = str(msg) <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return "Unkwnown parameter: %s"%(self.msg)
Unknown parameter exception. Attributes: msg (str): message to display to stdout when exception is raised.
62598f71b57a9660fecd12cc