code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class WPSite: <NEW_LINE> <INDENT> PROTOCOL = "https" <NEW_LINE> DEFAULT_TITLE = "New WordPress" <NEW_LINE> DEFAULT_TAGLINE = "EPFL" <NEW_LINE> WP_VERSION = Utils.get_mandatory_env(key="WP_VERSION") <NEW_LINE> def __init__(self, openshift_env, wp_site_url, wp_site_title=None, wp_tagline=None): <NEW_LINE> <INDENT> self.o...
Pure python object that will define a WP site by its path & url its title is optionnal, just to provide a default value to the final user
62598fac8e7ae83300ee9055
class Test_OSCmdBase(_Test_OSCmd): <NEW_LINE> <INDENT> oscmdcls = oscmd.OSCmdBase <NEW_LINE> def test_oscmd_methods(self): <NEW_LINE> <INDENT> for meth, nargs in self.expected_methods: <NEW_LINE> <INDENT> self.assertRaises( NotImplementedError, getattr(self.instance, meth), *tuple(range(nargs)))
Tests for the OSCmdBase class.
62598fac2ae34c7f260ab095
class Master(Base): <NEW_LINE> <INDENT> __tablename__ = 'master' <NEW_LINE> __table_args__ = {'autoload':True}
The Mapped class for the master table.
62598fac7d847024c075c377
class Place(object): <NEW_LINE> <INDENT> def __init__(self, name, exit=None): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.exit = exit <NEW_LINE> self.bees = [] <NEW_LINE> self.ant = None <NEW_LINE> self.entrance = None <NEW_LINE> if self.exit: <NEW_LINE> <INDENT> exit.entrance = self <NEW_LINE> <DEDENT> <DEDEN...
A Place holds insects and has an exit to another Place.
62598fac10dbd63aa1c70b66
class UnitTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.pidfile = "PidFile" <NEW_LINE> self.argv_list = ["program", "arg1", "arg2"] <NEW_LINE> self.stdin = "/path/file1" <NEW_LINE> self.stdout = "/path/file2" <NEW_LINE> self.stderr = "/path/file3" <NEW_LINE> <DEDENT> def test_st...
Class: UnitTest Description: Class which is a representation of a unit testing. Methods: setUp test_stderr_arg test_stdout_arg test_stdin_arg test_argv_list test_default_setting
62598facadb09d7d5dc0a53d
class PhpcsFixThisDirectoryCommand(sublime_plugin.WindowCommand): <NEW_LINE> <INDENT> def run(self, paths=[]): <NEW_LINE> <INDENT> cmd = PhpcsCommand.instance(self.window.active_view()) <NEW_LINE> cmd.fix_standards_errors(os.path.normpath(paths[0])) <NEW_LINE> <DEDENT> def is_enabled(self): <NEW_LINE> <INDENT> if Pref....
Command to use php-cs-fixer to 'fix' the directory
62598fac8e71fb1e983bba66
class ApplicationLauncher(ftrack_connect.application.ApplicationLauncher): <NEW_LINE> <INDENT> def _getApplicationEnvironment(self, application, context): <NEW_LINE> <INDENT> environment = super( ApplicationLauncher, self )._getApplicationEnvironment( application, context ) <NEW_LINE> hiero_plugin_path = os.path.join( ...
Launch nuke studio.
62598fac8c0ade5d55dc366b
class ProductViewSet(CartMixin, viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = Product.objects.all() <NEW_LINE> serializer_class = ProductSerializer <NEW_LINE> action_to_serializer = { 'list': ProductListRetrieveSerializer, 'retrieve': ProductListRetrieveSerializer } <NEW_LINE> def get_serializer_class(self): <...
вывод списка товаров и конкретного товара
62598fac4a966d76dd5eee94
class TestTeamEventStatusPlayoff(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 testTeamEventStatusPlayoff(self): <NEW_LINE> <INDENT> pass
TeamEventStatusPlayoff unit test stubs
62598fac796e427e5384e747
class PlotSender(QObject): <NEW_LINE> <INDENT> done = pyqtSignal() <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.runner = None <NEW_LINE> <DEDENT> def plot(self, plottables=list(), callback=None): <NEW_LINE> <INDENT> from .project_model import ProjectModel <NEW_LINE> ofp = StringIO() <NEW_LINE> plottable = pl...
slices and sends the plottables
62598fac5fcc89381b266126
class AltoArchive(abc.ABCMeta('ABC', (object,), {})): <NEW_LINE> <INDENT> def __init__(self, filename): <NEW_LINE> <INDENT> self.filename = filename <NEW_LINE> if ".zip" in self.filename: <NEW_LINE> <INDENT> stream = open_stream(self.filename) <NEW_LINE> self.zip = zipfile.ZipFile(stream) <NEW_LINE> self.filenames = [e...
Abstract base class for object model representation of ZIP|UNZIP archive of files in ALTO format.
62598fac60cbc95b06364302
class KeyValueTag(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swagger_types = { 'key_value_tag_ref': 'str', 'key': 'str', 'value': 'str' } <NEW_LINE> self.attribute_map = { 'key_value_tag_ref': 'keyValueTagRef', 'key': 'key', 'value': 'value' } <NEW_LINE> self._key_value_tag_ref = None <NE...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598fac7cff6e4e811b59df
class VirtualButton: <NEW_LINE> <INDENT> FILE_NAME = 'VIRTUAL_BUTTON' <NEW_LINE> def read(self): <NEW_LINE> <INDENT> file_exists = os.path.exists(self.FILE_NAME) <NEW_LINE> if file_exists: <NEW_LINE> <INDENT> os.remove(self.FILE_NAME) <NEW_LINE> <DEDENT> return file_exists
The virtual button can be pressed by creating an empty file VIRTUAL_BUTTON at the same place as this script. The file will be deleted automatically after it has been read.
62598fac8e7ae83300ee9056
class UserToGroup(Base): <NEW_LINE> <INDENT> __tablename__ = 'User_To_Group' <NEW_LINE> ID = Column(Integer, primary_key=True, autoincrement=True) <NEW_LINE> User_Id = Column(Integer, ForeignKey('User_Profile.ID')) <NEW_LINE> Group_Id = Column(Integer, ForeignKey('Server_Group.ID')) <NEW_LINE> __table_args__ =(UniqueCo...
关联 user 和 Group
62598facf9cc0f698b1c52a3
class LatLng(Field): <NEW_LINE> <INDENT> VALUES_OUT_OF_RANGE = "All values must be numbers in the range -180.0 to 180.0" <NEW_LINE> WRONG_SIZE = "A point must have 2 values" <NEW_LINE> NOT_STRING_OR_LIST = "Expected a comma-separated list of values or a list or tuple object." <NEW_LINE> def _validate(self, value): <NEW...
Passes a geographical point in for form of a list, tuple or comma-separated string:: v = LatLng() v.validate("42.76066, -84.9929") # ok -> (42.76066, -84.9929) v.validate((42.76066, -84.9929)) # ok v.validate("234,56756.453") # oops
62598fac7d43ff24874273dc
class OutputFileForThreads: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.output = {} <NEW_LINE> self.lock = threading.Lock() <NEW_LINE> <DEDENT> def write(self, data): <NEW_LINE> <INDENT> thread_name = threading.currentThread().getName() <NEW_LINE> with self.lock: <NEW_LINE> <INDENT> if thread_name ...
Collates writes according to thread name.
62598fac45492302aabfc485
class SQL: <NEW_LINE> <INDENT> def __init__(self, command, cursor=None, alchemy=False): <NEW_LINE> <INDENT> self.alchemy = alchemy <NEW_LINE> self.command = command <NEW_LINE> self.cursor = cursor <NEW_LINE> <DEDENT> def ex(self, p=False): <NEW_LINE> <INDENT> command = self.command <NEW_LINE> if p or self.cursor is Non...
The Select object allows a select statement to be extended with methods like where before being executed with .ex() params: alchemy when set to true, assumes that cursor is an sqlalchemy engine. This results in some sql commands being returned as a DataFrame.
62598fac460517430c432037
class CommandImportPage(Command): <NEW_LINE> <INDENT> name = "import_page" <NEW_LINE> needs_config = False <NEW_LINE> doc_usage = "[options] page_url [page_url,...]" <NEW_LINE> doc_purpose = "import arbitrary web pages" <NEW_LINE> def _execute(self, options, args): <NEW_LINE> <INDENT> for url in args: <NEW_LINE> <INDEN...
Import a Page.
62598facf7d966606f747f99
class SpecInstallRenderer(SpecSectionRenderer): <NEW_LINE> <INDENT> obj = SpecStInstall
%changelog renderer @cvar obj: sections rendered by this renderer
62598fac6aa9bd52df0d4e7c
class UniformFlowEnvironment( Environment): <NEW_LINE> <INDENT> ma = Float(0.0, desc="flow mach number") <NEW_LINE> fdv = CArray( dtype=float64, shape=(3, ), value=array((1.0, 0, 0)), desc="flow direction") <NEW_LINE> digest = Property( depends_on=['c', 'ma', 'fdv'], ) <NEW_LINE> @cached_property <NEW_LINE> def _get_di...
An acoustic environment with uniform flow. This class provides the facilities to calculate the travel time (distances) between grid point locations and microphone locations in a uniform flow field.
62598faceab8aa0e5d30bd40
class DBFChunkedUpload(ChunkedUpload): <NEW_LINE> <INDENT> pass
For now we need to create our own subclass of ChunkedUpload because the chunked_upload package does not provide migrations. As soon as https://github.com/juliomalegria/django-chunked-upload/pull/21 is merged, we can remove this.
62598fac5fc7496912d4825c
class PyTest(TestCommand): <NEW_LINE> <INDENT> def initialize_options(self): <NEW_LINE> <INDENT> TestCommand.initialize_options(self) <NEW_LINE> self.pytest_args = [ '-v', '--pylama', '--cov-report=term-missing', '--cov=bot_calendario_telegram', 'tests/' ] <NEW_LINE> <DEDENT> def run_tests(self): <NEW_LINE> <INDENT> im...
Run test suite.
62598fac5fdd1c0f98e5df4a
class BankAccount(FundingInstrument): <NEW_LINE> <INDENT> type = 'bank_accounts' <NEW_LINE> uri_gen = txwac.URIGen('/bank_accounts', '{bank_account}') <NEW_LINE> def verify(self): <NEW_LINE> <INDENT> return BankAccountVerification( href=self.bank_account_verifications.href ).save()
A BankAccount is both a source, and a destination of, funds. You may create Debits and Credits to and from, this funding instrument.
62598fac38b623060ffa904e
class NsPackageCompliance(ExceptionMessage): <NEW_LINE> <INDENT> pass
Network Service package contents do not comply with the definition.
62598fac009cb60464d014d5
class SvdRotationRateRest(SvdRotationRate): <NEW_LINE> <INDENT> def __init__(self, reload_ = False, training = True, rmnan = True): <NEW_LINE> <INDENT> SvdRotationRate.__init__(self, "rest", reload_, training, rmnan)
Raw rotationrate for rest phase
62598fac3346ee7daa337623
class GeoDatasetCategoryListView(OrganizationViewMixin, ManageViewMixin, ListView): <NEW_LINE> <INDENT> model = GeoDatasetCategory <NEW_LINE> paginate_by = 10 <NEW_LINE> context_object_name = 'geodatasetcategories'
List all geodataset categories
62598fac7047854f4633f38f
class Index(_IndexBase, total=False): <NEW_LINE> <INDENT> name: typing.Optional[str] <NEW_LINE> unique: bool
Index schema.
62598fac66656f66f7d5a3a5
class QuestionerDictionary(Questioner): <NEW_LINE> <INDENT> def __init__(self, dictionary=None): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> <DEDENT> except NotImplementedError: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> self.dictionary = {} if dictionary is None else dictionary <NEW_LI...
Stores settings in a dictionary, which should be provided in the constructor
62598fac2ae34c7f260ab097
class BannerSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Banner <NEW_LINE> fields = '__all__'
首页轮播图序列化类
62598fac55399d3f056264d9
class DGFTreeSelectWidget(TextWidget): <NEW_LINE> <INDENT> klass = u'dgf-tree-select-widget' <NEW_LINE> def __init__(self, request): <NEW_LINE> <INDENT> super(DGFTreeSelectWidget, self).__init__(request) <NEW_LINE> self.terms = [] <NEW_LINE> <DEDENT> @property <NEW_LINE> def items(self): <NEW_LINE> <INDENT> return [] <...
A data grid widget which does nested master-slave drop down menus using <select>.
62598fac7b180e01f3e4902b
class Help(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def setup(ap): <NEW_LINE> <INDENT> ap.add_argument('command', help='The command to print help for', nargs='?') <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def run(ctx, args): <NEW_LINE> <INDENT> if args.command is None: <NEW_LINE> <INDENT> ctx.subcommand...
Displays help about sub-commands
62598facadb09d7d5dc0a53f
@dataclass <NEW_LINE> class CodeSystemConceptDesignation(BackboneElement): <NEW_LINE> <INDENT> resource_type: ClassVar[str] = "CodeSystemConceptDesignation" <NEW_LINE> language: Optional[str] = None <NEW_LINE> use: Optional[Coding] = None <NEW_LINE> value: str = None
Additional representations for the concept. Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.
62598fac8c0ade5d55dc366c
class DatabaseRecordError(Exception): <NEW_LINE> <INDENT> pass
Raised when mongodb document has wrong format or does not exists
62598fac4a966d76dd5eee96
class GeneralDecoderRNN(nn.Module): <NEW_LINE> <INDENT> def __init__(self, input_size, hidden_size, output_size): <NEW_LINE> <INDENT> super(GeneralDecoderRNN, self).__init__() <NEW_LINE> self.name = 'GeneralDecoderRNN' <NEW_LINE> self.hidden_size = hidden_size <NEW_LINE> self.gru = nn.GRU(input_size, self.hidden_size) ...
Vanilla decoder (WITH NO EMBEDDINGS) which decodes based on single context vector
62598fac56b00c62f0fb286a
class VirtualNetworkGatewayPaged(Paged): <NEW_LINE> <INDENT> _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, 'current_page': {'key': 'value', 'type': '[VirtualNetworkGateway]'} } <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(VirtualNetworkGatewayPaged, self).__init__(*arg...
A paging container for iterating over a list of :class:`VirtualNetworkGateway <azure.mgmt.network.v2016_09_01.models.VirtualNetworkGateway>` object
62598fac99cbb53fe6830e8d
class TemplateRecord(dict, DictRecord): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> date = datetime.datetime.utcnow().isoformat()[:-3] <NEW_LINE> self['ttl'] = int(time.mktime(time.strptime( date, "%Y-%m-%dT%H:%M:%S.%f"))) <NEW_LINE> self['date'] = date
Generic Lifoid message
62598fac30dc7b766599f803
class PLNationalBusinessRegisterField(RegexField): <NEW_LINE> <INDENT> default_error_messages = { 'invalid': _(u'National Business Register Number (REGON) consists of 7 or 9 digits.'), 'checksum': _(u'Wrong checksum for the National Business Register Number (REGON).'), } <NEW_LINE> def __init__(self, *args, **kwargs): ...
A form field that validated as Polish National Official Business Register Number (REGON) Valid forms are: 7 or 9 digits number More on the field: http://www.stat.gov.pl/bip/regon_ENG_HTML.htm The checksum algorithm is documented at http://wipos.p.lodz.pl/zylla/ut/nip-rego.html
62598fac4c3428357761a26f
class TKCNet(BaseNet): <NEW_LINE> <INDENT> def __init__(self, nclass, backbone, aux=False, se_loss=False, norm_layer=nn.BatchNorm2d, **kwargs): <NEW_LINE> <INDENT> super(TKCNet, self).__init__(nclass, backbone, aux, se_loss, norm_layer=norm_layer, **kwargs) <NEW_LINE> self.head = TFAHead(2048, nclass, norm_layer, r1=[1...
Tree-structured Kronecker Convolutional Networks for Semantic Segmentation, Note that: In our pytorch implementation of TKCN: for KConv(r_1,r_2), we use AvgPool2d(kernel_size = r_2, stride=1) and Conv2d( kernel_size =3, dilation = r_1) to approximate it. The original codes (caffe) will be relesed later...
62598fac60cbc95b06364304
class GantLinksViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = Gantt_links.objects.all() <NEW_LINE> serializer_class = GanttLinksSerializer <NEW_LINE> ordering_fields = '__all__'
## Gantt Links Enlaces entre tareas de Gantt
62598fac5fcc89381b266127
class GlobalAction(pythics.libcontrol.Control): <NEW_LINE> <INDENT> def __init__(self, parent, label=None, **kwargs): <NEW_LINE> <INDENT> pythics.libcontrol.Control.__init__(self, parent, **kwargs) <NEW_LINE> if label is None or label == '': <NEW_LINE> <INDENT> self._widget = None <NEW_LINE> <DEDENT> else: <NEW_LINE> <...
Holds an action which can triggered by a `GlobalTrigger` control in another app. The `id` parameter is the name of the control and it must match the 'action_id' of an associated `GlobalTrigger`. The GlobalAction and GlobalTrigger may be in different apps. HTML parameters: *label*: [ str | *None* (default) ] te...
62598fac63b5f9789fe8511c
class Filter(object): <NEW_LINE> <INDENT> @property <NEW_LINE> def regex(self): <NEW_LINE> <INDENT> raise NotImplemented <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def repl(match): <NEW_LINE> <INDENT> raise NotImplemented <NEW_LINE> <DEDENT> def __init__(self, text): <NEW_LINE> <INDENT> self.text = text <NEW_LINE> <D...
Base filter object. Takes a string in the constructor and knows how to apply a text transformation
62598fac3317a56b869be525
class ServiceDataSubRecord(EGTSRecord): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(ServiceDataSubRecord, self).__init__( ('srt', Byte()), ('srl', UShort()), ('srd', None), *args, **kwargs ) <NEW_LINE> <DEDENT> def set_fields(self): <NEW_LINE> <INDENT> self['srl'] = len(self['srd'...
Subrecord of Service Data Record
62598fac236d856c2adc9418
class InstallWithOptions(install): <NEW_LINE> <INDENT> user_options = install.user_options + [ ('plugins', None, 'Install default plugins.'), ('web', None, 'Install web client resources.') ] <NEW_LINE> boolean_options = install.boolean_options + [ 'plugins', 'web' ] <NEW_LINE> def initialize_options(self, *arg, **kw): ...
A custom install command that recognizes extra options to perform plugin and/or web client installation.
62598fac8e7ae83300ee9058
class ResPartner(orm.Model): <NEW_LINE> <INDENT> _inherit = 'res.partner' <NEW_LINE> _columns = { 'mrp_note': fields.char( 'Production note', size=120, help='Production note for partner'), }
Model name: ResPartner
62598fac4428ac0f6e6584da
class ItemMetadata(): <NEW_LINE> <INDENT> def get_item_type(item): <NEW_LINE> <INDENT> item_type = False <NEW_LINE> if('@type' in item): <NEW_LINE> <INDENT> item_type = item['@type'] <NEW_LINE> <DEDENT> elif('type' in item): <NEW_LINE> <INDENT> item_type = item['type'] <NEW_LINE> <DEDENT> return item_type <NEW_LINE> <D...
Class has some methods to add metadata to items
62598facb7558d58954635df
class TimeRangeEndpoint(Endpoint): <NEW_LINE> <INDENT> _http_method = "GET" <NEW_LINE> _uri = "/time/range" <NEW_LINE> _route_name = "time_range_now_plus_duration" <NEW_LINE> _returns = DateTimeRangeResource( "Information about the range specified, as well as the " "range's start and end datetimes.") <NEW_LINE> duratio...
Returns start and end times based on the passed in duration. The start time is implied to be "now", and the end time is calculated by adding the duration to that start time. This is obviously fairly contrived, but this endpoint is here to illustrate and test nested resources.
62598fac92d797404e388b3f
class SumTree(): <NEW_LINE> <INDENT> def __init__(self, buffer_size): <NEW_LINE> <INDENT> self.memory_idx = 0 <NEW_LINE> self.n_entries = 0 <NEW_LINE> self.buffer_size = buffer_size <NEW_LINE> self.tree = np.zeros(2*self.buffer_size-1) <NEW_LINE> self.experience = namedtuple('experience', ['state', 'action','reward','n...
Store experience in the memory and its priority in the tree. The code is referred from 1. https://github.com/MorvanZhou/Reinforcement-learning-with-tensorflow/blob/master/contents/5.2_Prioritized_Replay_DQN 2. https://github.com/rlcode/per
62598facd268445f26639b5e
class ShowPlatformSoftwareCpmSwitchB0ResourceSchema(MetaParser): <NEW_LINE> <INDENT> schema = { 'device_status':{ 'oobnd1': str, 'leaba0_3': str, 'leaba0_5': str }, }
Schema for show platform software cpm switch {mode} B0 resource
62598facdd821e528d6d8eeb
class ParserI: <NEW_LINE> <INDENT> def grammar(self): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> def parse(self, sent, *args, **kwargs): <NEW_LINE> <INDENT> if overridden(self.parse_sents): <NEW_LINE> <INDENT> return next(self.parse_sents([sent], *args, **kwargs)) <NEW_LINE> <DEDENT> elif overr...
A processing class for deriving trees that represent possible structures for a sequence of tokens. These tree structures are known as "parses". Typically, parsers are used to derive syntax trees for sentences. But parsers can also be used to derive other kinds of tree structure, such as morphological trees and disco...
62598fac4527f215b58e9e97
class MESH_OT_connect(bpy.types.Operator): <NEW_LINE> <INDENT> bl_idname = "mesh.connect" <NEW_LINE> bl_label = "Connect" <NEW_LINE> bl_options = {'REGISTER', 'UNDO'} <NEW_LINE> connect_type: bpy.props.IntProperty( name='connect_type', description='connection type', default=1, min=1, max=2, ) <NEW_LINE> @classmethod <N...
Tooltip
62598fac4f88993c371f04e5
class Invitation(Resource): <NEW_LINE> <INDENT> @auth.login_required <NEW_LINE> def get(self, invitation_id): <NEW_LINE> <INDENT> invitation = InvitationModel.query.get(invitation_id) <NEW_LINE> if invitation is None: <NEW_LINE> <INDENT> abort(404) <NEW_LINE> <DEDENT> return invitation.serialize, 200
Define the endpoints for the invitation node.
62598faca17c0f6771d5c1eb
class ReferenceDefinition(Base): <NEW_LINE> <INDENT> __table_args__ = {'schema': 'forest_perimeters'} <NEW_LINE> __tablename__ = 'reference_definition' <NEW_LINE> id = sa.Column(sa.String, primary_key=True, autoincrement=False) <NEW_LINE> topic = sa.Column(sa.String, nullable=True) <NEW_LINE> canton = sa.Column(sa.Stri...
The meta bucket for definitions which are directly related to a public law restriction in a common way or to the whole canton or a whole municipality. It is used to have a place to store general documents which are related to an extract but not directly on a special public law restriction situation. Attributes: i...
62598fac5fdd1c0f98e5df4b
class SyncSettingArg(bb.Union): <NEW_LINE> <INDENT> _catch_all = 'other' <NEW_LINE> default = None <NEW_LINE> not_synced = None <NEW_LINE> other = None <NEW_LINE> def is_default(self): <NEW_LINE> <INDENT> return self._tag == 'default' <NEW_LINE> <DEDENT> def is_not_synced(self): <NEW_LINE> <INDENT> return self._tag == ...
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar files.SyncSettingArg.default: On first sync to members' computers, the specified folder will follow its parent folder's setting o...
62598fac2c8b7c6e89bd377c
class Grid: <NEW_LINE> <INDENT> def __init__(self, grid_data=None): <NEW_LINE> <INDENT> self.grid = [] <NEW_LINE> if grid_data and isinstance(grid_data, list): <NEW_LINE> <INDENT> for i, line in enumerate(grid_data): <NEW_LINE> <INDENT> self.grid.append( [Cell(i, j, int(v)) for j, v in enumerate(line)] ) <NEW_LINE> <DE...
Class that defines a Sudoku grid.
62598faccb5e8a47e493c154
@abstract <NEW_LINE> class BuildingInformation(EObject, metaclass=MetaEClass): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__()
Super class of all different kinds of extra information that can be specified for a building
62598fac76e4537e8c3ef564
class Path(object): <NEW_LINE> <INDENT> def __init__(self, path=''): <NEW_LINE> <INDENT> self.segments = [] <NEW_LINE> self.isabsolute = False <NEW_LINE> if path: <NEW_LINE> <INDENT> self.parse(path) <NEW_LINE> <DEDENT> <DEDENT> def parse(self, path=''): <NEW_LINE> <INDENT> self.isabsolute = (path and path[0] == '/') <...
Represents a URL path comprised of zero or more path segments. http://tools.ietf.org/html/rfc3986#section-3.3 Path parameters are currently not supported. Attributes: segments: List of zero or more path segments comprising this path. If the path string has a trailing '/', the last segment will be '' and self...
62598faca8370b77170f0392
@skip_server_tests <NEW_LINE> class GzipUdpTests(UdpTests, ManyTestCasesWithServerGzipMixin): <NEW_LINE> <INDENT> pass
Repeat the UDP tests with InfluxDBClient where gzip=True.
62598fac91f36d47f2230e81
class ContainerProjectsLocationsClustersNodePoolsGetRequest(_messages.Message): <NEW_LINE> <INDENT> clusterId = _messages.StringField(1) <NEW_LINE> name = _messages.StringField(2, required=True) <NEW_LINE> nodePoolId = _messages.StringField(3) <NEW_LINE> projectId = _messages.StringField(4) <NEW_LINE> version = _messag...
A ContainerProjectsLocationsClustersNodePoolsGetRequest object. Fields: clusterId: Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. name: The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format 'projects/*/l...
62598facf548e778e596b55b
class Validator(Base.Node): <NEW_LINE> <INDENT> __slots__ = ('control', 'required') <NEW_LINE> ERROR = "error" <NEW_LINE> INFO = "info" <NEW_LINE> WARNING = "warning" <NEW_LINE> SUCCESS = "success" <NEW_LINE> messages = {'empty':'A value is required for this field'} <NEW_LINE> properties = Base.Node.properties.copy() <...
The base abstract validator that should be sub-classed to define new validators
62598fac10dbd63aa1c70b6a
class AlphaBetaAgent(MultiAgentSearchAgent): <NEW_LINE> <INDENT> def getAction(self, gameState): <NEW_LINE> <INDENT> curDepth = 0 <NEW_LINE> AgentIndex =0 <NEW_LINE> alpha = -1*float('inf') <NEW_LINE> beta = float('inf') <NEW_LINE> val = self.Getvalue(gameState, AgentIndex, curDepth, alpha, beta) <NEW_LINE> return val[...
Your minimax agent with alpha-beta pruning (question 3)
62598fac8da39b475be0319c
class UpdateEntryInputSet(InputSet): <NEW_LINE> <INDENT> def set_Entry(self, value): <NEW_LINE> <INDENT> InputSet._set_input(self, 'Entry', value) <NEW_LINE> <DEDENT> def set_AccessToken(self, value): <NEW_LINE> <INDENT> InputSet._set_input(self, 'AccessToken', value) <NEW_LINE> <DEDENT> def set_EntryID(self, value): <...
An InputSet with methods appropriate for specifying the inputs to the UpdateEntry Choreo. The InputSet object is used to specify input parameters when executing this Choreo.
62598fac32920d7e50bc600c
class CompletionTarget(object): <NEW_LINE> <INDENT> __metaclass__ = abc.ABCMeta <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.name = None <NEW_LINE> self.path = None <NEW_LINE> self.base_path = None <NEW_LINE> self.modules = tuple() <NEW_LINE> self.aliases = tuple() <NEW_LINE> <DEDENT> def __eq__(self, other)...
Command-line argument completion target base class.
62598facac7a0e7691f724c1
class AbstractThreadView(View): <NEW_LINE> <INDENT> def authenticate_user(self, request, *args, **kwargs): <NEW_LINE> <INDENT> if 'HTTP_USERNAME' in request.META and 'HTTP_TOKEN' in request.META: <NEW_LINE> <INDENT> username = request.META['HTTP_USERNAME'] <NEW_LINE> token = request.META['HTTP_TOKEN'] <NEW_LINE> client...
A base class for all Thread handler views.
62598facbe8e80087fbbf01b
class Process(Module): <NEW_LINE> <INDENT> def __init__(self, name): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> super(Process, self).__init__() <NEW_LINE> <DEDENT> @property <NEW_LINE> def exists(self): <NEW_LINE> <INDENT> return self.run_expect([0], "/sbin/pidof %s", self.name).rc == 0 <NEW_LINE> <DEDENT> def __r...
Test unix process
62598fac63b5f9789fe8511e
class FuncCommand(setuptools.Command): <NEW_LINE> <INDENT> initialize_options = do_nothing <NEW_LINE> finalize_options = do_nothing <NEW_LINE> user_options = [] <NEW_LINE> def run(self): <NEW_LINE> <INDENT> self.function(self.args) <NEW_LINE> <DEDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> setuptools....
Run a specific function on 'run' and nothing else, no preparing or finalizing options.
62598fac4428ac0f6e6584dc
class AverageMeter(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.count = 0 <NEW_LINE> self.sum = 0 <NEW_LINE> self.avg = 0 <NEW_LINE> self.val = 0 <NEW_LINE> <DEDENT> def update(self, val, n): <NEW_LINE> <INDENT> self.val = val <NEW_LINE> self.sum += val * n <NEW_LINE> self.count += n <NEW_L...
Computes and stores the average and current value
62598facf9cc0f698b1c52a5
class JournalEntryMixin: <NEW_LINE> <INDENT> _logger = _module_logger.getChild('JournalEntryMixin') <NEW_LINE> def __init__(self, description, imputation_datas): <NEW_LINE> <INDENT> self._description = description <NEW_LINE> self._imputations = [imputation.to_imputation(self) for imputation in imputation_datas] <NEW_LI...
This class defines a journal entry template.
62598facbe383301e02537b1
class Fourier(FourierDeterministicTerm): <NEW_LINE> <INDENT> _is_dummy = False <NEW_LINE> def __init__(self, period: float, order: int): <NEW_LINE> <INDENT> super().__init__(order) <NEW_LINE> self._period = float_like(period, "period") <NEW_LINE> if 2 * self._order > self._period: <NEW_LINE> <INDENT> raise ValueError("...
Fourier series deterministic terms Parameters ---------- period : int The length of a full cycle. Must be >= 2. order : int The number of Fourier components to include. Must be <= 2*period. See Also -------- DeterministicProcess TimeTrend Seasonality CalendarFourier Notes ----- Both a sine and a cosine term ...
62598facdd821e528d6d8eed
class AppSource (Source, FilesystemWatchMixin): <NEW_LINE> <INDENT> def __init__(self, name=None): <NEW_LINE> <INDENT> super().__init__(name or _("Applications")) <NEW_LINE> <DEDENT> def initialize(self): <NEW_LINE> <INDENT> application_dirs = config.get_data_dirs("", "applications") <NEW_LINE> self.monitor_token = sel...
Applications source This Source contains all user-visible applications (as given by the desktop files)
62598fac76e4537e8c3ef565
class AveragedPowerspectrum(AveragedCrossspectrum, Powerspectrum): <NEW_LINE> <INDENT> def __init__(self, lc=None, segment_size=None, norm="frac", gti=None): <NEW_LINE> <INDENT> self.type = "powerspectrum" <NEW_LINE> if segment_size is None and lc is not None: <NEW_LINE> <INDENT> raise ValueError("segment_size must be ...
Make an averaged periodogram from a light curve by segmenting the light curve, Fourier-transforming each segment and then averaging the resulting periodograms. Parameters ---------- lc: :class:`stingray.Lightcurve`object OR iterable of :class:`stingray.Lightcurve` objects The light curve data to be Fourier-transfo...
62598faccc0a2c111447afc9
class CyclonePipeline(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> engine = db_connect() <NEW_LINE> create_cyclone_table(engine) <NEW_LINE> self.Session = sessionmaker(bind=engine) <NEW_LINE> <DEDENT> def process_item(self, item, spider): <NEW_LINE> <INDENT> session = self.Session() <NEW_LINE> c...
Cyclones pipeline for storing scraped items in the database
62598fac3d592f4c4edbae84
class Leaderboard: <NEW_LINE> <INDENT> def __init__(self, fields, is_higher_better): <NEW_LINE> <INDENT> assert isinstance(fields, list) <NEW_LINE> self.keys = ["name"] + fields <NEW_LINE> self.perform_dict = pd.DataFrame(columns=self.keys) <NEW_LINE> self.is_higher_better = is_higher_better <NEW_LINE> self.major_field...
The leaderboard that can be used to store / sort the model performance automatically. Parameters ---------- fields: list of `str` A list of field name that shows the model performance. The first field is used as the major field for sorting the model performances. is_higher_better: list of `bool` A list of...
62598facfff4ab517ebcd79d
class I18NTest(MultipleCoursesTestBase): <NEW_LINE> <INDENT> def test_csv_supports_utf8(self): <NEW_LINE> <INDENT> title_ru = u'Найди факты быстрее' <NEW_LINE> csv_file = os.path.join(self.course_ru.home, 'data/unit.csv') <NEW_LINE> self.modify_file( csv_file, ',Find facts faster,', ',%s,' % title_ru) <NEW_LINE> self.m...
Test courses running in different locales and containing I18N content.
62598fac38b623060ffa9052
class Amenity(BaseModel): <NEW_LINE> <INDENT> name = ""
Amenity Class - Module
62598fac7c178a314d78d455
class AsyncResultFactory: <NEW_LINE> <INDENT> __metaclass__ = Singleton <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.async_reuslts = {} <NEW_LINE> <DEDENT> def createAsyncResult(self): <NEW_LINE> <INDENT> _async_result = AsyncResult() <NEW_LINE> _key = _makeUniqueKey(_async_result) <NEW_LINE> self.async_reus...
异步结果工厂,用来产生AsyncResult对象,并且生成一个唯一的key存放async_reuslts中
62598fac16aa5153ce4004bb
class PySqMxObj: <NEW_LINE> <INDENT> content = None <NEW_LINE> @property <NEW_LINE> def size(self): <NEW_LINE> <INDENT> return len(self.content or '') <NEW_LINE> <DEDENT> def __init__(self, data: list=[]): <NEW_LINE> <INDENT> self.content = [] <NEW_LINE> for line in data: <NEW_LINE> <INDENT> assert len(line) == len(dat...
Simple square matrix.
62598fac01c39578d7f12d38
class AOAWithFlapMax(KeyPointValueNode, FlapOrConfigurationMaxOrMin): <NEW_LINE> <INDENT> NAME_FORMAT = 'AOA With Flap %(flap)s Max' <NEW_LINE> NAME_VALUES = NAME_VALUES_LEVER <NEW_LINE> name = 'AOA With Flap Max' <NEW_LINE> units = ut.DEGREE <NEW_LINE> @classmethod <NEW_LINE> def can_operate(cls, available): <NEW_LINE...
FDS developed this KPV to support the UK CAA Significant Seven programme. "Loss of Control. Pitch/Angle of Attack vs stall angles" This is an adaptation of the airspeed algorithm, used to determine peak AOA vs flap. It may not be possible to obtain stalling angle of attack figures to set event thresholds, but a thresh...
62598faca8370b77170f0395
class BaseTransform(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.is_fitted = False <NEW_LINE> self.sig0_ = None <NEW_LINE> self.displacements_ = None <NEW_LINE> self.transport_map_ = None <NEW_LINE> <DEDENT> def _check_is_fitted(self): <NEW_LINE> <INDENT> if not self.is_fitted: <NEW_LINE> <...
Base class for optimal transport transform methods. .. warning:: This class should **not** be used directly. Use derived classes instead.
62598fac7d847024c075c37c
class Ranges: <NEW_LINE> <INDENT> def __init__(self, ranges=[]): <NEW_LINE> <INDENT> self._ranges = [] <NEW_LINE> for r in ranges: <NEW_LINE> <INDENT> self.add(r) <NEW_LINE> <DEDENT> <DEDENT> def add(self, range): <NEW_LINE> <INDENT> for i, r in enumerate(self._ranges): <NEW_LINE> <INDENT> if range.min is None or r.max...
A class to keep track of a set of Range instances. Overlapping ranges will be collapsed, and ranges can be removed.
62598fac10dbd63aa1c70b6c
class InteractiveReplacer(Replacer): <NEW_LINE> <INDENT> def replace_suggestion(self, suggestion): <NEW_LINE> <INDENT> accept, patches = self.suggestion_dialog(suggestion) <NEW_LINE> suggestion = copy(suggestion) <NEW_LINE> if not accept: <NEW_LINE> <INDENT> suggestion.args.update(patches) <NEW_LINE> <DEDENT> self.appl...
Open for subclassing with hooks for interactive suggestion dialogs Provides method `suggestion_dialog` which is called with suggestion data and expects a {'accept': True/False, 'patches': {..}} result
62598facdd821e528d6d8eee
class MultiHasher(object): <NEW_LINE> <INDENT> def __init__(self, algorithms=None, progress=None): <NEW_LINE> <INDENT> if not algorithms: <NEW_LINE> <INDENT> algorithms = ["md5", "sha1", "sha256"] <NEW_LINE> <DEDENT> self._hashers = {} <NEW_LINE> for algorithm in algorithms: <NEW_LINE> <INDENT> self._hashers[algorithm]...
An utility class that is able to applies multiple hash algorithms. Objects that need to construct `Hash` object with multiple hash values need to apply multiple hash algorithms to the given data. This class removes some boilerplate associated with it and provides a readable API similar to the one exposed by Python's `...
62598fac63d6d428bbee2764
class RequestInfo(PhoxRequestContent): <NEW_LINE> <INDENT> request = RefField()
Content for request type ``request-info``.
62598face1aae11d1e7ce800
@ClassFactory.register(ClassType.METRIC) <NEW_LINE> class LaneMetric(MetricBase): <NEW_LINE> <INDENT> def __init__(self, *, method, eval_width, eval_height, iou_thresh, lane_width, thresh_list=None): <NEW_LINE> <INDENT> support_methods = ['f1_measure', 'precision', 'recall'] <NEW_LINE> if method not in support_methods:...
Save and summary metric for lane metric.
62598fac6e29344779b00616
class Test(unittest.TestCase): <NEW_LINE> <INDENT> def test_implicit_multiplication(self): <NEW_LINE> <INDENT> expression = Expression("(x^k)/k! exp(-x)") <NEW_LINE> expression.taylor_series() <NEW_LINE> <DEDENT> def test_sine_to_javascript(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def test_exponential_to_jav...
Unit tests for expression
62598fac32920d7e50bc600e
class get_tables_result(object): <NEW_LINE> <INDENT> thrift_spec = ( (0, TType.LIST, 'success', (TType.STRING, 'UTF8', False), None, ), (1, TType.STRUCT, 'e', (TMapDException, TMapDException.thrift_spec), None, ), ) <NEW_LINE> def __init__(self, success=None, e=None,): <NEW_LINE> <INDENT> self.success = success <NEW_LI...
Attributes: - success - e
62598facbe8e80087fbbf01d
class BertModel(nn.Module): <NEW_LINE> <INDENT> def __init__(self, config: BertConfig): <NEW_LINE> <INDENT> super(BertModel, self).__init__() <NEW_LINE> self.embeddings = BERTEmbeddings(config) <NEW_LINE> self.encoder = BERTEncoder(config) <NEW_LINE> self.pooler = BERTPooler(config) <NEW_LINE> <DEDENT> def forward(self...
BERT model ("Bidirectional Embedding Representations from a Transformer"). Example usage: ```python # Already been converted into WordPiece token ids input_ids = torch.LongTensor([[31, 51, 99], [15, 5, 0]]) input_mask = torch.LongTensor([[1, 1, 1], [1, 1, 0]]) token_type_ids = torch.LongTensor([[0, 0, 1], [0, 2, 0]]) ...
62598fac3317a56b869be527
class GCN_estimator_wrapper(BaseEstimator, ClassifierMixin): <NEW_LINE> <INDENT> def __init__(self, checkpoint_dir, logger, h1=None, h2=None, out=None, in_feat=90, batch_size=64, lr=0.001, nsteps=1000, reset=False): <NEW_LINE> <INDENT> self.gcn = GraphClassificationNet(90, h1, h2, out) <NEW_LINE> self.batch_size = batc...
Wrapper for the Graph Convolutional network.
62598fac236d856c2adc941a
class TestRemoveCommonNameRouteWithDB: <NEW_LINE> <INDENT> def test_remove_common_name_does_not_exist(self, app, db): <NEW_LINE> <INDENT> with app.test_client() as tc: <NEW_LINE> <INDENT> rv = tc.get(url_for('seeds.remove_common_name', cn_id=42)) <NEW_LINE> <DEDENT> assert rv.location == url_for('seeds.select_common_na...
Test seeds.remove_common_name.
62598fac5166f23b2e243392
class OdontothemePlugin(plugins.OpalPlugin): <NEW_LINE> <INDENT> urls = urlpatterns <NEW_LINE> javascripts = { 'opal.odontotheme': [ ] } <NEW_LINE> stylesheets = [ "css/odonto.css" ]
Main entrypoint to expose this plugin to our Opal application.
62598facbe383301e02537b3
class UnitTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.fname = "File_name" <NEW_LINE> <DEDENT> @mock.patch("gen_libs.subprocess.Popen") <NEW_LINE> def test_compress(self, mock_popen): <NEW_LINE> <INDENT> mock_popen.return_value = SubProcess() <NEW_LINE> self.assertFalse(gen_lib...
Class: UnitTest Description: Class which is a representation of a unit testing. Methods: setUp test_compress
62598facb7558d58954635e3
class Solution: <NEW_LINE> <INDENT> def maxEnvelopes(self, envelopes): <NEW_LINE> <INDENT> if not envelopes: <NEW_LINE> <INDENT> return 0 <NEW_LINE> <DEDENT> envelopes.sort(key=lambda x: (x[0], x[1])) <NEW_LINE> n = len(envelopes) <NEW_LINE> dp = [1] * n <NEW_LINE> for i in range(n): <NEW_LINE> <INDENT> for j in range(...
@param envelopes: a number of envelopes with widths and heights @return: the maximum number of envelopes
62598fac76e4537e8c3ef567
class DatabaseFailureException(Exception): <NEW_LINE> <INDENT> def __init__(self, msg: str, *args): <NEW_LINE> <INDENT> super().__init__(msg, *args) <NEW_LINE> self._msg: str = msg <NEW_LINE> <DEDENT> @property <NEW_LINE> def failure_reason_msg(self) -> str: <NEW_LINE> <INDENT> return self._msg
An exception raised to give more information about the failure.
62598faca8370b77170f0396
class State: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._sensor_state = {} <NEW_LINE> self._inout_state = {} <NEW_LINE> self._applianece_state = {} <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return str(self.dump_at_now()) <NEW_LINE> <DEDENT> def format_sensors(self, keys, value): <...
センサや家電の状態を保持するクラス
62598fac627d3e7fe0e06e68
class Edit (models.Model) : <NEW_LINE> <INDENT> by = models.TextField (null = False) <NEW_LINE> timeOfApproval = models.DateTimeField (auto_now_add = True) <NEW_LINE> field = models.TextField (null = False); <NEW_LINE> edited = models.ForeignKey (SurveyAnswer, on_delete = models.PROTECT, default = DEFAULT_LINK)
Records the dits to the records made by a moderator or other privileged user.
62598fac16aa5153ce4004bd
class DependencyParserTests(unittest.TestCase): <NEW_LINE> <INDENT> def parse(self, str): <NEW_LINE> <INDENT> parser = piupartslib.dependencyparser.DependencyParser(str) <NEW_LINE> deps = parser.get_dependencies() <NEW_LINE> names = [] <NEW_LINE> for dep in deps: <NEW_LINE> <INDENT> names.append([]) <NEW_LINE> for simp...
Tests for module dependencyparser.
62598facf548e778e596b55f
class DeviceUnreachable(_KwException): <NEW_LINE> <INDENT> pass
Raised when a request is made to an unreachable (turned off) device.
62598fac1b99ca400228f50d
class AlarmGroupsEnum(Enum): <NEW_LINE> <INDENT> unknown = 0 <NEW_LINE> environ = 1 <NEW_LINE> ethernet = 2 <NEW_LINE> fabric = 3 <NEW_LINE> power = 4 <NEW_LINE> software = 5 <NEW_LINE> slice = 6 <NEW_LINE> cpu = 7 <NEW_LINE> controller = 8 <NEW_LINE> sonet = 9 <NEW_LINE> otn = 10 <NEW_LINE> sdh_controller = 11 <NEW_LI...
AlarmGroupsEnum Alarm groups .. data:: unknown = 0 An unknown alarm group .. data:: environ = 1 Environomental alarm group .. data:: ethernet = 2 Ethernet alarm group .. data:: fabric = 3 Fabric related alarm group .. data:: power = 4 Power and PEM group of alarms .. data:: software = 5 ...
62598fac2ae34c7f260ab09c
class Track(object): <NEW_LINE> <INDENT> DEF_LAP = 10 <NEW_LINE> DEF_TS = 0.015 <NEW_LINE> def __init__(self, num_participants=0, model=None, lap_distance=DEF_LAP): <NEW_LINE> <INDENT> self.participants = [Car(i) for i in range(num_participants)] <NEW_LINE> self.lap_distance = lap_distance <NEW_LINE> self.model ...
A Track is what we will race our Cars on An important invariant in our definition is that the id of each car will be its index in our participants list It is defined by the following attributes: - participants: List of Cars participating in the race NOTE: As this scales, we might consider migrating this to a dict...
62598fac66656f66f7d5a3ab
class CommandArgsTestCase(TestCase): <NEW_LINE> <INDENT> shard = 4 <NEW_LINE> def _get_arg_parser(self): <NEW_LINE> <INDENT> cmd = resend_lti_scores.Command() <NEW_LINE> return cmd.create_parser('./manage.py', 'resend_lti_scores') <NEW_LINE> <DEDENT> def test_course_keys(self): <NEW_LINE> <INDENT> parser = self._get_ar...
Test management command parses arguments properly.
62598fac7d847024c075c37e
class BufferManager(lists.ListView): <NEW_LINE> <INDENT> LABEL = 'Buffers' <NEW_LINE> ICON = 'page_white_stack.png' <NEW_LINE> COLUMNS = [objectlist.Column('markup', use_markup=True, mappers=[background_mapper]), objectlist.Column('bufid', visible=False), objectlist.Column('basename', visible=False, searchable=True)] ...
Buffer list.
62598fac435de62698e9bdb1