code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class AttrCheck(type): <NEW_LINE> <INDENT> def __instancecheck__(self, instance): <NEW_LINE> <INDENT> return all(hasattr(instance, x) for x in self.ATTRIBUTES)
metaclass for attribute check
62598f0223849d37ff84fad0
class DeleteImage(command.Command): <NEW_LINE> <INDENT> log = logging.getLogger(__name__ + ".DeleteImage") <NEW_LINE> def get_parser(self, prog_name): <NEW_LINE> <INDENT> parser = super(DeleteImage, self).get_parser(prog_name) <NEW_LINE> parser.add_argument( "image", metavar="<image>", help="Name or ID of image to dele...
Delete an image
62598f029f28863672817205
class Record(models.Model): <NEW_LINE> <INDENT> TYPE_CHOICES = [ (RECORD_INFO, RECORD_INFO), (RECORD_ERROR, RECORD_ERROR), ] <NEW_LINE> app = models.CharField(max_length=50) <NEW_LINE> src = models.CharField(max_length=50) <NEW_LINE> type = models.CharField(choices=TYPE_CHOICES, max_length=20) <NEW_LINE> action = model...
Defines an audit record for something that happened in translations
62598f024f88993c371ef9f1
class Link(CMSPlugin): <NEW_LINE> <INDENT> name = models.CharField(_("name"), max_length=256) <NEW_LINE> url = models.URLField(_("link"), verify_exists=True, blank=True, null=True) <NEW_LINE> page_link = models.ForeignKey(Page, verbose_name=_("page"), blank=True, null=True, help_text=_("A link to a page has priority ov...
A link to an other page or to an external website
62598f02fff4ab517ebcc1e2
class RoboticsScore(Score): <NEW_LINE> <INDENT> items = ('total_time',) <NEW_LINE> total_time = 0 <NEW_LINE> def __init__(self, total_time=0): <NEW_LINE> <INDENT> super(RoboticsScore, self).__init__() <NEW_LINE> self.total_time = total_time <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def max_action_credits(cls): <NEW_L...
Specialized score for robotics rounds. It shares invariants, which are : - the round total time (in seconds)
62598f02ab23a570cc2d4274
class UndefinedColumnError(DataLenError): <NEW_LINE> <INDENT> pass
Exception indicating that a column does not exist in the dataset
62598f025fcc89381b265632
class Node(object): <NEW_LINE> <INDENT> def __init__(self, data=None, next_node=None, prev_node=None): <NEW_LINE> <INDENT> self.data = data <NEW_LINE> self.prev_node = prev_node <NEW_LINE> self.next_node = next_node
Class designed to create node objects.
62598f02d486a94d0ba2a9d7
class UnionMember(UnionBase): <NEW_LINE> <INDENT> pass
工会成员可以进行的操作
62598f02f548e778e5969f96
class SupplierInLine(admin.TabularInline): <NEW_LINE> <INDENT> model = Supplier <NEW_LINE> readonly_fields = ('updated',) <NEW_LINE> fields = ['supplier', 'no', 'url', 'available', 'updated'] <NEW_LINE> raw_id_fields = ['product'] <NEW_LINE> extra = 0
SupplierInLine Structure
62598f0263b5f9789fe83b70
class Cusip(SecurityId): <NEW_LINE> <INDENT> MAX_LEN = 9 <NEW_LINE> def _calculate_checksum(self, sid_): <NEW_LINE> <INDENT> return _luhnify((CHAR_MAP[c] for c in reversed(sid_))) <NEW_LINE> <DEDENT> def _additional_checks(self, sid_): <NEW_LINE> <INDENT> if sid_[0] not in CUSIP_FIRST_CHAR: <NEW_LINE> <INDENT> raise Co...
CUSIP identification number. References ---------- https://www.cusip.com/pdf/CUSIP_Intro_03.14.11.pdf
62598f023317a56b869bda6c
class ArrayOp(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.c_apply_all = OpTranslator(get_ast(self.apply), "apply_all") <NEW_LINE> <DEDENT> def __call__(self, A, B): <NEW_LINE> <INDENT> return self.c_apply_all(A, B)
A class for managing operation on elements in numpy arrays.
62598f02091ae3566870362b
class GtkGrilla(GtkImagen): <NEW_LINE> <INDENT> def __init__(self, ruta, columnas=1, filas=1): <NEW_LINE> <INDENT> GtkImagen.__init__(self, ruta) <NEW_LINE> self.cantidad_de_cuadros = columnas * filas <NEW_LINE> self.columnas = columnas <NEW_LINE> self.filas = filas <NEW_LINE> self.cuadro_ancho = GtkImagen.ancho(self) ...
Representa una grilla regular, que se utiliza en animaciones. La grilla regular se tiene que crear indicando la cantidad de filas y columnas. Una vez definida se puede usar como una imagen normal, solo que tiene dos metodos adicionales para ``definir_cuadro`` y ``avanzar`` el cuadro actual.
62598f02656771135c48809b
class TF1IE(InfoExtractor): <NEW_LINE> <INDENT> _VALID_URL = r'http://videos\.tf1\.fr/.*-(.*?)\.html' <NEW_LINE> _TEST = { u'url': u'http://videos.tf1.fr/auto-moto/citroen-grand-c4-picasso-2013-presentation-officielle-8062060.html', u'file': u'10635995.mp4', u'md5': u'2e378cc28b9957607d5e88f274e637d8', u'info_dict': { ...
TF1 uses the wat.tv player.
62598f020fa83653e46f38f3
class FileEntryList(QtWidgets.QListWidget) : <NEW_LINE> <INDENT> def __init__(self, FileView, parent=None): <NEW_LINE> <INDENT> super(FileEntryList, self).__init__(parent) <NEW_LINE> self.view = FileView <NEW_LINE> <DEDENT> def keyPressEvent(self, e): <NEW_LINE> <INDENT> if e.key() == QtCore.Qt.Key_Delete: <NEW_LINE> ...
Handles delete keypress to remove one entry from the model and view.
62598f02f9cc0f698b1c47d7
class HandleErrorTest(ModuleCase): <NEW_LINE> <INDENT> @slowTest <NEW_LINE> def test_function_do_not_return_dictionary_type(self): <NEW_LINE> <INDENT> ret = self.run_function("state.sls", ["issue-9983-handleerror"]) <NEW_LINE> self.assertTrue( "Data must be a dictionary type" in ret[[a for a in ret][0]]["comment"] ) <N...
Validate that ordering works correctly
62598f0297e22403b38398f7
class ContextManager: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.stack = [] <NEW_LINE> <DEDENT> def new_scope(self): <NEW_LINE> <INDENT> self.stack.append({}) <NEW_LINE> <DEDENT> def remove_scope(self): <NEW_LINE> <INDENT> if self.stack: <NEW_LINE> <INDENT> self.stack.pop() <NEW_LINE> <DEDENT> <DE...
Class for managing substituted parameters to be used again.
62598f02be7bc26dc925136c
class Rectangle: <NEW_LINE> <INDENT> def __init__(self, width=0, height=0): <NEW_LINE> <INDENT> self.width = width <NEW_LINE> self.height = height <NEW_LINE> <DEDENT> @property <NEW_LINE> def width(self): <NEW_LINE> <INDENT> return(self.__width) <NEW_LINE> <DEDENT> @width.setter <NEW_LINE> def width(self, value): <NEW_...
This is a class Rectangle defined by private attr width and height.
62598f025fcc89381b265633
class Nlmsg(dict): <NEW_LINE> <INDENT> def __init__(self, nlmsg_type, pid, genlmsg): <NEW_LINE> <INDENT> super(Nlmsg, self).__init__() <NEW_LINE> self.fields = ['nl_len', 'nl_type', 'nl_flags', 'nl_seq', 'nl_pid'] <NEW_LINE> self['nl_pid'] = pid <NEW_LINE> self['nl_flags'] = NLM_F_REQUEST <NEW_LINE> self['nl_len'] = NL...
The Nlmsg container class handles the assembly of netlink headers and encapsulation of the associated fields. struct nlmsghdr { __u32 nlmsg_len; __u16 nlmsg_type; __u16 nlmsg_flags; __u32 nlmsg_seq; __u32 nlmsg_pid; }; Nlmsg subclasses `dict` type where the associated key-value pairs are the struc...
62598f02aad79263cf42d221
class LinearDataGenerator: <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def generateLinearInput( intercept: float, weights: "VectorLike", xMean: "VectorLike", xVariance: "VectorLike", nPoints: int, seed: int, eps: float, ) -> List["LabeledPoint"]: <NEW_LINE> <INDENT> weights = [float(weight) for weight in cast(Iterable...
Utils for generating linear data. .. versionadded:: 1.5.0
62598f02aad79263cf42d222
class Model(BaseModel, ABC): <NEW_LINE> <INDENT> async def save(self, database: Union[Redis, aiomysql.Pool]): <NEW_LINE> <INDENT> manager = self.get_manager(database) <NEW_LINE> await manager.save(self) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> async def get(key: str, database: Union[Redis, aiomysql.Pool]): <NEW_LIN...
Модель данных с доступом к базе.
62598f02379a373c97d97a0d
class DriveTrain: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.left_gearbox = GearBox(config["drivetrain"]["motors"]["lf"], config["drivetrain"]["motors"]["lr"]) <NEW_LINE> self.right_gearbox = GearBox(config["drivetrain"]["motors"]["rf"], config["drivetrain"]["motors"]["rr"]) <NEW_LINE> self.left_g...
Low level component for controlling the robot's drivebase
62598f027b180e01f3e48550
class xUnitTestResult(TestResult): <NEW_LINE> <INDENT> command_line_arg_name = '--xunit' <NEW_LINE> def __init__(self, stream=None, args=None): <NEW_LINE> <INDENT> TestResult.__init__(self, stream, args) <NEW_LINE> self.output = getattr(self.args, 'xunit_output', '-') <NEW_LINE> self.stream = output.View(app_args=args)...
xUnit Test Result class.
62598f028a349b6b43684c55
class ITextChangeListener(IComponentEventListener): <NEW_LINE> <INDENT> EVENT_ID = 'ie' <NEW_LINE> def textChange(self, event): <NEW_LINE> <INDENT> raise NotImplementedError
A listener for L{TextChangeEvent}s.
62598f023d592f4c4edb9901
class ParameterMissing(WebViewCameraException): <NEW_LINE> <INDENT> pass
Required parameter not specified.
62598f027047854f4633ddd9
class ConfigInfo: <NEW_LINE> <INDENT> def __init__(self, executor): <NEW_LINE> <INDENT> self._executor = executor <NEW_LINE> self._current_config = None <NEW_LINE> self._current_env = None <NEW_LINE> <DEDENT> @property <NEW_LINE> def executor(self): <NEW_LINE> <INDENT> return self._executor <NEW_LINE> <DEDENT> @propert...
A class to abstract metadata about a running Command.
62598f02a219f33f346c5240
class BlobDeleteList(APIView): <NEW_LINE> <INDENT> permission_classes = (IsAuthenticatedOrReadOnly,) <NEW_LINE> def patch(self, request): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> serializer = DeleteBlobsSerializer( data=request.data, many=True, context={"request": request} ) <NEW_LINE> serializer.is_valid(True) <NE...
Delete a list of Blob
62598f027cff6e4e811b43f7
class Product(models.Model): <NEW_LINE> <INDENT> name = models.CharField('Nome', max_length=100) <NEW_LINE> slug = models.SlugField('Identificador', max_length=100) <NEW_LINE> category = models.ForeignKey(Category, verbose_name='Categoria', on_delete=models.CASCADE) <NEW_LINE> description = models.TextField('Descrição'...
Classe para modelagens simples de produtos
62598f029f28863672817209
class RateLimitingMiddleware(base_wsgi.TroveMiddleware): <NEW_LINE> <INDENT> def __init__(self, application, limits=None, limiter=None, **kwargs): <NEW_LINE> <INDENT> base_wsgi.Middleware.__init__(self, application) <NEW_LINE> if limiter is None: <NEW_LINE> <INDENT> limiter = Limiter <NEW_LINE> <DEDENT> else: <NEW_LINE...
Rate-limits requests passing through this middleware. All limit information is stored in memory for this implementation.
62598f0297e22403b38398f9
@ComponentFactory("spell_dictionary_sp_factory") <NEW_LINE> @Provides("spell_dictionary_service") <NEW_LINE> @Property("_language", "language", "SP") <NEW_LINE> @Instantiate("spell_dictionary_sp_instance") <NEW_LINE> class SpellDictionary(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.diction...
Implementation of a spell dictionary, for French language.
62598f023d592f4c4edb9902
class GetSingleSong(Resource): <NEW_LINE> <INDENT> def get(self, song_title, song_category): <NEW_LINE> <INDENT> return get_single_song(song_title, song_category)
Shows a single song . Route: /api/v1/songs/<song_category>/<song_title> using GET.
62598f02ab23a570cc2d4276
class HeadlinesMainMenuItem(Item): <NEW_LINE> <INDENT> def __init__(self, parent): <NEW_LINE> <INDENT> Item.__init__(self, parent, skin_type='headlines') <NEW_LINE> self.name = _('Headlines') <NEW_LINE> <DEDENT> def actions(self): <NEW_LINE> <INDENT> items = [ (self.create_locations_menu, _('Headlines Sites')) ] <NEW_L...
this is the item for the main menu and creates the list of Headlines Sites in a submenu.
62598f02a05bb46b3848928a
class E: <NEW_LINE> <INDENT> def __init__(self, f, t, w=1): <NEW_LINE> <INDENT> self.from_vertex = f <NEW_LINE> self.to_vertex = t <NEW_LINE> self.weight = w <NEW_LINE> <DEDENT> def __eq__(self, other): <NEW_LINE> <INDENT> return hasattr(other, "to_vertex") and other.to_vertex == self.to_vertex <NEW_LINE> <DEDENT> def ...
Edge between vertices.
62598f02379a373c97d97a0f
class FormPageWithCustomSubmission(AbstractEmailForm): <NEW_LINE> <INDENT> intro = RichTextField(blank=True) <NEW_LINE> thank_you_text = RichTextField(blank=True) <NEW_LINE> def get_context(self, request, *args, **kwargs): <NEW_LINE> <INDENT> context = super().get_context(request) <NEW_LINE> context['greeting'] = "hell...
This Form page: * Have custom submission model * Have custom related_name (see `FormFieldWithCustomSubmission.page`) * Saves reference to a user * Doesn't render html form, if submission for current user is present
62598f02851cf427c66b6cdd
class TextItem(QWidget): <NEW_LINE> <INDENT> def __init__(self, listItem, listView, text=DEFAULT_MSG, lr=True, head=DEFAULT_HEAD): <NEW_LINE> <INDENT> super(TextItem, self).__init__() <NEW_LINE> hbox = QHBoxLayout() <NEW_LINE> text = BubbleText(listItem, listView, text, lr) <NEW_LINE> head = LabelHead(head) <NEW_LINE> ...
显示文字的Widget内容,为了让消息可以删除增加listItem和list传递到文本控件
62598f0250812a4eaa6200f5
class IterSync(io.BytesIO): <NEW_LINE> <INDENT> def __init__(self, iterator, interval=0.1): <NEW_LINE> <INDENT> self.iterator = iterator <NEW_LINE> self.interval = interval <NEW_LINE> if hasattr(self.iterator, "fileno"): <NEW_LINE> <INDENT> os.set_blocking(self.iterator.fileno(), 0) <NEW_LINE> <DEDENT> <DEDENT> def __i...
Buffer an iterator and re-iterate according to time of arrival. For example, a normal iterator will split a file based on newlines. .. code-block:: python for line in input: self.log.info("Next line: %s", line) A synchronized iterator will instead split based on time of arrival. .. code-block:: python ...
62598f02167d2b6e312b59b0
class Standard(object): <NEW_LINE> <INDENT> def __init__(self, title, content_type, guid=None): <NEW_LINE> <INDENT> self.content_type = content_type.lower() <NEW_LINE> self._validate_type() <NEW_LINE> self.title = title <NEW_LINE> self.guid = guid if guid else str(uuid4()) <NEW_LINE> self.created_at = self.updated_at =...
The base object from which the others shall derive.
62598f023317a56b869bda6e
class ErrAtlasForbiddenWL(ErrAtlasGeneric): <NEW_LINE> <INDENT> def __init__(self, c, details): <NEW_LINE> <INDENT> super().__init__("This organization requires access through a whitelist of ip ranges.", c, details)
Atlas : Forbidden by WhiteList Constructor Args: c (int): HTTP code details (dict): Response payload
62598f027047854f4633dddb
class Article(object): <NEW_LINE> <INDENT> def on_get(self, req, resp, article_uuid): <NEW_LINE> <INDENT> resp.body = json.dumps(blog.fetch_article(article_id=article_uuid)) <NEW_LINE> resp.status = falcon.HTTP_200 <NEW_LINE> <DEDENT> def on_put(self, req, resp, article_uuid): <NEW_LINE> <INDENT> req_body = json.loads(...
Ressource /blog/article/{article_uuid}
62598f02adb09d7d5dc08fc6
class Manager(object): <NEW_LINE> <INDENT> def _get_auth_credentials(self, auth_version, **credentials): <NEW_LINE> <INDENT> if credentials is None: <NEW_LINE> <INDENT> raise exceptions.InvalidCredentials( 'Credentials must be specified') <NEW_LINE> <DEDENT> if auth_version == 'v3': <NEW_LINE> <INDENT> return auth.Keys...
Responsible for providing an auth provider object
62598f0276e4537e8c3edfd0
class Directory: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.parent = None <NEW_LINE> self.subdirectories = {}
Trida Directory reprezentuje jeden adresar v souborovem systemu. Atributy: parent: odkaz na nadrazeny adresar subdirectories: slovnik, v nemz klici jsou nazvy podadresaru aktualniho adresare a hodnotami jsou objekty typu Directory
62598f029f2886367281720b
class ZooSchema(SchemaObject): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.schema = 'Zoo'
Schema Mixin for Zoo Usage: place after django model in class definition, schema will return the schema.org url for the object A zoo.
62598f02fff4ab517ebcc1e8
class BrowserTextSizer(SyncedPipe, StyledWidget, TextSizer): <NEW_LINE> <INDENT> _model_name = T.Unicode("ELKTextSizerModel").tag(sync=True) <NEW_LINE> _model_module = T.Unicode(EXTENSION_NAME).tag(sync=True) <NEW_LINE> _model_module_version = T.Unicode(EXTENSION_SPEC_VERSION).tag(sync=True) <NEW_LINE> _view_name = T.U...
Jupyterlab widget for getting rendered text sizes from the DOM
62598f02956e5f7376df4b86
class IdMixin(object): <NEW_LINE> <INDENT> @declared_attr <NEW_LINE> def id(cls): <NEW_LINE> <INDENT> return Column(Integer, Sequence('%s_id_seq' % cls.__tablename__), primary_key=True)
Mixin providing a sequence-generated primary key.
62598f02aad79263cf42d226
class GoalDetails(generics.RetrieveUpdateDestroyAPIView): <NEW_LINE> <INDENT> lookup_field = 'id' <NEW_LINE> queryset = Goal.objects.all() <NEW_LINE> serializer_class = GoalSerializer
Handles individual goals. TOOD: Add write rules for admins of goals only
62598f02851cf427c66b6cdf
class PirWriter(SequentialSequenceWriter): <NEW_LINE> <INDENT> def __init__(self, handle, wrap=60, record2title=None, code=None): <NEW_LINE> <INDENT> SequentialSequenceWriter.__init__(self, handle) <NEW_LINE> self.wrap = None <NEW_LINE> if wrap: <NEW_LINE> <INDENT> if wrap < 1: <NEW_LINE> <INDENT> raise ValueError <NEW...
Class to write PIR format files.
62598f0250812a4eaa6200f6
class Either(ChainLink): <NEW_LINE> <INDENT> NO_DEFAULT = utility.Sentinel('NO DEFAULT') <NEW_LINE> def __init__(self, *choices, **kwargs): <NEW_LINE> <INDENT> self.choices = tuple(choices) <NEW_LINE> self.default = kwargs.pop('default', self.NO_DEFAULT) <NEW_LINE> if len(set((choice.chain_fork, choice.chain_join) for ...
Select the first successful chain from a number of choices :param choices: chains to choose from :type choices: iterable[:py:class:`~.ChainLink`] :param default: default value to provide if no chain produces a result For every :term:`data chunk`, the first chain from ``choices`` to produce a result is chosen. Success...
62598f02cc40096d616196e4
class HostVars(collections.Mapping): <NEW_LINE> <INDENT> def __init__(self, inventory, variable_manager, loader): <NEW_LINE> <INDENT> self._lookup = dict() <NEW_LINE> self._inventory = inventory <NEW_LINE> self._loader = loader <NEW_LINE> self._variable_manager = variable_manager <NEW_LINE> variable_manager._hostvars =...
A special view of vars_cache that adds values from the inventory when needed.
62598f0263b5f9789fe83b76
class UnicodeText(Text): <NEW_LINE> <INDENT> __visit_name__ = 'unicode_text' <NEW_LINE> def __init__(self, length=None, **kwargs): <NEW_LINE> <INDENT> kwargs.setdefault('convert_unicode', True) <NEW_LINE> kwargs.setdefault('_warn_on_bytestring', True) <NEW_LINE> super(UnicodeText, self).__init__(length=length, **kwargs...
An unbounded-length Unicode string. See :class:`.Unicode` for details on the unicode behavior of this object. Like ``Unicode``, usage the ``UnicodeText`` type implies a unicode-capable type being used on the backend, such as NCLOB.
62598f02bf627c535bcafe8b
class mps(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def p_kx(self, k, x): <NEW_LINE> <INDENT> return self.p_kz(k, self.cosmo.z_x(x)) <NEW_LINE> <DEDENT> def sigma_rz(self, r, z, nk=10000 ): <NEW_LINE> <INDENT> def integrand(lnk): <NEW_LINE> <INDENT> k = np.exp(lnk); kr = k...
base class for a matter power spectrum.
62598f0297e22403b38398fc
class Entry(UserAuthored, Controllable, CombinedDateTime, Previewable, Publishable): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> app_label = 'blogs' <NEW_LINE> verbose_name = _("Blog Entry") <NEW_LINE> verbose_name_plural = _("Blog Entries") <NEW_LINE> <DEDENT> title = models.CharField(_("Heading"), max_length=...
A blog entry is a short article with a title, published on a given date and time by a given user.
62598f029f2886367281720d
class LargeTablePaginator(Paginator): <NEW_LINE> <INDENT> def _get_estimate(self): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> cursor = connection.cursor() <NEW_LINE> cursor.execute("SELECT reltuples FROM pg_class WHERE relname = %s", [self.object_list.query.model._meta.db_table]) <NEW_LINE> return int(cursor.fetchone...
Overrides the count method to get an estimate instead of actual count when not filtered
62598f023d592f4c4edb9906
class agent: <NEW_LINE> <INDENT> def __init__(self,directory=None): <NEW_LINE> <INDENT> now = datetime.datetime.now() <NEW_LINE> date = str(now.month)+"-"+str(now.day)+"-"+str(now.year)+"_"+str(now.hour)+"-"+str(now.minute)+"-"+str(now.second) <NEW_LINE> if directory==None: <NEW_LINE> <INDENT> self.directory = "/tmp/as...
Agent Super-Class: Provides a foundation for other agent classes - primary purpose is to maximise the cumulative reward per episode - utilizes neural networks to develop its policy Requires implementation of get_action(), update_batch(), create_summaries(), and write_summaries()
62598f025fcc89381b265636
class GDAX(object): <NEW_LINE> <INDENT> BASE_URL = 'https://api.gdax.com' <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def get_market(self, product): <NEW_LINE> <INDENT> request = '/products/{}/book'.format(product) <NEW_LINE> resp = requests.get(self.BASE_URL + request, params={'level': ...
GDAX DataService for public API services. This class supports API requests for the public GDAX API. It does not support private services requests or order generation.
62598f02aad79263cf42d227
class Restaurant(): <NEW_LINE> <INDENT> def __init__(self, restaurant_name, cuisine_type): <NEW_LINE> <INDENT> self.restaurant_name = restaurant_name <NEW_LINE> self.cuisine_type = cuisine_type <NEW_LINE> self.number_served = 0 <NEW_LINE> <DEDENT> def describe_restaurant(self): <NEW_LINE> <INDENT> print(self.restaurant...
A simple attempt to model a restaurant
62598f0271ff763f4b5e617b
class SWDEWypisDialogTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.dialog = SWDEWypisDialog(None) <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> self.dialog = None <NEW_LINE> <DEDENT> def test_dialog_ok(self): <NEW_LINE> <INDENT> button = self.dialog.button_box.butt...
Test dialog works.
62598f02ff9c53063f519079
@tf_export("data.FixedLengthRecordDataset", v1=[]) <NEW_LINE> class FixedLengthRecordDatasetV2(dataset_ops.DatasetSource): <NEW_LINE> <INDENT> def __init__(self, filenames, record_bytes, header_bytes=None, footer_bytes=None, buffer_size=None, compression_type=None, num_parallel_reads=None, name=None): <NEW_LINE> <INDEN...
A `Dataset` of fixed-length records from one or more binary files. The `tf.data.FixedLengthRecordDataset` reads fixed length records from binary files and creates a dataset where each record becomes an element of the dataset. The binary files can have a fixed length header and a fixed length footer, which will both be...
62598f02bf627c535bcafe8d
class Description(State): <NEW_LINE> <INDENT> def transition(self, sLine): <NEW_LINE> <INDENT> sValue = sLine.strip() <NEW_LINE> if sValue.endswith('"'): <NEW_LINE> <INDENT> self.data(sValue.strip('"')) <NEW_LINE> self._oHolder.comment = self._sData <NEW_LINE> return Cards(self._oHolder, self._dNameCache) <NEW_LINE> <D...
State for extracting description
62598f0297e22403b38398fe
class Metric(Enum): <NEW_LINE> <INDENT> CPU_TIME = 'CPUTime' <NEW_LINE> CPU_TIME_PER_CORE = 'CPUTimePerCore' <NEW_LINE> WALL_TIME = 'WallTime' <NEW_LINE> INIT_TIME = 'InitTime' <NEW_LINE> USED_CORES = 'UsedCores' <NEW_LINE> USED_THREADS = 'UsedThreads' <NEW_LINE> EVENT_STREAM_COUNT = 'UsedEventStreams' <NEW_LINE> EVENT...
Contains the possible metrics a dataset can exhibit. Available metrics currently include ones from the following categories: - performance metrics - timing information and time stamps - entity (e.g., job or node) category information
62598f02ec188e330fdf72c7
class CreateDBSecurityGroupInputSet(InputSet): <NEW_LINE> <INDENT> def set_AWSAccessKeyId(self, value): <NEW_LINE> <INDENT> super(CreateDBSecurityGroupInputSet, self)._set_input('AWSAccessKeyId', value) <NEW_LINE> <DEDENT> def set_AWSSecretKeyId(self, value): <NEW_LINE> <INDENT> super(CreateDBSecurityGroupInputSet, sel...
An InputSet with methods appropriate for specifying the inputs to the CreateDBSecurityGroup Choreo. The InputSet object is used to specify input parameters when executing this Choreo.
62598f0223849d37ff84fada
class Kucoin(Exchange): <NEW_LINE> <INDENT> def __init__(self, exchange, keys = None): <NEW_LINE> <INDENT> super().__init__(exchange, keys)
Kucoin: client interface to connect with Kucoin.
62598f027cff6e4e811b43fd
class Morning(ruler.Grammar): <NEW_LINE> <INDENT> who = ruler.OneOf('John', 'Peter', 'Ann') <NEW_LINE> juice = ruler.Rule('juice') <NEW_LINE> milk = ruler.Optional(' with milk') <NEW_LINE> tea = ruler.Rule('tea', milk) <NEW_LINE> what = ruler.OneOf(juice, tea) <NEW_LINE> grammar = ruler.Rule(who, ' likes to drink ', wh...
Implementation of the following grammar:: grammar = who, ' likes to drink ', what; who = 'John' | 'Peter' | 'Ann'; what = tea | juice; juice = 'juice'; tea = 'tea', [' ', milk]; milk = 'with milk'
62598f02377c676e912f6271
class FoursquareLeaderboardItem: <NEW_LINE> <INDENT> def __init__(self, base): <NEW_LINE> <INDENT> if base: <NEW_LINE> <INDENT> self.base = base <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.base = {} <NEW_LINE> <DEDENT> <DEDENT> def getRank(self): <NEW_LINE> <INDENT> return self.base.get("rank", []) <NEW_LINE> <D...
Contains leaderboard items for the authenticated user
62598f0297e22403b38398ff
class GetLastMessageThatContainsInputSet(InputSet): <NEW_LINE> <INDENT> def set_AccountSID(self, value): <NEW_LINE> <INDENT> InputSet._set_input(self, 'AccountSID', value) <NEW_LINE> <DEDENT> def set_AuthToken(self, value): <NEW_LINE> <INDENT> InputSet._set_input(self, 'AuthToken', value) <NEW_LINE> <DEDENT> def set_Fi...
An InputSet with methods appropriate for specifying the inputs to the GetLastMessageThatContains Choreo. The InputSet object is used to specify input parameters when executing this Choreo.
62598f02fbf16365ca792ab3
class MessageReplies: <NEW_LINE> <INDENT> QUALNAME = "pyrogram.raw.base.MessageReplies" <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> raise TypeError("Base types can only be used for type checking purposes: " "you tried to use a base type instance as argument, " "but you need to instantiate one of its constructors...
This base type has 1 constructor available. Constructors: .. hlist:: :columns: 2 - :obj:`MessageReplies <pyrogram.raw.types.MessageReplies>`
62598f02099cdd3c636748e3
class DefaultOrderingFilterBackend(BaseFilterBackend, OrderingMixin): <NEW_LINE> <INDENT> ordering_param = api_settings.ORDERING_PARAM <NEW_LINE> def get_ordering_query_params(self, request, view): <NEW_LINE> <INDENT> query_params = request.query_params.copy() <NEW_LINE> ordering_query_params = query_params.getlist(sel...
Default ordering filter backend for Elasticsearch. Make sure this is your last ordering backend. Example: >>> from django_elasticsearch_dsl_drf.filter_backends import ( >>> DefaultOrderingFilterBackend, >>> OrderingFilterBackend >>> ) >>> from django_elasticsearch_dsl_drf.viewsets import ...
62598f02379a373c97d97a15
class Persona(Base, UUIDed): <NEW_LINE> <INDENT> @hybrid_property <NEW_LINE> def names(self): <NEW_LINE> <INDENT> return set([name.name for name in self.account_names]) <NEW_LINE> <DEDENT> account_names = relationship("Name", secondary="account", primaryjoin="Account.persona_id == Persona.id", secondaryjoin="Name.accou...
Personas represent an account (access) or set of accesses. For instance a physical mailbox or an email address or a twitter handle which may have many-to-one access. For instance @arrdemsays is a Twitter account which has multiple contributors. As is @drill etc.
62598f0250812a4eaa6200f8
class _OutputRedirectingPdb(pdb.Pdb): <NEW_LINE> <INDENT> def __init__(self, out): <NEW_LINE> <INDENT> self.__out = out <NEW_LINE> pdb.Pdb.__init__(self) <NEW_LINE> <DEDENT> def trace_dispatch(self, *args): <NEW_LINE> <INDENT> save_stdout = sys.stdout <NEW_LINE> sys.stdout = self.__out <NEW_LINE> try: <NEW_LINE> <INDEN...
A specialized version of the python debugger that redirects stdout to a given stream when interacting with the user. Stdout is *not* redirected when traced code is executed.
62598f028a349b6b43684c5d
class _Config(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.settings = {} <NEW_LINE> self.defaultsfile = "defaults.json" <NEW_LINE> self._Setup() <NEW_LINE> self._LoadDefaults() <NEW_LINE> <DEDENT> def _Setup(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def _LoadDefaults(self): <NEW_L...
base class for all config types that return configuration info this will derive all other classes based on Operating system
62598f02167d2b6e312b59b6
class RRunner(InteractiveRunner): <NEW_LINE> <INDENT> def __init__(self, program = "R" ,args=None,out=sys.stdout,echo=False, profile='', prompt=">>>R", continue_prompt=">>>+"): <NEW_LINE> <INDENT> prompt_profile = '\noptions(prompt="%s ", continue="%s ")\n' % (prompt, continue_prompt) <NEW_LINE> if type(profile) == typ...
Interactive R runner that has an R_PROFILE that specifies an optional prompt and continue which is useful to distinguish the prompt from R's use of the ">" to mean "greater than" in, i.e. "summary.lm". The profile can be added to by supplying a string or file-like object, to which the call to "options" is appended.
62598f02a219f33f346c5248
class SlidingWindowsSegmentation(object): <NEW_LINE> <INDENT> def __init__(self, duration=1.0, step=0.1, gap=0.0, threshold=0., **kwargs): <NEW_LINE> <INDENT> super(SlidingWindowsSegmentation, self).__init__() <NEW_LINE> self.duration = duration <NEW_LINE> self.step = step <NEW_LINE> self.gap = gap <NEW_LINE> self.thre...
<---d---><-g-><---d---> [ L ] [ R ] [ L ] [ R ] <-s-> Parameters ---------- duration : float, optional Set left/right window duration. Defaults to 1 second. step : float, optional Set step duration. Defaults to 100ms gap : float, optional Set gap duration. Defaults to no gap (i...
62598f024c34283577618d04
class BatchVideoWriter(object): <NEW_LINE> <INDENT> def __init__(self, fps, file_format="gif"): <NEW_LINE> <INDENT> self.fps = fps <NEW_LINE> self.file_format = file_format <NEW_LINE> self.writers = None <NEW_LINE> <DEDENT> def write(self, batch_frame): <NEW_LINE> <INDENT> if self.writers is None: <NEW_LINE> <INDENT> s...
Helper class for writing videos in batch.
62598f02fbf16365ca792ab5
class ApplyMapping(MonoPipeComponent): <NEW_LINE> <INDENT> def __init__(self, map_file, log=None, **kwargs): <NEW_LINE> <INDENT> side_outputs = [log] if log is not None else [] <NEW_LINE> super().__init__(side_inputs=[map_file], side_outputs=side_outputs, **kwargs) <NEW_LINE> self.map_file = map_file <NEW_LINE> self.ma...
Substitutes words with replacements defined in a lexicon. Note that the source form must be a single word (no internal spaces), but the replacement string is arbitrary. If you need to replace multiwords, use e.g. RegexSubstitution instead. OOV words missing from the lexicon are passed through unmodified, and optional...
62598f02f9cc0f698b1c47dc
class FixedStrPattern: <NEW_LINE> <INDENT> def __init__(self, expected): <NEW_LINE> <INDENT> self.expected = expected <NEW_LINE> <DEDENT> def match(self, target): <NEW_LINE> <INDENT> return target == self.expected <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return "{}({})".format(self.__class__.__name__...
Class of fixed-string pattern Uses duck-typing to commonalize interface `match` for a time. Parameters ---------- expected : str string that expresses the pattern
62598f02fff4ab517ebcc1ee
class Settings(object): <NEW_LINE> <INDENT> _settings = defaultdict(dict) <NEW_LINE> @classmethod <NEW_LINE> def get(cls, section=None, option=None, *args, **kwargs): <NEW_LINE> <INDENT> if section is None: <NEW_LINE> <INDENT> return cls._settings <NEW_LINE> <DEDENT> elif option is None: <NEW_LINE> <INDENT> return cls....
Helper class to store settings
62598f022c8b7c6e89bd21df
class ExceptionalTokens(): <NEW_LINE> <INDENT> abbreviations=[] <NEW_LINE> nonConceptBearingTerms=[] <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.abbreviations=['komp','ltg','ra','sonstige','ausdr','farbschattierg','tiern','vkdl','füg','tieren','ähnl' 'krankheitsn','vergleiche', 'farbbez','kh','fech','kch','...
This class is used to hold all lists of words that are either abbreviations, acronyms etc and those that are exceptional words whihc should not be treated as concepts
62598f02d486a94d0ba2a9e3
class MarketOHLCV(models.Model): <NEW_LINE> <INDENT> market = models.ForeignKey('Market', related_name='ohlcv', on_delete=models.CASCADE) <NEW_LINE> date = models.DateTimeField() <NEW_LINE> open = models.FloatField() <NEW_LINE> hight = models.FloatField() <NEW_LINE> low = models.FloatField() <NEW_LINE> close = models.F...
For default represent the time frame the 1 minute
62598f023346ee7daa336b74
class Adapter(Device): <NEW_LINE> <INDENT> STATUS_CHOICES = ( (Device.CHECKED_IN, 'Checked in'), (Device.CHECKED_OUT, 'Checked out'), (Device.STORAGE, 'Storage'), (Device.BROKEN, 'Broken'), (Device.MISSING, 'Missing'), (Device.SENT_FOR_REPAIR, 'Sent for repair'), ) <NEW_LINE> status = models.CharField(max_length=2, cho...
Adapter model.
62598f0250812a4eaa6200f9
class EnableClsLogTopicRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.LogsetId = None <NEW_LINE> self.TopicId = None <NEW_LINE> self.Channel = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> self.LogsetId = params.get("LogsetId") <NEW_LINE> self.Top...
EnableClsLogTopic请求参数结构体
62598f02167d2b6e312b59b8
class AbstractType(AbstractWrapper): <NEW_LINE> <INDENT> def __init__(self, typ, values={}): <NEW_LINE> <INDENT> super().__init__(typ, values) <NEW_LINE> <DEDENT> def __pretty__(self, ctx): <NEW_LINE> <INDENT> t = pretty_type(self.element) <NEW_LINE> return pretty_join(["Ty(", t, ")"])
Represents a type as a first class value.
62598f02ec188e330fdf72cb
class SegStats(FSCommand): <NEW_LINE> <INDENT> _cmd = 'mri_segstats' <NEW_LINE> input_spec = SegStatsInputSpec <NEW_LINE> output_spec = SegStatsOutputSpec <NEW_LINE> def _list_outputs(self): <NEW_LINE> <INDENT> outputs = self.output_spec().get() <NEW_LINE> outputs['summary_file'] = self.inputs.summary_file <NEW_LINE> i...
Use FreeSurfer mri_segstats for ROI analysis Examples -------- >>> import nipype.interfaces.freesurfer as fs >>> ss = fs.SegStats() >>> ss.inputs.annot = ('PWS04', 'lh', 'aparc') >>> ss.inputs.environ['SUBJECTS_DIR'] = '/somepath/FSDATA' >>> ss.inputs.avgwf_txt_file = './avgwf.txt' >>> ss.inputs.summary_file = './sum...
62598f02a219f33f346c524a
class EventLabelCount(interface.AttributeContainer): <NEW_LINE> <INDENT> CONTAINER_TYPE = 'event_label_count' <NEW_LINE> SCHEMA = { 'label': 'str', 'number_of_events': 'int'} <NEW_LINE> def __init__(self, label=None, number_of_events=None): <NEW_LINE> <INDENT> super(EventLabelCount, self).__init__() <NEW_LINE> self.lab...
Event label count attribute container. Attributes: label (str): event label. number_of_events (int): number of events with label.
62598f02a05bb46b38489294
class FileUnpublishingStatus(StatusEvent): <NEW_LINE> <INDENT> MESSAGE_ONE = Q_("A share link is no longer available") <NEW_LINE> WEIGHT = 51 <NEW_LINE> def many(self, events): <NEW_LINE> <INDENT> no_of_files = len(events) <NEW_LINE> gettext.dngettext( GETTEXT_PACKAGE, "%(event_count)d file is no longer shared.", "%(ev...
Files that have stopped being published.
62598f0271ff763f4b5e6181
class HealthcareProjectsLocationsDatasetsAnnotationStoresGetRequest(_messages.Message): <NEW_LINE> <INDENT> name = _messages.StringField(1, required=True)
A HealthcareProjectsLocationsDatasetsAnnotationStoresGetRequest object. Fields: name: The resource name of the Annotation store to get.
62598f02aad79263cf42d22e
class Screen: <NEW_LINE> <INDENT> def __init__(self, display, x, y, width, height): <NEW_LINE> <INDENT> self.display = display <NEW_LINE> self.x = x <NEW_LINE> self.y = y <NEW_LINE> self.width = width <NEW_LINE> self.height = height <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return '{}(x={}, y={}, widt...
A virtual monitor that supports fullscreen windows. Screens typically map onto a physical display such as a monitor, television or projector. Selecting a screen for a window has no effect unless the window is made fullscreen, in which case the window will fill only that particular virtual screen. The :attr:`width` a...
62598f02d8ef3951e32c7361
class SPFModelViewSet( PermissionMixin, SerializerMixin, FastResponseMixin, ModelViewSet ): <NEW_LINE> <INDENT> pass
Переопределение методов сериализатора и прав доступа
62598f02cc40096d616196e8
class MsSqlSrvInst(DBSrvInst): <NEW_LINE> <INDENT> ZENPACKID = 'ZenPacks.community.MsSQLMon_ODBC' <NEW_LINE> edition = '' <NEW_LINE> licenseType = '' <NEW_LINE> numLicenses = 0 <NEW_LINE> processID = 0 <NEW_LINE> productVersion = '' <NEW_LINE> productLevel = '' <NEW_LINE> dbsiproperties = [] <NEW_LINE> _properties = DB...
Database Server Instance object
62598f0255399d3f05624f44
class getPublicNotebook_args: <NEW_LINE> <INDENT> thrift_spec = ( None, (1, TType.I32, 'userId', None, None, ), (2, TType.STRING, 'publicUri', None, None, ), ) <NEW_LINE> def __init__(self, userId=None, publicUri=None,): <NEW_LINE> <INDENT> self.userId = userId <NEW_LINE> self.publicUri = publicUri <NEW_LINE> <DEDENT> ...
Attributes: - userId - publicUri
62598f023d592f4c4edb990d
class Subtractor(Calculator): <NEW_LINE> <INDENT> def operate(self, left, right): <NEW_LINE> <INDENT> return left - right
Subract operation.
62598f024f88993c371ef9f9
class MissingUrlException(Exception): <NEW_LINE> <INDENT> pass
Unable to determine snapshot download URL
62598f022c8b7c6e89bd21e3
@implementer(IVocabularyFactory) <NEW_LINE> class CommitteeVocabulary(object): <NEW_LINE> <INDENT> def __call__(self, context): <NEW_LINE> <INDENT> return SimpleVocabulary([ SimpleTerm(value=committee, token=str(committee.committee_id), title=committee.title) for committee in self.get_committees() ]) <NEW_LINE> <DEDENT...
Vocabulary with all committees. Contains committees as term values. Is currently used to set a meeting's committee.
62598f0271ff763f4b5e6183
class PythonContext(NamedTuple): <NEW_LINE> <INDENT> multiline_code: str <NEW_LINE> cursor_index: int <NEW_LINE> is_sub_expression: bool = False <NEW_LINE> ctx: Optional[Dict[str, Any]] = None <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return f"PythonContext({self.multiline_code!r}, {self.cursor_index}, is_sub_...
The object containing the current python code completion context.
62598f02f548e778e5969fa6
class Ambulance(models.Model): <NEW_LINE> <INDENT> drivers = models.ForeignKey(AmbulanceDriver, related_name = 'conducteur') <NEW_LINE> plates = models.CharField(max_length = 10) <NEW_LINE> health_centre = models.ForeignKey(HealthCentre, related_name = 'ambulance_hc', null =True) <NEW_LINE> referral_hospital = models....
Record an ambulance, drivers' numbers, and the location where it is found. That way, ambulance dispatches can be done well.
62598f02d8ef3951e32c7362
class Version(tuple): <NEW_LINE> <INDENT> def __new__(cls, versionstr): <NEW_LINE> <INDENT> if isinstance(versionstr, str): <NEW_LINE> <INDENT> versionstr = versionstr.strip(' :') <NEW_LINE> parsed = cls.parse(versionstr) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> parsed = versionstr <NEW_LINE> <DEDENT> return tuple...
simple class to handle soft version number has a tuple while correctly printing it as X.Y.Z
62598f02283ffb24f3cf22cb
class PDU_Model(Device42APIObject): <NEW_LINE> <INDENT> def __init__(self, json=None, parent=None, api=None): <NEW_LINE> <INDENT> super(PDU_Model, self).__init__(json, parent, api) <NEW_LINE> self.ports = getattr(self, 'ports in pdu model') <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> pdu_port_count, pdu...
.. _PDU_Model: only representing the PDU Models as object .. note:: !!! since there's no API call to create/update these can only be retrieved !!! >>> api = device42api.Device42API(host='127.0.0.1', username='admin', password='changeme') >>> models = api.get_pdu_models() >>> for m in models: ... print m pdu_mod...
62598f025fc7496912d47783
class Play(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._bricks = [] <NEW_LINE> <DEDENT> def create_bricks(self): <NEW_LINE> <INDENT> bricks_object = Bricks() <NEW_LINE> bricks_object.construct_bricks() <NEW_LINE> self.setBricks(bricks_object.getBricks()) <NEW_LINE> <DEDENT> def setBricks(s...
An instance controls a single game of breakout. This subcontroller has a reference to the ball, paddle, and bricks. It animates the ball, removing any bricks as necessary. When the game is won, it stops animating. You should create a NEW instance of Play (in Breakout) if you want to make a new game. If you want t...
62598f02656771135c4880ab
class DataElementContact(fhirelement.FHIRElement): <NEW_LINE> <INDENT> resource_name = "DataElementContact" <NEW_LINE> def __init__(self, jsondict=None): <NEW_LINE> <INDENT> self.name = None <NEW_LINE> self.telecom = None <NEW_LINE> super(DataElementContact, self).__init__(jsondict) <NEW_LINE> <DEDENT> def elementPrope...
Contact details of the publisher. Contacts to assist a user in finding and communicating with the publisher.
62598f024f88993c371ef9fa
class Extension(ind.Extension): <NEW_LINE> <INDENT> def __init__(self, attribs): <NEW_LINE> <INDENT> super(Extension, self).__init__() <NEW_LINE> self.extender = None <NEW_LINE> self.name = None <NEW_LINE> self.value = None <NEW_LINE> for key, value in attribs.items(): <NEW_LINE> <INDENT> setattr(self, key, value)
Represents a <Extension> tag in v3.2 and provides methods to convert to PFA.
62598f023346ee7daa336b76
class CorpusDocumentList(generics.ListAPIView): <NEW_LINE> <INDENT> model = Document <NEW_LINE> serializer_class = DocumentSerializer <NEW_LINE> permission_classes = (permissions.IsAuthenticated, ) <NEW_LINE> def get_queryset(self): <NEW_LINE> <INDENT> corpus_id = self.kwargs['pk'] <NEW_LINE> return Document.objects.fi...
Lists all the documents contained in a Corpus. `GET` requests will list all documents contained in the corpus with the id provided in the url.
62598f02a219f33f346c524e
class GameExit(Exception): <NEW_LINE> <INDENT> pass
Quick program
62598f020fa83653e46f3903
class PrivateMail(models.Model): <NEW_LINE> <INDENT> pass
私信
62598f02fbf16365ca792abb