code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class Score(models.Model): <NEW_LINE> <INDENT> user = models.ForeignKey( User, related_name='scores', on_delete=models.deletion.PROTECT ) <NEW_LINE> application = models.ForeignKey( Application, related_name='scores', on_delete=models.deletion.PROTECT ) <NEW_LINE> score = models.FloatField( help_text=_('5 being the mos...
A score represents the score given by a coach for an application.
62598f7a71ff763f4b5e70cd
class SuperlocusVariantFile: <NEW_LINE> <INDENT> def __init__(self,fname): <NEW_LINE> <INDENT> self.fh=csv.reader(open(fname,'r'),delimiter="\t") <NEW_LINE> self.colnames=next(self.fh) <NEW_LINE> <DEDENT> def _iter(self): <NEW_LINE> <INDENT> for i in self.fh: <NEW_LINE> <INDENT> yield i <NEW_LINE> <DEDENT> <DEDENT> def...
This class encapsulates the so-called SuperlocusOutput.tsv file generated by running cgatools calldiff. An example looks like this: SuperlocusId Chromosome Begin End Classification Reference AllelesA AllelesB 1 chr1 41980 41981 alt-identical;alt-identical A G;G G...
62598f7aa4f1c619b294df4e
class MetadataFile(object): <NEW_LINE> <INDENT> def __init__(self, fs_node): <NEW_LINE> <INDENT> self._fs_node = fs_node <NEW_LINE> self._last_mtime = None <NEW_LINE> self._root_data = None <NEW_LINE> self._children_data = None <NEW_LINE> <DEDENT> def _refresh(self): <NEW_LINE> <INDENT> meta_mtime = self._fs_node.stat....
A representation of a metadata file.
62598f7ab57a9660fecd13e0
class GetRepoResponseSchema(schema.ResponseSchema): <NEW_LINE> <INDENT> fields = { "RepoSet": fields.List( models.RepoSetSchema(), required=True, load_from="RepoSet" ), "TotalCount": fields.Int(required=True, load_from="TotalCount"), }
GetRepo - 获取镜像仓库
62598f7ad6c5a102081e1aa8
class SourceCodeEditor(forms.Textarea): <NEW_LINE> <INDENT> class Media: <NEW_LINE> <INDENT> js = ('powerpages/js/ace/ace.js', 'powerpages/js/bind_ace_editor.js') <NEW_LINE> <DEDENT> HANDLER_CLASS = 'handle-ace-editor' <NEW_LINE> def __init__(self, attrs=None): <NEW_LINE> <INDENT> super(SourceCodeEditor, self).__init__...
Textarea being source code editor
62598f7a507cdc57c63a46ed
class Config: <NEW_LINE> <INDENT> def __init__(self, merge_different: Callable[[AbstractNode, AbstractNode], AbstractNode] = MergeDifferentTypesPolicy.not_strict, merge_list: Callable[[AbstractNode, AbstractNode], AbstractNode] = MergeListPolicy.override, notification: Callable[..., None] = NotifyDifferentTypesPolicy.w...
Config is a manager class provided an interface for the creation and merging Layers from different sources.
62598f7ad4950a0f3b110ae6
class EventTypeViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = EventType.objects.all() <NEW_LINE> serializer_class = EventTypeSerializer <NEW_LINE> permission_classes = (permissions.IsAuthenticatedOrReadOnly,)
API endpoint that allows Agent Types to be viewed or edited.
62598f7a7c178a314d78ce0a
class StopWatchError(Exception): <NEW_LINE> <INDENT> pass
Raised by :class:`StopWatch` if an action is not allowed. .. versionadded:: 0.12.0
62598f7a66673b3332c2fd26
class MessageRule: <NEW_LINE> <INDENT> def __init__(self, descriptor: type, wrapper: type): <NEW_LINE> <INDENT> self._descriptor = descriptor <NEW_LINE> self._wrapper = wrapper <NEW_LINE> <DEDENT> def to_python(self, value, *, absent: bool = None): <NEW_LINE> <INDENT> if isinstance(value, self._descriptor): <NEW_LINE> ...
A marshal for converting between a descriptor and proto.Message.
62598f7ad99f1b3c44d0500f
class TestVoteServices(BaseTestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super().setUp() <NEW_LINE> election = Election( name="ELECTION", images="IMAGE_PATH", description="Some Description", ) <NEW_LINE> db.session.add(election) <NEW_LINE> db.session.commit() <NEW_LINE> candidate = Candidate( name...
testing class for all method for vote services
62598f7a23e79379d538be5b
class HardwareConfigurator(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def activate_cores(): <NEW_LINE> <INDENT> cores = multiprocessing.cpu_count() <NEW_LINE> h.load_file("parcom.hoc") <NEW_LINE> p = h.ParallelComputeTool() <NEW_LINE> return "c...
**Available methods:** +------------------------------+----------------------+ | Method name | Method type | +==============================+======================+ | :py:meth:`.activate_cores` | static method | +------------------------------+----------------------+ *NOTE:* * ``ac...
62598f7a07f4c71912baedaf
class StructuralSectionConcreteRectangle(StructuralSectionRectangular,IDisposable): <NEW_LINE> <INDENT> def Dispose(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def ReleaseUnmanagedResources(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __enter__(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <...
Defines parameters for parameterized concrete rectangle structural section. StructuralSectionConcreteRectangle(width: float,height: float,centroidHorizontal: float,centroidVertical: float,principalAxesAngle: float,sectionArea: float,perimeter: float,nominalWeight: float,momentOfInertiaStrongAxis: float,momentOfInert...
62598f7a38b623060ffa89fc
class ComplexType(object): <NEW_LINE> <INDENT> INT = 0 <NEW_LINE> STRING = 1 <NEW_LINE> TIME = 3 <NEW_LINE> MEMORY = 4 <NEW_LINE> BOOL = 5 <NEW_LINE> CSTRING = 6 <NEW_LINE> HOST = 7 <NEW_LINE> DOUBLE = 8 <NEW_LINE> RESTRING = 9
Enum for the type of compex, @ INT :- integar
62598f7aa4f1c619b294df4f
class Command(BaseCommand): <NEW_LINE> <INDENT> help = "Update the TLEs of the db stored satellites" <NEW_LINE> def add_arguments(self, parser): <NEW_LINE> <INDENT> parser.add_argument('norad_ids', nargs='*', type=int) <NEW_LINE> <DEDENT> def handle(self, *args, **options): <NEW_LINE> <INDENT> only_norad_ids = options....
Management command to update TLEs for the db satellites.
62598f7a8a43f66fc4bf1ae1
class Request: <NEW_LINE> <INDENT> def __init__(self, conn, inputStreamClass): <NEW_LINE> <INDENT> self._conn = conn <NEW_LINE> self.server = conn.server <NEW_LINE> self.params = {} <NEW_LINE> self.stdin = inputStreamClass(conn) <NEW_LINE> self.stdout = OutputStream(conn, self, FCGI_STDOUT) <NEW_LINE> self.stderr = Out...
Represents a single FastCGI request. These objects are passed to your handler and is the main interface between your handler and the fcgi module. The methods should not be called by your handler. However, server, params, stdin, stdout, stderr, and data are free for your handler's use.
62598f7abe8e80087fbbe9c5
class idTyyppi (pyxb.binding.datatypes.string): <NEW_LINE> <INDENT> _ExpandedName = pyxb.namespace.ExpandedName(Namespace, 'idTyyppi') <NEW_LINE> _XSDLocation = None <NEW_LINE> _Documentation = 'Rakenneosan yksilöivä id-tunnus. Formaattia ei ole määritelty.'
Rakenneosan yksilöivä id-tunnus. Formaattia ei ole määritelty.
62598f7a507cdc57c63a46ef
class SamplingEnable(A10BaseClass): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.ERROR_MSG = "" <NEW_LINE> self.b_key = "sampling-enable" <NEW_LINE> self.DeviceProxy = "" <NEW_LINE> self.counters1 = "" <NEW_LINE> for keys, value in kwargs.items(): <NEW_LINE> <INDENT> setattr(self,keys, val...
This class does not support CRUD Operations please use parent. :param counters1: {"enum": ["all", "data-sessions-current-epoch", "fullcone-created-current-epoch", "user-quote-created-current-epoch", "data-sessions-previous-epoch-first", "fullcone-created-previous-epoch-first", "user-quote-created-previous-epoch-first"...
62598f7a6fece00bbaccb2ea
class GeneralRandom(object): <NEW_LINE> <INDENT> def __init__(self, pdf, min_range, max_range, ninversecdf=None, ran_res=1e3): <NEW_LINE> <INDENT> self.ran_res = ran_res <NEW_LINE> x = np.linspace(min_range, max_range, ran_res) <NEW_LINE> if ninversecdf is None: <NEW_LINE> <INDENT> ninversecdf = 5 * x.size <NEW_LINE> <...
Fast random number generation with an arbitrary pdf of a continuous variable x. Linear interpolation is applied between points pdf(x) at which the pdf is specified. I started with the recipy 576556, removed some unnecessary stuff and added some useful stuff. Recipe 576556: Generating random numbers with arbitrary dist...
62598f7a8c3a8732951f5ead
class NestedStack(stack_resource.StackResource): <NEW_LINE> <INDENT> PROPERTIES = ( TEMPLATE_URL, TIMEOUT_IN_MINS, PARAMETERS, ) = ( 'TemplateURL', 'TimeoutInMinutes', 'Parameters', ) <NEW_LINE> properties_schema = { TEMPLATE_URL: properties.Schema( properties.Schema.STRING, _('The URL of a template that specifies the ...
A Resource representing a child stack to allow composition of templates.
62598f7a15baa723494618e3
class RangeVisualTextField(VisualTextField): <NEW_LINE> <INDENT> def __init__(self, screen, value, *args, range=(0, 100), **kwargs): <NEW_LINE> <INDENT> self.range = range <NEW_LINE> self._value = value <NEW_LINE> kwargs["screen"] = screen <NEW_LINE> VisualTextField.__init__(self, *args, **kwargs) <NEW_LINE> self.scree...
Visual text field that supports integer/float ranges.
62598f7a1f037a2d8b9e3a4f
class Perceptron_AND(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.AND_Perceptron = Perceptron([0.5,0.5],Step(0).activate,"AND",bias=-1) <NEW_LINE> <DEDENT> def test_AND_high(self): <NEW_LINE> <INDENT> outcome = self.AND_Perceptron.activate([1,1]) <NEW_LINE> self.assertEqual(outcome,...
Tests the Perceptron class by building a AND logic gate Perceptron
62598f7ac432627299fa293c
class ICRateLimitExceededError(ICError): <NEW_LINE> <INDENT> pass
The number of requests sent have exceeded the allowed API rate limit
62598f7a66673b3332c2fd28
class ModuleGeometry(DeckItem): <NEW_LINE> <INDENT> @property <NEW_LINE> def separate_calibration(self) -> bool: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> def __init__( self, display_name: str, model: ModuleModel, module_type: ModuleType, offset: Point, overall_height: float, height_over_labware: float, paren...
This class represents an active peripheral, such as an Opentrons Magnetic Module, Temperature Module or Thermocycler Module. It defines the physical geometry of the device (primarily the offset that modifies the position of the labware mounted on top of it).
62598f7abe383301e025315c
class Words(Tokenize): <NEW_LINE> <INDENT> wordslist = [] <NEW_LINE> xlist = [" ", ""] <NEW_LINE> onestring = "" <NEW_LINE> getstring = "" <NEW_LINE> def __init__(self, text): <NEW_LINE> <INDENT> Tokenize.__init__(self, text) <NEW_LINE> <DEDENT> def load(self): <NEW_LINE> <INDENT> self.getstring = Tokenize.load(self) <...
делает токинезацию по словам
62598f7a07f4c71912baedb1
class LicensingClient(gdata.client.GDClient): <NEW_LINE> <INDENT> api_version = '1.0' <NEW_LINE> auth_service = 'apps' <NEW_LINE> auth_scopes = gdata.gauth.AUTH_SCOPES['apps'] <NEW_LINE> ssl = False <NEW_LINE> def __init__(self, domain, auth_token=None, **kwargs): <NEW_LINE> <INDENT> gdata.client.GDClient.__init__(self...
Client extension for the Google Apps Marketplace Licensing API service. Attributes: host: string The hostname for the Google Apps Marketplace Licensing API service. api_version: string The version of the Google Apps Marketplace Licensing API.
62598f7a73bcbd0ca4bc9bb4
class Enemy(Character): <NEW_LINE> <INDENT> enemies_defeated = 0 <NEW_LINE> def __init__(self, char_name, char_description): <NEW_LINE> <INDENT> super().__init__(char_name, char_description) <NEW_LINE> self.weakness = None <NEW_LINE> <DEDENT> def set_weakness(self, item_weakness): <NEW_LINE> <INDENT> self.weakness = it...
Child class for representing the Enemy Character object
62598f7a30dc7b766599f1bf
class KerasComponent(object): <NEW_LINE> <INDENT> def __init__(self, name, network, out_shape): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.out_shape = out_shape <NEW_LINE> self.network = network <NEW_LINE> <DEDENT> def __call__(self, state): <NEW_LINE> <INDENT> x = state['in_tensor'] <NEW_LINE> training = sta...
Wraps a Keras network into a component that can be used with PathNet.
62598f7a0383005118f6d066
class PageviewsBySubverbifyAndPath(Base): <NEW_LINE> <INDENT> __tablename__ = "traffic_srpaths" <NEW_LINE> srpath = Column(String(), nullable=False, primary_key=True) <NEW_LINE> date = Column(DateTime(), nullable=False, primary_key=True) <NEW_LINE> interval = Column(String(), nullable=False, primary_key=True) <NEW_LINE...
Pageviews within a subverbify with action included. `srpath` is the subverbify name, a dash, then the controller method called to render the page the user viewed. e.g. verbify.com-GET_listing. This is useful to determine how many pageviews in a subverbify are on listing pages, comment pages, or elsewhere.
62598f7a29b78933be269d8e
class FBEditTimeCode (FBVisualComponent): <NEW_LINE> <INDENT> def FBEditTimeCode(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> OnChange=property(doc="<b>Event:</b> Timecode changed. ") <NEW_LINE> Value=property(doc="<b>Read Write Property:</b> Current timecode value. ") <NEW_LINE> pass
62598f7a287bf620b627151d
class Colon(nn.Module): <NEW_LINE> <INDENT> def __init__(self, n_channels, n_inputs): <NEW_LINE> <INDENT> super(Colon, self).__init__() <NEW_LINE> self.conv = nn.Sequential( nn.Conv2d(n_channels, 64, kernel_size=3, stride=1, padding=1), nn.Tanh(), nn.MaxPool2d(kernel_size=2, stride=2, padding=1), nn.Conv2d(64, 128, ker...
This class implements a Multi-layer Perceptron in PyTorch. It handles the different layers and parameters of the model. Once initialized an MLP object can perform forward.
62598f7a7c178a314d78ce0d
class ProjectBuilder(object): <NEW_LINE> <INDENT> def __init__(self, project_config, argv): <NEW_LINE> <INDENT> self._project_config = project_config <NEW_LINE> self._argv = argv <NEW_LINE> self._libtsk_path = "sleuthkit/tsk" <NEW_LINE> self._sub_library_names = "auto base docs fs hashdb img vs".split() <NEW_LINE>...
Class to help build the project.
62598f7abaa26c4b54d4ec18
class LineInfo(object): <NEW_LINE> <INDENT> def __init__(self, line, continue_prompt=False): <NEW_LINE> <INDENT> self.line = line <NEW_LINE> self.continue_prompt = continue_prompt <NEW_LINE> self.pre, self.esc, self.ifun, self.the_rest = split_user_input(line) <NEW_LINE> self.pre_char = self.pre.strip(...
A single line of input and associated info. Includes the following as properties: line The original, raw line continue_prompt Is this line a continuation in a sequence of multiline input? pre Any leading whitespace. esc The escape character(s) in pre or the empty string if there isn't one. Note that '!!'...
62598f7a6aa9bd52df0d483d
class VariableNew(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swagger_types = { 'name': 'str', 'category': 'str', 'unit': 'str', 'combination_operation': 'str', 'parent': 'str' } <NEW_LINE> self.attribute_map = { 'name': 'name', 'category': 'category', 'unit': 'unit', 'combination_operatio...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f7a9b70327d1c57e70b
class RegistroY630(Registro): <NEW_LINE> <INDENT> campos = [ CampoFixo(1, 'REG', 'Y630'), Campo(2, 'CNPJ'), Campo(3, 'QTE_QUOT'), Campo(4, 'QTE_QUOTA'), Campo(5, 'PATR_FIN_PER'), Campo(6, 'DAT_ABERT'), Campo(7, 'DAT_ENCER'), ]
Fundos/Clubes de Investimento
62598f7a71ff763f4b5e70d1
class AutoRunnerTerminal(RunnerTerminal): <NEW_LINE> <INDENT> default_verification_timeout = 10 <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> super(AutoRunnerTerminal, self).__init__() <NEW_LINE> self.prepare = None <NEW_LINE> self.finalize = None <NEW_LINE> self._verify_proxy = None <NEW_LINE> <DEDENT> def initia...
*Python* terminal session wrapper with the automated recovery feature for the session. This wrapper expects that the session is an instance of :class:`.autorecoveringterminal.AutoRecoveringTerminal`.
62598f7a96565a6dacd2cc2d
@properties.ColumnProperty.strategy_for(instrument=False, deferred=False) <NEW_LINE> class UninstrumentedColumnLoader(LoaderStrategy): <NEW_LINE> <INDENT> __slots__ = 'columns', <NEW_LINE> def __init__(self, parent): <NEW_LINE> <INDENT> super(UninstrumentedColumnLoader, self).__init__(parent) <NEW_LINE> self.columns = ...
Represent a non-instrumented MapperProperty. The polymorphic_on argument of mapper() often results in this, if the argument is against the with_polymorphic selectable.
62598f7ad10714528d69d834
class shared_tuner(object): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> raise AttributeError("No constructor defined") <NEW_LINE> <DEDENT> __repr__ = _swig_repr <NEW_LINE> ...
<+description of block+> Constructor Specific Documentation: Return a shared_ptr to a new instance of fm_debug::shared_tuner. To avoid accidental use of raw pointers, fm_debug::shared_tuner's constructor is in a private implementation class. fm_debug::shared_tuner::make is the public interface for creating new insta...
62598f7a66673b3332c2fd2a
class IntegrityChecker(object): <NEW_LINE> <INDENT> def __init__(self, log_file): <NEW_LINE> <INDENT> self.check_repo_path() <NEW_LINE> self.logger = None <NEW_LINE> self.setup_logger(log_file) <NEW_LINE> self.files_to_check = ( ".c", ".h", ".sh", ".pl", ".py", ".md", ".function", ".data", "Makefile", "CMakeLists.txt",...
Sanity-check files under the current directory.
62598f7a6e29344779afffc7
class graphcommand(QObject): <NEW_LINE> <INDENT> def __init__(self, name, pos=(0, 0)): <NEW_LINE> <INDENT> super(graphcommand,self).__init__() <NEW_LINE> self.name=name <NEW_LINE> self.pos=pos <NEW_LINE> self.status=0 <NEW_LINE> <DEDENT> def _processcommand(self, parent,eventname, pos): <NEW_LINE> <INDENT> pass
图形操作命令
62598f7a8c3a8732951f5eae
class SoftLayerError(Exception): <NEW_LINE> <INDENT> pass
The base SoftLayer error.
62598f7abe383301e025315e
class P0fException(Exception): <NEW_LINE> <INDENT> pass
Raised when server returns invalid data
62598f7a30c21e258be9816e
class LabelParam(collections.namedtuple('LabelParam', ['name', 'value'])): <NEW_LINE> <INDENT> _allow_reserved_keys = False <NEW_LINE> __slots__ = () <NEW_LINE> def __new__(cls, name, value=None): <NEW_LINE> <INDENT> cls._validate_label(name, value) <NEW_LINE> return super(LabelParam, cls).__new__(cls, name, value) <NE...
Name/value label parameter to a pipeline. Subclasses of LabelParam may flip the _allow_reserved_keys attribute in order to allow reserved label values to be used. The check against reserved keys ensures that providers can rely on the label system to track dsub-related values without allowing users to accidentally over...
62598f7a21bff66bcd7225cc
class Attachment(models.Model): <NEW_LINE> <INDENT> current_revision = models.ForeignKey( "AttachmentRevision", null=True, blank=True, related_name="current_for+", on_delete=models.SET_NULL, ) <NEW_LINE> title = models.CharField(max_length=255, db_index=True) <NEW_LINE> mindtouch_attachment_id = models.IntegerField( he...
An attachment which can be inserted into one or more wiki documents. There is no direct database-level relationship between attachments and documents; insertion of an attachment is handled through markup in the document.
62598f7ad53ae8145f917dfd
class TimeStampedModel(models.Model): <NEW_LINE> <INDENT> created = CreationDateTimeField('created') <NEW_LINE> modified = ModificationDateTimeField('modified') <NEW_LINE> class Meta: <NEW_LINE> <INDENT> get_latest_by = 'modified' <NEW_LINE> ordering = ('-modified', '-created',) <NEW_LINE> abstract = True
TimeStampedModel An abstract base class model that provides self-managed "created" and "modified" fields.
62598f7a29b78933be269d8f
class QueryDataDescription(FrozenClass): <NEW_LINE> <INDENT> ua_types = { 'RelativePath': 'RelativePath', 'AttributeId': 'UInt32', 'IndexRange': 'String', } <NEW_LINE> def __init__(self, binary=None): <NEW_LINE> <INDENT> if binary is not None: <NEW_LINE> <INDENT> self._binary_init(binary) <NEW_LINE> self._freeze = True...
:ivar RelativePath: :vartype RelativePath: RelativePath :ivar AttributeId: :vartype AttributeId: UInt32 :ivar IndexRange: :vartype IndexRange: String
62598f7a7b25080760ed6e09
class Job: <NEW_LINE> <INDENT> __slots__ = ['job_type', 'parent', 'job_id', 'gs_pos', 'gs_prim', 'gs_remoteness'] <NEW_LINE> FINISHED = 0 <NEW_LINE> LOOK_UP = 1 <NEW_LINE> RESOLVE = 2 <NEW_LINE> SEND_BACK = 3 <NEW_LINE> DISTRIBUTE = 4 <NEW_LINE> CHECK_FOR_UPDATES = 5 <NEW_LIN...
A job has a game state, parent, type, and also has a priority for placing jobs in a queue for the processes to work on.
62598f7a287bf620b627151f
class GroupProfile(Profile): <NEW_LINE> <INDENT> def __init__(self, group_name: str, profile: Profile, **attrs): <NEW_LINE> <INDENT> if profile is not None and not isinstance(profile, Profile): <NEW_LINE> <INDENT> raise TypeError( f"Expected 'Profile' for arg 'profile', got {type(profile)}" ) <NEW_LINE> <DEDENT> elif p...
Represents a group profile on the server This class encapsulates a group and its properties on the server (whether it exists or not) and provides a logical layer through which we can make sense of its properties. We also provide some assurance that the integrity of the group's userprop profile is maintained. Args:...
62598f7aa4f1c619b294df54
class GraphicsItem(ToolkitObject): <NEW_LINE> <INDENT> enabled = d_(Bool(True)) <NEW_LINE> visible = d_(Bool(True)) <NEW_LINE> tool_tip = d_(Unicode()) <NEW_LINE> status_tip = d_(Unicode()) <NEW_LINE> request_update = Event() <NEW_LINE> scene = ForwardTyped(import_scene) <NEW_LINE> features = d_(Coerced(Feature.Flags))...
The base class of visible graphicsitem in Enaml.
62598f7a1f5feb6acb16259e
class ValType: <NEW_LINE> <INDENT> __eq__ = pod_equals
Tensor or combination of tensors
62598f7acad5886f8bdc4c8b
class Creatable(models.Model): <NEW_LINE> <INDENT> creator = models.ForeignKey(settings.AUTH_USER_MODEL, related_name="+", on_delete="CASCADE") if StrictVersion(django.get_version()) >= StrictVersion('2.0') else models.ForeignKey(settings.AUTH_USER_MODEL, related_name="+") <NEW_LINE> creation_date = model...
An abstract Model encapsulating an entity that can be created
62598f7a73bcbd0ca4bc9bb7
class ElementNotReloadableException(Exception): <NEW_LINE> <INDENT> pass
Raised when reload is not possible.
62598f7af7d966606f74794f
class SQLDatabaseAPI(OpenTAXIIAuthAPI): <NEW_LINE> <INDENT> def __init__(self, db_connection, create_tables=False, secret=None): <NEW_LINE> <INDENT> self.db = SQLAlchemyDB( db_connection, Base, session_options={ 'autocommit': False, 'autoflush': True, }) <NEW_LINE> if create_tables: <NEW_LINE> <INDENT> self.db.create_a...
Naive SQL database implementation of OpenTAXII Auth API. Implementation will work with any DB supported by SQLAlchemy package. :param str db_connection: a string that indicates database dialect and connection arguments that will be passed directly to :func:`~sqlalchemy.engi...
62598f7ab830903b9686e125
class Devices(models.Model): <NEW_LINE> <INDENT> device_type = models.IntegerField(db_column='device_type', verbose_name=u'驱动类型') <NEW_LINE> device_id = models.CharField(max_length=64, db_column='device_id', unique=True, verbose_name=u'驱动ID') <NEW_LINE> device_name = models.CharField(max_length=32, db_column='device_na...
Save android/iOS devices and Web browser config data device_type: 0---Android; 1---iOS; 2---Web device_id:Android/iOS----like:'FDGNW17213002562';Web---None device_name:Android---Sumsung Galaxy7/HonorV20...;iOS---iPhone5/6/7/8/XR...;Web---FireFox/IE/Google/360... platform_version:Android---4.4-9.0; iOS---7-12; Web---Win...
62598f7a15baa723494618e8
class QuickAvroError(Exception): <NEW_LINE> <INDENT> pass
Baseclass for all quickavro errors.
62598f7a96565a6dacd2cc2e
class Debouncer: <NEW_LINE> <INDENT> def __init__( self, hass: HomeAssistant, logger: Logger, *, cooldown: float, immediate: bool, function: Optional[Callable[..., Awaitable[Any]]] = None, ): <NEW_LINE> <INDENT> self.hass = hass <NEW_LINE> self.logger = logger <NEW_LINE> self._function = function <NEW_LINE> self.cooldo...
Class to rate limit calls to a specific command.
62598f7ad6c5a102081e1aae
class TimingOutCQLClientTests(SynchronousTestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.client = mock.Mock(spec=['execute', 'disconnect']) <NEW_LINE> self.clock = Clock() <NEW_LINE> self.tclient = TimingOutCQLClient(self.clock, self.client, 10) <NEW_LINE> <DEDENT> def test_execute(self): <NEW_...
Tests for `:py:class:TimingOutCQLClient`
62598f7a8c3a8732951f5eb1
class Branch(object): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.parent = None <NEW_LINE> self.children = [] <NEW_LINE> self.uuid = uuid() <NEW_LINE> self.name = self.__class__ <NEW_LINE> self.datatype = 'Branch' <NEW_LINE> for arg,val in kwargs.iteritems(): <NEW_LINE> <INDENT> setattr(s...
helper object used for calculating line item costs within a category
62598f7a23e79379d538be61
class MonetaryConverter(models.AbstractModel): <NEW_LINE> <INDENT> _name = 'ir.qweb.field.monetary' <NEW_LINE> _inherit = 'ir.qweb.field' <NEW_LINE> @api.model <NEW_LINE> def value_to_html(self, value, options): <NEW_LINE> <INDENT> display_currency = options['display_currency'] <NEW_LINE> fmt = "%.{0}f".format(display_...
``monetary`` converter, has a mandatory option ``display_currency`` only if field is not of type Monetary. Otherwise, if we are in presence of a monetary field, the field definition must have a currency_field attribute set. The currency is used for formatting *and rounding* of the float value. It is assumed that the l...
62598f7a26238365f5fac4d9
class Over(ColumnElement): <NEW_LINE> <INDENT> __visit_name__ = "over" <NEW_LINE> order_by = None <NEW_LINE> partition_by = None <NEW_LINE> def __init__( self, element, partition_by=None, order_by=None, range_=None, rows=None ): <NEW_LINE> <INDENT> self.element = element <NEW_LINE> if order_by is not None: <NEW_LINE> <...
Represent an OVER clause. This is a special operator against a so-called "window" function, as well as any aggregate function, which produces results relative to the result set itself. It's supported only by certain database backends.
62598f7a004d5f362081ecaf
class TestYouControlsBank(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.writer = MockWriter() <NEW_LINE> self.bank = YouControlsBank(self.writer, 6) <NEW_LINE> self.bigbank = YouControlsBank(self.writer, 12) <NEW_LINE> <DEDENT> def test_constructor(self): <NEW_LINE> <INDENT> self.ass...
Test class for AwesomeOutletBank
62598f7a8da39b475be02b4d
class Codec: <NEW_LINE> <INDENT> def __init__(self) -> None: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def MarshalInto(obj, p: Packer): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def Unmarshal(b: bytes, obj): <NEW_LINE> <INDENT> pass
Codec marshals and unmarshals
62598f7a15fb5d323ce7e694
class BetaKVServicer(object): <NEW_LINE> <INDENT> __metaclass__ = abc.ABCMeta <NEW_LINE> @abc.abstractmethod <NEW_LINE> def Get(self, request, context): <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> @abc.abstractmethod <NEW_LINE> def Set(self, request, context): <NEW_LINE> <INDENT> raise NotImplem...
<fill me in later!>
62598f7a76d4e153a661c57a
class SaleOrderCancel(models.TransientModel): <NEW_LINE> <INDENT> _name = 'sale.order.cancel' <NEW_LINE> _description = __doc__ <NEW_LINE> reason_id = fields.Many2one( 'sale.order.cancel.reason', string='Reason', required=True) <NEW_LINE> @api.one <NEW_LINE> def confirm_cancel(self): <NEW_LINE> <INDENT> act_close = {'t...
Ask a reason for the sale order cancellation.
62598f7a6e29344779afffcb
class OnTaskTableCloneError(OnTaskServiceException): <NEW_LINE> <INDENT> pass
Raised when unable to clone.
62598f7ad10714528d69d838
class ITimeScale: <NEW_LINE> <INDENT> def set_time_scale(self,val): pass
interface for TimeScale container
62598f7a0fa83653e46f485a
class MockMP3Parser(MP3Parser): <NEW_LINE> <INDENT> def __init__(self, testcases: Dict[str, Metadata]) -> None: <NEW_LINE> <INDENT> self.testcases: Dict[str, Metadata] = testcases <NEW_LINE> <DEDENT> def parse(self, filename: Path) -> Metadata: <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return self.testcases[filename...
Mock implementation of MP3Parser interface
62598f7a26238365f5fac4db
class StdSigmaMatcher(_object): <NEW_LINE> <INDENT> __swig_setmethods__ = {} <NEW_LINE> __setattr__ = lambda self, name, value: _swig_setattr(self, StdSigmaMatcher, name, value) <NEW_LINE> __swig_getmethods__ = {} <NEW_LINE> __getattr__ = lambda self, name: _swig_getattr(self, StdSigmaMatcher, name) <NEW_LINE> __repr__...
Proxy of C++ SigmaMatcher<(StdMatcher)> class
62598f7a07f4c71912baedb7
class RAID1(RAID): <NEW_LINE> <INDENT> def __init__(self, disk, volumes=2, recovery=RECOVER, delay=DELAY, nre_model=MODEL, objsize=OBJSIZE): <NEW_LINE> <INDENT> RAID.__init__(self, disk, volumes=volumes, recovery=recovery, delay=delay, nre_model=nre_model, objsize=objsize) <NEW_LINE> self.parity = 0 <NEW_LINE> self.cop...
model a mirrored RAID set
62598f7a9b70327d1c57e710
class FollowMeService(QMainWindow): <NEW_LINE> <INDENT> closed = pyqtSignal() <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> QMainWindow.__init__(self) <NEW_LINE> self.ui = FOLME_UI.Ui_QFMC() <NEW_LINE> self.ui.setupUi(self) <NEW_LINE> screen = QDesktopWidget().screenGeometry() <NEW_LINE> size = self.geometry() <N...
The FOLME Class is for show selected player connected as FOLME
62598f7ad53ae8145f917e01
class Blogger(models.Model): <NEW_LINE> <INDENT> first_name = models.CharField(max_length=100) <NEW_LINE> last_name = models.CharField(max_length=200) <NEW_LINE> bio = models.CharField(max_length=1200, help_text='Enter a little something about yourself.') <NEW_LINE> class Meta: <NEW_LINE> <INDENT> ordering = ['last_nam...
Model representing the author of the blogpost.
62598f7a8da39b475be02b4f
class ProbDict(UserDict.UserDict): <NEW_LINE> <INDENT> def __init__(self,data=None): <NEW_LINE> <INDENT> self.sum=0 <NEW_LINE> UserDict.UserDict.__init__(self,data) <NEW_LINE> <DEDENT> def cmp_prob_val(self,a,b): <NEW_LINE> <INDENT> if self[a]==self[b]: <NEW_LINE> <INDENT> return cmp(a,b) <NEW_LINE> <DEDENT> else: <NEW...
Dictionary with a cached sum
62598f7a8a349b6b43685bae
class T2(SortTest): <NEW_LINE> <INDENT> def sort(self, Q: list): <NEW_LINE> <INDENT> for i in range(len(Q) - 1, 0, -1): <NEW_LINE> <INDENT> is_sorted = True <NEW_LINE> for j in range(0, i): <NEW_LINE> <INDENT> if Q[j] > Q[j + 1]: <NEW_LINE> <INDENT> Q[j], Q[j + 1] = Q[j + 1], Q[j] <NEW_LINE> is_sorted = False <NEW_LINE...
冒泡排序
62598f7a07d97122c421660d
class NoopQuotaDriver(object): <NEW_LINE> <INDENT> def get_by_project_and_user(self, context, project_id, user_id, resource): <NEW_LINE> <INDENT> return -1 <NEW_LINE> <DEDENT> def get_by_project(self, context, project_id, resource): <NEW_LINE> <INDENT> return -1 <NEW_LINE> <DEDENT> def get_by_class(self, context, quota...
Driver that turns quotas calls into no-ops and pretends that quotas for all resources are unlimited. This can be used if you do not wish to have any quota checking. For instance, with nova compute cells, the parent cell should do quota checking, but the child cell should not.
62598f7a507cdc57c63a46f7
class SequenceBoneData: <NEW_LINE> <INDENT> def __init__(self, bone_index): <NEW_LINE> <INDENT> self.bone_index = bone_index <NEW_LINE> self.pos_x = [] <NEW_LINE> self.pos_y = [] <NEW_LINE> self.pos_z = [] <NEW_LINE> self.rot_x = [] <NEW_LINE> self.rot_y = [] <NEW_LINE> self.rot_z = [] <NEW_LINE> self.scl_x = [] <NEW_L...
Sequence data for a single bone. Attributes: bone_index (int): Frame count and flags pos_x (list): Position X-Axis keyframes pos_y (list): Position Y-Axis keyframes pos_z (list): Position Z-Axis keyframes rot_x (list): Rotation X-Axis keyframes in radian rot_y (list): Rotation Y-Axis keyframes ...
62598f7a91af0d3eaad39777
class KlaczNGModule(object): <NEW_LINE> <INDENT> def __init__(self, name, target, setup=_default_setup): <NEW_LINE> <INDENT> self._name = name <NEW_LINE> self._target = target <NEW_LINE> self._setup = setup <NEW_LINE> self._log = logging.getLogger('klaczng.modules.' + name) <NEW_LINE> self.parser = argparse.ArgumentPar...
Helps you spawn a Python klaczng module
62598f7a1f5feb6acb1625a2
class NoopMidonetClient(cli_base.MidonetClientBase): <NEW_LINE> <INDENT> pass
Dummy midonet client used for the unit tests
62598f7ad99f1b3c44d05018
class Solution: <NEW_LINE> <INDENT> def insertionSortList(self, head): <NEW_LINE> <INDENT> a = () <NEW_LINE> if head == None:return None <NEW_LINE> while head!=None: <NEW_LINE> <INDENT> new = (head.val,) <NEW_LINE> a = a + new <NEW_LINE> head = head.next <NEW_LINE> <DEDENT> if len(a)==1:return ListNode(a[0]) <NEW_LINE>...
@param head: The first node of linked list. @return: The head of linked list.
62598f7ac432627299fa2944
class StucturedSelfAttention(nn.Module): <NEW_LINE> <INDENT> def __init__(self, input_size, hidden_size=64): <NEW_LINE> <INDENT> super(StucturedSelfAttention, self).__init__() <NEW_LINE> self.fc = nn.Sequential( nn.Linear(input_size, hidden_size), nn.Tanh(), nn.Linear(hidden_size, 1) ) <NEW_LINE> <DEDENT> def forward(s...
Not tested
62598f7a07d97122c421660e
class MalleableUtil(object): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def to_hex(byte): <NEW_LINE> <INDENT> return hex(ord(byte)) if byte else None <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def from_hex(hex): <NEW_LINE> <INDENT> return hex.split("0x")[-1].zfill(2).decode("hex") if hex else None
Custom utility class used to provide helper functionality.
62598f7a30c21e258be98174
class ProcessDataJSON(webapp2.RequestHandler): <NEW_LINE> <INDENT> def get(self): <NEW_LINE> <INDENT> conn = get_connection() <NEW_LINE> cursor = conn.cursor() <NEW_LINE> cursor.execute("SELECT proc_id, proc_nm, emp_id FROM process") <NEW_LINE> rows = cursor.fetchall() <NEW_LINE> conn.close() <NEW_LINE> rowArray_list =...
Altered from tutorial Check the console object Array Load process data, create JSON, use in forms See jQueryJSON for the working tutorial Associated with: Renders: TBD
62598f7a26068e7796d4c2c7
class OrderDetailAdmin(admin.ModelAdmin): <NEW_LINE> <INDENT> list_display = ('ordertime', 'user', 'contact', 'orderprice', 'status') <NEW_LINE> list_filter = ['ordertime', 'status']
order detal admin pane customization
62598f7ad53ae8145f917e03
class Simple(Model): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def add_arguments(cls, parser): <NEW_LINE> <INDENT> parser.add_argument('-foo', default=10, type=int)
A toy class to demonstrate how to add model arguments.
62598f7a8a43f66fc4bf1aeb
class SpaceEngineersConnectorNode(WorkerNodeBase[SpaceEngineersConnectorInputs, SpaceEngineersConnectorOutputs], ActionsDescriptorProvider): <NEW_LINE> <INDENT> inputs: SpaceEngineersConnectorInputs <NEW_LINE> outputs: SpaceEngineersConnectorOutputs <NEW_LINE> _observable_actions: ActionsObservable <NEW_LINE> _unit: Sp...
Node used for connecting to a running instance of Space Engineers. Use SpaceEngineersConnectorConfig for specifying how exactly you will connect. SampleCollectionOverseer is used only when converting the game's frames into a static dataset. Most tricky stuff (skip_frames): if your curriculum contains only a task 0 o...
62598f7a8e05c05ec3f6eafd
class Recipe(models.Model): <NEW_LINE> <INDENT> name = models.CharField( default='', max_length=100) <NEW_LINE> ingredients = models.ManyToManyField( Ingredient, through='RecipeIngredient') <NEW_LINE> description = models.TextField() <NEW_LINE> difficulty = models.PositiveSmallIntegerField( choices=DIFFICULTIES, defaul...
Description: Represents a single recipe.
62598f7a7b25080760ed6e0f
class Contact(AbstractAPI): <NEW_LINE> <INDENT> _method_path = 'contacts'
Collection request api wrapper class
62598f7a7c178a314d78ce15
class TestReplaceTagRequest(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 make_instance(self, include_optional): <NEW_LINE> <INDENT> if include_optional : <NEW_LINE> <INDENT> return ReplaceTagReq...
ReplaceTagRequest unit test stubs
62598f7a15baa723494618ed
class Bullet: <NEW_LINE> <INDENT> def __init__(self, position, speed, direction): <NEW_LINE> <INDENT> self.position = position <NEW_LINE> self.speed = speed <NEW_LINE> self.direction = direction
Data container class for bullet representation.
62598f7a91af0d3eaad39779
class itkImageFileReaderIF2(itkImageSourcePython.itkImageSourceIF2): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") <NEW_LINE> __repr__ = _swig_repr...
Proxy of C++ itkImageFileReaderIF2 class
62598f7a76d4e153a661c57e
class RemoveSegmentationFromTarget(Transform): <NEW_LINE> <INDENT> def __init__(self, **super_kwargs): <NEW_LINE> <INDENT> super(RemoveSegmentationFromTarget, self).__init__(**super_kwargs) <NEW_LINE> <DEDENT> def batch_function(self, tensors): <NEW_LINE> <INDENT> assert len(tensors) == 2 <NEW_LINE> prediction, target ...
Remove the zeroth channel (== segmentation when `retain_segmentation` is used) from the target.
62598f7abaa26c4b54d4ec20
class timer(object): <NEW_LINE> <INDENT> __instances = {} <NEW_LINE> def __init__(self, f): <NEW_LINE> <INDENT> self.__f = f <NEW_LINE> self.log = logging.getLogger(f.__module__ + '.' + f.func_name) <NEW_LINE> <DEDENT> def __call__(self, *args, **kwargs): <NEW_LINE> <INDENT> self.__start = time.time() <NEW_LINE> result...
Decorator that mesures the time it takes to run a function.
62598f7a82261d6c5272fb8a
class ProgressBar(Widget): <NEW_LINE> <INDENT> parent = Instance(wx.Window) <NEW_LINE> control = Instance(wx.Gauge) <NEW_LINE> direction = Orientation("horizontal") <NEW_LINE> _max = Int() <NEW_LINE> def __init__( self, parent, minimum=0, maximum=100, direction="horizontal", size=(200, -1), **traits, ): <NEW_LINE> <IND...
A simple progress bar dialog intended to run in the UI thread
62598f7a1d351010ab8f34ad
class XSCache(MutableMapping): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._cache = {} <NEW_LINE> self._get_fns = {'E_n': get_E_n, 'sigma_f_n': get_sigma_f_n, 'sigma_a_n': get_sigma_a_n, 'sigma_rx_n': get_sigma_a_reaction_n, 'phi_g': lambda: phi_g(self['E_g'], self['E_n'], self['phi_n']), } <NEW_LI...
A lightweight multigroup cross-section cache based off of python dictionaries. High resolution (``*_n``) data will be read from nuc_data. Note, that this requires that nuc_data.h5 was built with CINDER data.
62598f7abe383301e0253166
@pytest.mark.usefixtures("configure_resilient") <NEW_LINE> class TestFileLookupIntegrationTests: <NEW_LINE> <INDENT> destinations = ("filelookup",) <NEW_LINE> action_fields = None <NEW_LINE> custom_fields = {"custom1": ("text", "Custom 1", None), "custom2": ("text", "Custom 2", None)} <NEW_LINE> automatic_actions = {"L...
System tests for the File Lookup component
62598f7a9b70327d1c57e714
class DivideParamOverride(OperatorOverride): <NEW_LINE> <INDENT> def __init__(self, param, num): <NEW_LINE> <INDENT> super(DivideParamOverride, self).__init__(param, num, operators.div)
docstring for ParamTypeOverride
62598f7a0383005118f6d070
class TestTwitterBackendArchive(TestCaseBackendArchive): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super().setUp() <NEW_LINE> self.backend_write_archive = Twitter('query', 'my-token', archive=self.archive) <NEW_LINE> self.backend_read_archive = Twitter('query', 'my-token', archive=self.archive) <NEW_LINE...
Twitter backend tests using an archive
62598f7a8a43f66fc4bf1aed
class CallbackModule(CallbackBase): <NEW_LINE> <INDENT> CALLBACK_VERSION = 2.0 <NEW_LINE> CALLBACK_TYPE = 'aggregate' <NEW_LINE> CALLBACK_NAME = 'profile_tasks' <NEW_LINE> CALLBACK_NEEDS_WHITELIST = True <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.stats = collections.OrderedDict() <NEW_LINE> self.current = ...
This callback module provides per-task timing, ongoing playbook elapsed time and ordered list of top 20 longest running tasks at end.
62598f7a8da39b475be02b53
class RelativeURLField(serializers.ReadOnlyField): <NEW_LINE> <INDENT> def to_representation(self, value): <NEW_LINE> <INDENT> request = self.context.get('request') <NEW_LINE> url = request and request.build_absolute_uri(value) or '' <NEW_LINE> return url
Field that returns a link to the relative url.
62598f7a596a8972361275e2
class ComputeHttpHealthChecksListRequest(messages.Message): <NEW_LINE> <INDENT> filter = messages.StringField(1) <NEW_LINE> maxResults = messages.IntegerField(2, variant=messages.Variant.UINT32, default=500) <NEW_LINE> pageToken = messages.StringField(3) <NEW_LINE> project = messages.StringField(4, required=True)
A ComputeHttpHealthChecksListRequest object. Fields: filter: Optional. Filter expression for filtering listed resources. maxResults: Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500. pageToken: Optional. Tag returned by a previous list request truncated by ...
62598f7ad99f1b3c44d0501d
class SolarSystem(models.Model): <NEW_LINE> <INDENT> name = models.CharField(max_length=100) <NEW_LINE> region = models.ForeignKey(Region) <NEW_LINE> constellation = models.ForeignKey(Constellation) <NEW_LINE> jumps = models.ManyToManyField('self') <NEW_LINE> security = models.FloatField() <NEW_LINE> security_class = m...
Equivalent of mapSolarSystems "solarSystemID" integer NOT NULL, -> pk "solarSystemName" varchar(100) DEFAULT NULL, -> name "regionID" integer DEFAULT NULL, -> region "constellationID" integer DEFAULT NULL, -> constellation "security" double DEFAULT NULL, -> security "securityClass" varchar(2) DEFAULT NULL, -> security...
62598f7a26068e7796d4c2cc
class SKUSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = SKU <NEW_LINE> fields = ('id','name','price','default_image_url','comments')
list.html 按分类区分的商品列表序列化器
62598f7a38b623060ffa8a09