code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class Receiver(): <NEW_LINE> <INDENT> def __init__(self, client): <NEW_LINE> <INDENT> self.client = client <NEW_LINE> self.received = False <NEW_LINE> <DEDENT> def receive_notifications(self, private_key, sender_id, mtype, params, extra): <NEW_LINE> <INDENT> self.params = params <NEW_LINE> self.received = True <NEW_LIN... | SAMP listener | 62598fbf92d797404e388c73 |
class IosBaseCompiler(RouterCompiler): <NEW_LINE> <INDENT> lo_interface = "Loopback0" <NEW_LINE> def compile(self, node): <NEW_LINE> <INDENT> super(IosBaseCompiler, self).compile(node) <NEW_LINE> if node in self.anm['isis']: <NEW_LINE> <INDENT> self.isis(node) <NEW_LINE> <DEDENT> <DEDENT> def interfaces(self, node): <N... | Base IOS compiler | 62598fbf5166f23b2e243601 |
class PandasReadBigFile(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> os.mkdir("testdata") <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> df = list() <NEW_LINE> complexity = 10000 <NEW_LINE> for _ in range(complexity): <NEW_LINE> <INDENT>... | 验证pandas读取大文件时, 如果只读取前两行, 是否需要的时间极短 | 62598fbf2c8b7c6e89bd39e2 |
class MetaPayload(Payload): <NEW_LINE> <INDENT> name = 'meta' <NEW_LINE> @classmethod <NEW_LINE> def new(cls, version, id, protocol, gateway, client): <NEW_LINE> <INDENT> payload = cls() <NEW_LINE> payload.set('version', version) <NEW_LINE> payload.set('id', id) <NEW_LINE> payload.set('protocol', protocol) <NEW_LINE> p... | Class definition for request/response meta payloads. | 62598fbf50812a4eaa620cfa |
class IPMIPacket: <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def createIPMIPacket(cls, packet): <NEW_LINE> <INDENT> auth_type = ord(packet[0]) <NEW_LINE> if auth_type == IPMI_SES_HDR_AUTH_TYPE_RMCPPLUS: <NEW_LINE> <INDENT> received = IPMI20Packet(packet=packet) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> received = ... | IPMI packet factory class | 62598fbf4f88993c371f061a |
class Convert: <NEW_LINE> <INDENT> head = None <NEW_LINE> def sorted_list_to_bst(self, head): <NEW_LINE> <INDENT> current, length = head, 0 <NEW_LINE> while current is not None: <NEW_LINE> <INDENT> current, length = current.next, length + 1 <NEW_LINE> <DEDENT> self.head = head <NEW_LINE> return self.sorted_list_to_bst_... | Convert linked list to bst. | 62598fbf99fddb7c1ca62efd |
class Config(BaseSampleReport.Config): <NEW_LINE> <INDENT> allow_population_by_field_name = True <NEW_LINE> orm_mode = True | Configure the sample report behavior. | 62598fbf23849d37ff8512d5 |
class Settings: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.screen_width = 1200 <NEW_LINE> self.screen_height = 800 <NEW_LINE> self.bg_color = (230, 230, 230) <NEW_LINE> self.ship_limit = 3 <NEW_LINE> self.bullet_width = 3 <NEW_LINE> self.bullet_height = 15 <NEW_LINE> self.bullet_color = (60, 60, 6... | A class to store all settings for Alien Invasion
| 62598fbf3346ee7daa337759 |
class PythonexpTransform(BaseTransform): <NEW_LINE> <INDENT> supported_options = { 'python_expressions': {'type': str_list} } <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(PythonexpTransform, self).__init__(*args, **kwargs) <NEW_LINE> self.python_expressions = self.read_option('python_expres... | It applies python expressions to items.
- python_expression (str)
Valid python expression | 62598fbf56ac1b37e630240f |
class MediaAssetEvidenceListView(generics.ListAPIView): <NEW_LINE> <INDENT> serializer_class = CampaignMediaAssetEvidenceSerializer <NEW_LINE> def get_queryset(self): <NEW_LINE> <INDENT> return CampaignEvidence.objects.filter(campaign_media_asset=self.kwargs['campaign_media_asset_id'], start_date__lte=timezone.now(), i... | Media Asset For Evidence List View | 62598fbf4f6381625f1995d3 |
class IPResolver(IPResolverBase): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(IPResolver, self).__init__() <NEW_LINE> self.cache = utils.FastStore(max_size=100) <NEW_LINE> <DEDENT> def RetrieveIPInfo(self, ip): <NEW_LINE> <INDENT> if not ip: <NEW_LINE> <INDENT> return (IPInfo.UNKNOWN, "No ip infor... | Resolves IP addresses to hostnames. | 62598fbf4c3428357761a4df |
class DelayedTask(Environmentable): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__(Environment('DelayedTask')) <NEW_LINE> <DEDENT> def execute(self) -> None: <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> self.run() <NEW_LINE> <DEDENT> except Exception as e: <NEW_LINE> <INDENT> logger.error(... | This class represents a single delayed task object.
This is an object that represents an execution to be done "later" | 62598fbfad47b63b2c5a7a78 |
class CVExactPredictionParameters(PredictionParameters): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> PredictionParameters.__init__( self, 'constant velocity (direct exact computation)', None) <NEW_LINE> <DEDENT> def computeCrossingsCollisionsAtInstant(self, currentInstant, obj1, obj2, collisionDistanceT... | Prediction parameters of prediction at constant velocity
using direct computation of the intersecting point (solving the equation)
Warning: the computed time to collision may be higher than timeHorizon (not used) | 62598fbf1f5feb6acb162e43 |
class ResourcesMoveInfo(Model): <NEW_LINE> <INDENT> _attribute_map = { 'resources': {'key': 'resources', 'type': '[str]'}, 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, } <NEW_LINE> def __init__(self, *, resources=None, target_resource_group: str=None, **kwargs) -> None: <NEW_LINE> <INDENT> su... | Parameters of move resources.
:param resources: The ids of the resources.
:type resources: list[str]
:param target_resource_group: The target resource group.
:type target_resource_group: str | 62598fbfaad79263cf42e9f8 |
class _ScatteredEmbeddingColumn( _FeatureColumn, fc_core._DenseColumn, collections.namedtuple("_ScatteredEmbeddingColumn", [ "column_name", "size", "dimension", "hash_key", "combiner", "initializer" ])): <NEW_LINE> <INDENT> def __new__(cls, column_name, size, dimension, hash_key, combiner="sqrtn", initializer=None): <N... | See `scattered_embedding_column`. | 62598fbf26068e7796d4cb7f |
class Role(db.Model): <NEW_LINE> <INDENT> user = db.StringProperty(required=True) <NEW_LINE> role = db.StringProperty(required=True) <NEW_LINE> @classmethod <NEW_LINE> def get_roles(cls, username): <NEW_LINE> <INDENT> key = 'acl.role.%s' % (username) <NEW_LINE> roles = memcache.get(key) <NEW_LINE> if roles is not None:... | Model to store user roles. | 62598fbf796e427e5384e9b9 |
class Meta: <NEW_LINE> <INDENT> model = Area <NEW_LINE> fields = ('pk', 'nombre', 'descripcion', 'img_area', 'estado') | campos | 62598fbfbe7bc26dc9251f6e |
@value.value_equality <NEW_LINE> class PauliStringExpectation(WaveFunctionDisplay): <NEW_LINE> <INDENT> def __init__(self, pauli_string: 'pauli_string.PauliString', key: Hashable=''): <NEW_LINE> <INDENT> self._pauli_string = pauli_string <NEW_LINE> self._key = key <NEW_LINE> <DEDENT> @property <NEW_LINE> def qubits(sel... | Expectation value of a Pauli string. | 62598fbf7047854f4633f5f8 |
class HostManager(object): <NEW_LINE> <INDENT> host_state_cls = HostState <NEW_LINE> def __init__(self): <NEW_LINE> <INDENT> self.service_states = {} <NEW_LINE> self.filter_classes = filters.get_filter_classes( FLAGS.scheduler_available_filters) <NEW_LINE> <DEDENT> def _choose_host_filters(self, filters): <NEW_LINE> <I... | Base HostManager class. | 62598fbf63b5f9789fe85396 |
class VerifyEmailForm(forms.ModelForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = VerifyCode <NEW_LINE> fields = ['code'] | Provides form for verifying user email address. | 62598fbf66673b3332c305f7 |
class MaxVol(object): <NEW_LINE> <INDENT> def __init__(self, max_vol=None): <NEW_LINE> <INDENT> self.swagger_types = { 'max_vol': 'int' } <NEW_LINE> self.attribute_map = { 'max_vol': 'maxVol' } <NEW_LINE> self._max_vol = max_vol <NEW_LINE> <DEDENT> @property <NEW_LINE> def max_vol(self): <NEW_LINE> <INDENT> return self... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598fbf656771135c489894 |
class AMQPLogSource(AMQPMessageConsumer): <NEW_LINE> <INDENT> def message_callback(self, record_data, msg): <NEW_LINE> <INDENT> record = object.__new__(logging.LogRecord) <NEW_LINE> record.__dict__.update(record_data) <NEW_LINE> logger = logging.getLogger(record.name) <NEW_LINE> if logger.isEnabledFor(record.levelno): ... | Receiving part of logging-over-AMQP solution.
Works in pair with :class:`AMQPHandler`: receives its log messages
with respect to provided routing key -- logger name. Relogs all received
log records. | 62598fbf283ffb24f3cf3aa9 |
class Amenity(BaseModel): <NEW_LINE> <INDENT> name = "" | Represent an amenity.
Attributes:
name (str): The name of the amenity. | 62598fbf67a9b606de5461f0 |
class PoolMonitor(neutron.NeutronAPIDictWrapper): <NEW_LINE> <INDENT> def __init__(self, apiresource): <NEW_LINE> <INDENT> apiresource['admin_state'] = 'UP' if apiresource['admin_state_up'] else 'DOWN' <NEW_LINE> super(PoolMonitor, self).__init__(apiresource) | Wrapper for neutron load balancer pool health monitor. | 62598fbf63d6d428bbee29d7 |
class RunNotFoundError(ValueError): <NEW_LINE> <INDENT> def __init__(self, run_id: str) -> None: <NEW_LINE> <INDENT> super().__init__(f"Run {run_id} was not found.") | Error raised when a given Run ID is not found in the store. | 62598fbf851cf427c66b84db |
class CopyDirFile(object): <NEW_LINE> <INDENT> def copy_file(self, file_name, src, dest): <NEW_LINE> <INDENT> if os.path.exists(src): <NEW_LINE> <INDENT> src_file = open(src + "/" + file_name, "r", encoding="utf8") <NEW_LINE> dest_file = open(dest + "/" + file_name, "a+", encoding="utf8") <NEW_LINE> while True: <NEW_LI... | 拷贝文件夹下的文件 | 62598fbf57b8e32f52508230 |
class HexBGCode(_HexCode): <NEW_LINE> <INDENT> ground = 'back' | A hex background colour. | 62598fbf4f88993c371f061c |
class ZMemoryBadStoryfileSize(ZMemoryError): <NEW_LINE> <INDENT> pass | Story is too large for Z-machine version. | 62598fbf66656f66f7d5a618 |
class AlteredSetting(object): <NEW_LINE> <INDENT> def __init__(self, name, value): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> self.value = value <NEW_LINE> self.settings = sublime.load_settings('RustEnhanced.sublime-settings') <NEW_LINE> <DEDENT> def __enter__(self): <NEW_LINE> <INDENT> self.orig = self.settings.g... | Utility to help with temporarily changing a setting. | 62598fbf4527f215b58ea0f4 |
class NotifiableItemDelegate(QStyledItemDelegate): <NEW_LINE> <INDENT> editing_done = pyqtSignal() | The parent delegate class for providing common actions for all custom delegates. | 62598fbfff9c53063f51a874 |
class FindNode(BaseCommand): <NEW_LINE> <INDENT> name = Commands.FIND_NODE.value <NEW_LINE> description = 'Neo4j Find Node' <NEW_LINE> dependencies = BaseCommand.default_dependencies.union({'xep_0122', 'neo4j_wrapper'}) <NEW_LINE> def post_init(self): <NEW_LINE> <INDENT> super(FindNode, self).post_init() <NEW_LINE> sel... | Neo4j Storage plugin for finding data. | 62598fbf7047854f4633f5fa |
class block: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._statements = [] <NEW_LINE> self._variables = [] <NEW_LINE> <DEDENT> def add_statement(self, s): <NEW_LINE> <INDENT> self._statements += [s] <NEW_LINE> <DEDENT> def declare_variable(self, n): <NEW_LINE> <INDENT> self._variables += [n] <NEW_LI... | This is a bock of statements surrounded by a scoping (like open close bracket, for loop, etc.) | 62598fbf56ac1b37e6302414 |
@unittest.skipIf(tf_version.is_tf2(), 'Skipping TF1.X only test.') <NEW_LINE> class SSDResnet152V1FeatureExtractorTest( ssd_resnet_v1_fpn_feature_extractor_testbase. SSDResnetFPNFeatureExtractorTestBase): <NEW_LINE> <INDENT> def _create_feature_extractor(self, depth_multiplier, pad_to_multiple, use_explicit_padding=Fal... | SSDResnet152v1Fpn feature extractor test. | 62598fbfa05bb46b3848aa93 |
class NeuralFactorizationMachineModel(torch.nn.Module): <NEW_LINE> <INDENT> def __init__(self, field_dims, embed_dim, mlp_dims, dropouts): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.embedding = FeaturesEmbedding(field_dims, embed_dim) <NEW_LINE> self.linear = FeaturesLinear(field_dims) <NEW_LINE> self.fm = ... | A pytorch implementation of Neural Factorization Machine.
Reference:
X He and TS Chua, Neural Factorization Machines for Sparse Predictive Analytics, 2017. | 62598fbf3d592f4c4edbb0e5 |
class TopicUpdateParameters(Model): <NEW_LINE> <INDENT> _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, } <NEW_LINE> def __init__(self, tags=None): <NEW_LINE> <INDENT> super(TopicUpdateParameters, self).__init__() <NEW_LINE> self.tags = tags | Properties of the Topic update.
:param tags: Tags of the resource
:type tags: dict[str, str] | 62598fbf4f88993c371f061d |
class InstanceActionAPI(base.Base): <NEW_LINE> <INDENT> def actions_get(self, context, instance): <NEW_LINE> <INDENT> return objects.InstanceActionList.get_by_instance_uuid( context, instance.uuid) <NEW_LINE> <DEDENT> def action_get_by_request_id(self, context, instance, request_id): <NEW_LINE> <INDENT> return objects.... | Sub-set of the Compute Manager API for managing instance actions. | 62598fbf7cff6e4e811b5c4b |
class ContainsKeyAndInstanceConfigValidator(AbstractConfigValidator): <NEW_LINE> <INDENT> def validate(self,config): <NEW_LINE> <INDENT> for key in self.config: <NEW_LINE> <INDENT> if not key in config: <NEW_LINE> <INDENT> logger.warn("Key " + str(key) + " is not in the configuration") <NEW_LINE> return False <NEW_LINE... | Checks if the configuration dict contains all keys, and values are instance of the ones provided as validator config
Sample config
{"list":type([])} : will check a list in a "list" key in the config dict | 62598fbf50812a4eaa620cfd |
class RegionCountries(ListAPIView): <NEW_LINE> <INDENT> serializer_class = CountrySerializer <NEW_LINE> fields = ('url', 'code', 'name') <NEW_LINE> def get_queryset(self): <NEW_LINE> <INDENT> pk = self.kwargs.get('pk') <NEW_LINE> region = geodata.models.Region.objects.get(pk=pk) <NEW_LINE> return region.countries | Returns a list of IATI Countries within region.
## URI Format
```
/api/regions/{region_id}/countries
```
### URI Parameters
- `region_id`: Desired region ID | 62598fbfa8370b77170f0609 |
class ApiStatus(object): <NEW_LINE> <INDENT> swagger_types = { 'version': 'str', 'ready': 'bool' } <NEW_LINE> attribute_map = { 'version': 'version', 'ready': 'ready' } <NEW_LINE> def __init__(self, version=None, ready=None): <NEW_LINE> <INDENT> self._version = None <NEW_LINE> self._ready = None <NEW_LINE> self.discrim... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 62598fbfdc8b845886d537e2 |
class ModifiedDom(object): <NEW_LINE> <INDENT> def __init__(self, txt): <NEW_LINE> <INDENT> if not isinstance(txt, unicode): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> txt = txt.decode('utf8') <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> <DEDENT> self.txt = txt <NEW_LINE> self.match = BODY... | A class to be able to parse the body tag while
leaving the rest of the document in tact | 62598fbf796e427e5384e9bd |
class ProjectSettingView(DetailView): <NEW_LINE> <INDENT> template_name = "issue_tracker/project/project_settings.html" <NEW_LINE> model = Project <NEW_LINE> def get(self, request, *args, **kwargs): <NEW_LINE> <INDENT> if request.is_ajax(): <NEW_LINE> <INDENT> context = dict() <NEW_LINE> initial_date = self.request.GET... | View to show the different member and their story.
Story that are started un-started and finished
and to show unassigned story of that project | 62598fbfff9c53063f51a876 |
class Settings: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.screen_width = 1200 <NEW_LINE> self.screen_height = 700 <NEW_LINE> self.bg_color = (230, 230, 230) <NEW_LINE> self.ship_limit = 3 <NEW_LINE> self.bullet_width = 3 <NEW_LINE> self.bullet_height = 15 <NEW_LINE> self.bullet_color = (60, 60, 6... | A class to store all settings for Alien Invasion | 62598fbfe1aae11d1e7ce939 |
class Scene2D: <NEW_LINE> <INDENT> _x = 0 <NEW_LINE> _y = 0 <NEW_LINE> _width = 0 <NEW_LINE> _height = 0 <NEW_LINE> _objects = [] <NEW_LINE> def __init__(self, x, y, width, height): <NEW_LINE> <INDENT> self._x = x <NEW_LINE> self._y = y <NEW_LINE> self._width = width <NEW_LINE> self._height = height <NEW_LINE> <DEDENT>... | Class defining the environment
Values of the abstract properties
* **_x,_y,_z,_width,_height,_depth** = "Dimensions of the scene"
* **_objects** = "a dictionary of objects of the 'physical object' class"
Members
* **_visualise** (): | 62598fbf5fdd1c0f98e5e1ba |
class DlgFromDict(Dlg): <NEW_LINE> <INDENT> def __init__(self, dictionary, title='',fixed=[]): <NEW_LINE> <INDENT> Dlg.__init__(self, title) <NEW_LINE> self.dictionary=dictionary <NEW_LINE> keys = self.dictionary.keys() <NEW_LINE> keys.sort() <NEW_LINE> types=dict([]) <NEW_LINE> for field in keys: <NEW_LINE> <INDENT> t... | Creates a dialogue box that represents a dictionary of values.
Any values changed by the user are change (in-place) by this
dialogue box.
e.g.:
::
info = {'Observer':'jwp', 'GratingOri':45, 'ExpVersion': 1.1}
infoDlg = gui.DlgFromDict(dictionary=info, title='TestExperiment', fixed=['ExpVersion'])
if inf... | 62598fbf7047854f4633f5fc |
class IdGenerator(xblock.runtime.IdGenerator): <NEW_LINE> <INDENT> def create_usage(self, def_id): <NEW_LINE> <INDENT> definition_key = ndb.Key(store.DefinitionEntity, str(def_id)) <NEW_LINE> assert definition_key.get() is not None <NEW_LINE> usage_id = generate_id() <NEW_LINE> usage = store.UsageEntity(id=usage_id) <N... | Implementation of XBlock IdGenerator using App Engine datastore.
This manages the graph of many-to-one relationships between
usages, definitions, and blocks. The schema is:
usage (n) -- (1) definition (n) -- (1) block_type | 62598fbf71ff763f4b5e79a4 |
class OverkizDescriptiveEntity(OverkizEntity): <NEW_LINE> <INDENT> def __init__( self, device_url: str, coordinator: OverkizDataUpdateCoordinator, description: OverkizSensorDescription | OverkizBinarySensorDescription, ): <NEW_LINE> <INDENT> super().__init__(device_url, coordinator) <NEW_LINE> self.entity_description =... | Representation of a Overkiz device entity based on a description. | 62598fbf4f6381625f1995d6 |
class IFlyTekSTT(AbstractSTTEngine): <NEW_LINE> <INDENT> SLUG = "iflytek-stt" <NEW_LINE> def __init__(self, api_id, api_key, url, **kwargs): <NEW_LINE> <INDENT> self._logger = logging.getLogger(__name__) <NEW_LINE> self.api_id = api_id <NEW_LINE> self.api_key = api_key <NEW_LINE> self.url = url <NEW_LINE> <DEDENT> @cla... | 科大讯飞的语音识别API.
要使用本模块, 首先到 http://aiui.xfyun.cn/default/index 注册一个开发者账号,
之后创建一个新应用, 然后在应用管理的那查看 API id 和 API Key
填入 profile.xml 中. | 62598fbf4c3428357761a4e5 |
class RPyRException(RuntimeError): <NEW_LINE> <INDENT> pass | Runtime error while running R code. | 62598fbf4a966d76dd5ef0fd |
class TrayIcon(object): <NEW_LINE> <INDENT> def __init__(self, icon_name="TestTrayIcon", icon_file=None, menu=None, activate=None): <NEW_LINE> <INDENT> if icon_file: <NEW_LINE> <INDENT> self.status_icon=Gtk.status_icon_new_from_file(icon_file) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.status_icon=Gtk.status_ic... | This is possibly the thinnest wrapper class I've written. Ever.
It's a tray icon that you can parameterize during initialisation with the
name or file of an icon, with a menu and a simple callback
It will create such an Icon, will display the image, call back the callback
when left clicked and pop up the menu when ri... | 62598fbfec188e330fdf8abc |
class Student(object): <NEW_LINE> <INDENT> def __init__(self, name): <NEW_LINE> <INDENT> self.name = name <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return 'student object (name: %s)'%self.name <NEW_LINE> <DEDENT> __repr__ = __str__ | __str__()是在print时调用的方法,重定义实现打印所需要的格式,类似C++的<<运算符重载
__repr__()是直接敲变量,打印出来的东西
operator<<(istream in, Student stu){
in << stu.name
return in;
} | 62598fbf5fcc89381b266261 |
class NoMatchError(Exception): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> Exception.__init__(self, *args, **kwargs) | Exception to be raised when no match can be found. | 62598fbf63d6d428bbee29db |
class MetricsAgeCache(ModelMixin, BaseModel): <NEW_LINE> <INDENT> __tablename__ = 'metrics_age_cache' <NEW_LINE> dateInserted = Column('date_inserted', UTCDateTime, default=datetime.utcnow(), nullable=False) <NEW_LINE> hpoId = Column('hpo_id', String(20), nullable=False) <NEW_LINE> hpoName = Column('hpo_name', String(2... | Contains age range metrics data grouped by HPO ID and date.
| 62598fbf377c676e912f6e87 |
class Parser(Parser3): <NEW_LINE> <INDENT> pass | Parser to convert Python to JavaScript.
Instantiate this class with the Python code. Retrieve the JS code
using the dump() method.
In a subclass, you can implement methods called "function_x" or
"method_x", which will then be called during parsing when a
function/method with name "x" is encountered. Several methods a... | 62598fbf99fddb7c1ca62f01 |
class Extractor(): <NEW_LINE> <INDENT> def __init__(self, blockSize=3, image=False, rawPage=''): <NEW_LINE> <INDENT> self.blockSize = blockSize <NEW_LINE> self.saveImage = image <NEW_LINE> self.rawPage = rawPage <NEW_LINE> self.ctexts = [] <NEW_LINE> self.cblocks = [] <NEW_LINE> <DEDENT> def processTags(self): <NEW_LIN... | 根据文本密度提取正文区 | 62598fbf26068e7796d4cb85 |
class StoragePropertyExpectedValueStoredEvent(StoragePropertyEvent): <NEW_LINE> <INDENT> EVENT_NAME: str = "storages.expectedPropertySaved" | Event fired by storage when property value is written to storage
@package FastyBird:MiniServer!
@module storage
@author Adam Kadlec <adam.kadlec@fastybird.com> | 62598fbf23849d37ff8512dd |
class IMERouteChanged(IMEValue, uint8_t): <NEW_LINE> <INDENT> pass | Route changed | 62598fbfa8370b77170f060b |
class TestDuration(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 testDuration(self): <NEW_LINE> <INDENT> pass | Duration unit test stubs | 62598fbfdc8b845886d537e4 |
class TestRunnerInterface: <NEW_LINE> <INDENT> def __init__(self, testrunner): <NEW_LINE> <INDENT> self.runner = testrunner <NEW_LINE> <DEDENT> def run(self, argv): <NEW_LINE> <INDENT> cf = self.runner.config <NEW_LINE> cf.flags.INTERACTIVE = True <NEW_LINE> cf.flags.DEBUG = 0 <NEW_LINE> cf.flags.VERBOSE = 0 <NEW_LINE>... | A Basic CLI interface to a TestRunner object.
Instantiate with an instance of a TestRunner.
Call the instance of this with an argv list to instantiate and run the
given tests. | 62598fbfff9c53063f51a878 |
class Cacher: <NEW_LINE> <INDENT> def __init__(self, cache_dir): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> os.makedirs(cache_dir) <NEW_LINE> <DEDENT> except OSError: <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> self.cache_dir = cache_dir <NEW_LINE> <DEDENT> def add(self, data): <NEW_LINE> <INDENT> h = hashlib.sha256... | Simple on-disk cache.
Note that as entries are stored as
individual files, the data being stored should be of significant
size (several KB) or a lot of disk space will likely be wasted. | 62598fbfaad79263cf42e9ff |
class EventFormTestCase(TestCase): <NEW_LINE> <INDENT> longMessage = True <NEW_LINE> def test_validates_and_saves_input(self): <NEW_LINE> <INDENT> self.user = UserFactory() <NEW_LINE> data = { 'title': 'Foo', 'venue': 'Bar', 'start': timezone.now(), 'end': timezone.now() + timezone.timedelta(days=11), } <NEW_LINE> form... | Tests for the ``EventForm`` form class. | 62598fbf63b5f9789fe8539c |
class CollectionForm(InvenioBaseForm): <NEW_LINE> <INDENT> id = HiddenField() <NEW_LINE> name = StringField(_('Name')) <NEW_LINE> dbquery = StringField(_('Query')) | Collecty form. | 62598fbf442bda511e95c689 |
class Utils: <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def location_matcher(cls, location_snippet, locations): <NEW_LINE> <INDENT> matched_location = '' <NEW_LINE> for location in locations: <NEW_LINE> <INDENT> if location_snippet in location: <NEW_LINE> <INDENT> print('%s setting location to: %s' % (location_snippet... | Utilities class. | 62598fbf3617ad0b5ee06372 |
@provides(IWindow) <NEW_LINE> class Window(MWindow, Widget): <NEW_LINE> <INDENT> position = Property(Tuple) <NEW_LINE> size = Property(Tuple) <NEW_LINE> title = Unicode <NEW_LINE> activated = Event <NEW_LINE> closed = Event <NEW_LINE> closing = Event <NEW_LINE> deactivated = Event <NEW_LINE> key_pressed = Event(KeyPr... | The toolkit specific implementation of a Window. See the IWindow
interface for the API documentation. | 62598fbfad47b63b2c5a7a80 |
class Lightning(pygame.sprite.Sprite): <NEW_LINE> <INDENT> def __init__(self, difficulty): <NEW_LINE> <INDENT> pygame.sprite.Sprite.__init__(self) <NEW_LINE> self.image = pygame.image.load("attackOrb1.gif") <NEW_LINE> self.image = self.image.convert() <NEW_LINE> self.rect = self.image.get_rect() <NEW_LINE> self.difficu... | The lightning class represents the player's attack. Lightning is used to destroy enemies. It is controlled
with the mouse. Some of its functions reflect the Player class' functions. | 62598fbf5fdd1c0f98e5e1bd |
class Channel(_Output, _Input): <NEW_LINE> <INDENT> def __init__(self, time, packet_loss, node_id, maximum_transmission_time): <NEW_LINE> <INDENT> if time is None: <NEW_LINE> <INDENT> raise ValueError('Parameter "time": a time abstraction object' ' expected but "None" value given!') <NEW_LINE> <DEDENT> if packet_loss i... | This class implements bidirectional communication channels for each node in
the simulated network.
The class has no members and inherits all its methods from two classes:
:class:`_Input` and :class:`_Output`.
Application message passing is implemented here as follows. First, a
message is sent locally by the :meth:`_... | 62598fbf5166f23b2e24360b |
class CarShopDetailSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> district = serializers.SerializerMethodField() <NEW_LINE> @staticmethod <NEW_LINE> def get_district(car_shop): <NEW_LINE> <INDENT> return DistrictSimpleSerializer(car_shop.district).data <NEW_LINE> <DEDENT> class Meta: <NEW_LINE> <INDENT> m... | 店铺详情序列化器 | 62598fbf76e4537e8c3ef7d1 |
class Card: <NEW_LINE> <INDENT> __slots__ = ('_rank', '_suit') <NEW_LINE> def __init__(self, rank: Rank, suit: Suit) -> None: <NEW_LINE> <INDENT> self._rank = rank <NEW_LINE> self._suit = suit <NEW_LINE> <DEDENT> def __str__(self) -> str: <NEW_LINE> <INDENT> return self.get_code() <NEW_LINE> <DEDENT> def __repr__(self)... | A card
Parameters
----------
rank : Rank
A card rank
suit : Suit
A card suit
Methods
-------
__str__()
__repr__()
__hash__()
get_rank() : Rank
Returns a card rank
get_suit() : Suit
Returns a card suit
get_code() : str
Returns a card code
get_... | 62598fbf851cf427c66b84e1 |
class Calculator(object): <NEW_LINE> <INDENT> def calculate(self, **kwargs): <NEW_LINE> <INDENT> pass | Base class of a calculator hierarchy.
NOTE: DO NOT modify this class. | 62598fbfa05bb46b3848aa97 |
class ValueMap(metaclass=_ValueMapMeta): <NEW_LINE> <INDENT> def __new__(cls, *args: object, **kwargs: object) -> 'ValueMap': <NEW_LINE> <INDENT> raise TypeError('ValueMap or derivatives cannot be instantiated.') | An ABC for classes that contain values. They cannot be instantiated.
Allows for sort of a static, immutable dict, but with attribute access.
Also kind of like an Enum, but with direct access to the value. | 62598fbf956e5f7376df5794 |
class EvaluatedNetworkSecurityGroup(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'rules_evaluation_result': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'network_security_group_id': {'key': 'networkSecurityGroupId', 'type': 'str'}, 'applied_to': {'key': 'appliedTo', 'type': 'str'}, 'matched_r... | Results of network security group evaluation.
Variables are only populated by the server, and will be ignored when sending a request.
:param network_security_group_id: Network security group ID.
:type network_security_group_id: str
:param applied_to: Resource ID of nic or subnet to which network security group is app... | 62598fbf7cff6e4e811b5c4f |
class CollapsingDispatcherMixin: <NEW_LINE> <INDENT> _event_delay = 0.2 <NEW_LINE> def dispatch_events(self, event_queue, timeout): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> event_buffer = self._event_buffer <NEW_LINE> <DEDENT> except AttributeError: <NEW_LINE> <INDENT> event_buffer = self._event_buffer = {} <NEW_LI... | This is a slight modification of watchdog's dispatch mechanism. It
buffers events in separate per-file queues. When an event is fired,
rather than being handled immediately, it is postponed for a brief
period (`_event_delay`). Within this window, further incoming events
associated with this file path are collapsed:
- ... | 62598fbffff4ab517ebcda11 |
class CopyOperationResult(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'status': {'required': True}, 'created_date_time': {'required': True}, 'last_updated_date_time': {'required': True}, } <NEW_LINE> _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'created_date_time': {'key': 'create... | Status and result of the queued copy operation.
All required parameters must be populated in order to send to Azure.
:ivar status: Required. Operation status. Possible values include: "notStarted", "running",
"succeeded", "failed".
:vartype status: str or ~azure.ai.formrecognizer.v2_1.models.OperationStatus
:ivar cr... | 62598fbf7b180e01f3e49165 |
class PhagocyteDestroyInternals(Destroy): <NEW_LINE> <INDENT> def __init__(self, node_types, probability, phagocyte_compartment, internal_compartment, healed_phagocyte_compartment=None): <NEW_LINE> <INDENT> self.phagocyte_compartment = phagocyte_compartment <NEW_LINE> self.healed_phagocyte_compartment = healed_phagocyt... | Phagocyte destroys something that is inside it. | 62598fbf56ac1b37e6302419 |
@add_printer <NEW_LINE> class BoostSharedPtr: <NEW_LINE> <INDENT> printer_name = 'boost::shared/weak_ptr/array' <NEW_LINE> version = '1.40' <NEW_LINE> template_name = ['boost::shared_array', 'boost::shared_ptr', 'boost::weak_array', 'boost::weak_ptr'] <NEW_LINE> def __init__(self, value): <NEW_LINE> <INDENT> self.typen... | Pretty Printer for boost::shared/weak_ptr/array (Boost.SmartPtr) | 62598fbf5fdd1c0f98e5e1be |
class DummyAdapter(ApiAdapter): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> super(DummyAdapter, self).__init__(**kwargs) <NEW_LINE> self.background_task_counter = 0 <NEW_LINE> if self.options.get('background_task_enable', False): <NEW_LINE> <INDENT> task_interval = float( self.options.get('bac... | Dummy adapter class for the ODIN server.
This dummy adapter implements the basic operation of an adapter including initialisation
and HTTP verb methods (GET, PUT, DELETE) with various request and response types allowed. | 62598fbf71ff763f4b5e79a8 |
class DnsClient(): <NEW_LINE> <INDENT> def __init__(self, *args): <NEW_LINE> <INDENT> addresses = ArrayList(len(args)) <NEW_LINE> for item in args: <NEW_LINE> <INDENT> addresses.add(InetSocketAddress(item[0], item[1])) <NEW_LINE> <DEDENT> self.java_obj = org.vertx.java.platform.impl.JythonVerticleFactory.createDnsClien... | Provides a way to asynchronous lookup informations from DNS-Servers. | 62598fbf4f6381625f1995d8 |
class OrderForm(forms.ModelForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Order <NEW_LINE> fields = ('name', 'email', 'phone', 'street_address', 'suburb', 'city', 'post_code', 'country') <NEW_LINE> <DEDENT> def clean(self): <NEW_LINE> <INDENT> if not self.cleaned_data.get('email', None) and not self... | Standard order information form. | 62598fbf656771135c48989c |
class StoryFindFrame(wx.Frame): <NEW_LINE> <INDENT> def __init__(self, storyPanel, app, parent = None): <NEW_LINE> <INDENT> self.storyPanel = storyPanel <NEW_LINE> self.app = app <NEW_LINE> wx.Frame.__init__(self, parent, wx.ID_ANY, title = 'Find in Story', style = wx.MINIMIZE_BOX | wx.CLOSE_BO... | This allows the user to search a StoryPanel for a string of text.
This is just a front-end to method calls on StoryPanel. | 62598fbfec188e330fdf8ac0 |
class TextSpan(Renderable): <NEW_LINE> <INDENT> def __init__(self, innertext: str): <NEW_LINE> <INDENT> self.innertext = innertext <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return f"<{self.innertext}>" | A length of text. | 62598fbf5166f23b2e24360d |
class Pix2Sky_STG(Zenithal): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(Pix2Sky_STG, self).__init__(parnames=[]) <NEW_LINE> <DEDENT> def _compute_rtheta(self, x, y): <NEW_LINE> <INDENT> return np.sqrt(x**2 + y**2) <NEW_LINE> <DEDENT> def inverse(self): <NEW_LINE> <INDENT> return Sky2Pix_STG() <NE... | STG : Stereographic Projection - pixel to sky. | 62598fbf091ae35668704e53 |
class Source(object): <NEW_LINE> <INDENT> def __init__(self, directory, hashed_files, keyrings, require_signature=True): <NEW_LINE> <INDENT> self.hashed_files = hashed_files <NEW_LINE> self._dsc_file = None <NEW_LINE> for f in hashed_files: <NEW_LINE> <INDENT> if re_file_dsc.match(f.filename): <NEW_LINE> <INDENT> if se... | Representation of a source package
| 62598fbf99fddb7c1ca62f03 |
class DiscontinuousElement(FiniteElementBase): <NEW_LINE> <INDENT> def __init__(self, element): <NEW_LINE> <INDENT> super(DiscontinuousElement, self).__init__() <NEW_LINE> self.element = element <NEW_LINE> <DEDENT> @property <NEW_LINE> def cell(self): <NEW_LINE> <INDENT> return self.element.cell <NEW_LINE> <DEDENT> @pr... | Element wrapper that makes a FInAT element discontinuous. | 62598fbf956e5f7376df5795 |
class Movie(Video): <NEW_LINE> <INDENT> def __init__(self, title, storyline, poster_image, trailer_youtube): <NEW_LINE> <INDENT> Video.__init__(self, title, storyline) <NEW_LINE> self.poster_image_url = poster_image <NEW_LINE> self.trailer_youtube_url = trailer_youtube <NEW_LINE> <DEDENT> def show_trailer(self): <NEW_L... | This class provides a way to store movie-related information.
Inherits from Video. | 62598fbf66656f66f7d5a620 |
class IPKeyBlind(IPBlind, HelperActionPress): <NEW_LINE> <INDENT> def __init__(self, device_description, proxy, resolveparamsets=False): <NEW_LINE> <INDENT> super().__init__(device_description, proxy, resolveparamsets) <NEW_LINE> self.EVENTNODE.update({"PRESS_SHORT": [1, 2], "PRESS_LONG": [1, 2]}) <NEW_LINE> <DEDENT> @... | Blind switch that raises and lowers homematic ip roller shutters or window blinds. | 62598fbfdc8b845886d537e8 |
@NS.route('/mostanswers') <NEW_LINE> class UserQuestionAnswer(Resource): <NEW_LINE> <INDENT> @cors.crossdomain(origin='*') <NEW_LINE> @jwt_required <NEW_LINE> @V2_API.doc('Question with most answers') <NEW_LINE> @V2_API.response(200, 'Success') <NEW_LINE> def get(self): <NEW_LINE> <INDENT> questions = Question.get_all(... | Most answered question | 62598fbf50812a4eaa620d00 |
class CorsItem(Item): <NEW_LINE> <INDENT> code = Field() <NEW_LINE> name = Field() <NEW_LINE> desc = Field() <NEW_LINE> mc = Field() <NEW_LINE> lecture_time_table = Field() <NEW_LINE> tutorial_time_table = Field() <NEW_LINE> exam = Field() <NEW_LINE> prerequisite = Field() <NEW_LINE> preclusion = Field() <NEW_LINE> wor... | Scrapy data structure
| 62598fbf7d847024c075c5ea |
class AlignRecords(object): <NEW_LINE> <INDENT> qname="" <NEW_LINE> rname="" <NEW_LINE> start=1 <NEW_LINE> end=1 <NEW_LINE> strand=1 <NEW_LINE> def __init__(self, alignment_record=None): <NEW_LINE> <INDENT> if alignment_record is not None: <NEW_LINE> <INDENT> self.qname=alignment_record.query_name <NEW_LINE> self.rname... | Tiny version of pysam.AlignedSegment | 62598fbfcc40096d6161a2f0 |
class BoxGUI(model.Element): <NEW_LINE> <INDENT> def __init__(self, drawers, x, y, w, h, batch, groups): <NEW_LINE> <INDENT> self.x = x <NEW_LINE> self.y = y <NEW_LINE> self.w = w <NEW_LINE> self.h = h <NEW_LINE> drawers_gui = [] <NEW_LINE> for drawer in drawers: <NEW_LINE> <INDENT> drawers_gui.append(DrawerGUI(drawer.... | Class of box objects with resizeable GUI | 62598fbfadb09d7d5dc0a7ac |
class APIC(Frame): <NEW_LINE> <INDENT> _framespec = [ EncodingSpec('encoding'), Latin1TextSpec('mime'), PictureTypeSpec('type'), EncodedTextSpec('desc'), BinaryDataSpec('data'), ] <NEW_LINE> def __eq__(self, other): <NEW_LINE> <INDENT> return self.data == other <NEW_LINE> <DEDENT> __hash__ = Frame.__hash__ <NEW_LINE> @... | Attached (or linked) Picture.
Attributes:
* encoding -- text encoding for the description
* mime -- a MIME type (e.g. image/jpeg) or '-->' if the data is a URI
* type -- the source of the image (3 is the album front cover)
* desc -- a text description of the image
* data -- raw image data, as a byte string
Mutagen w... | 62598fbf7d43ff248742751c |
class InitializerBase(abc.ABC): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __call__(self, img, band=0, dx=None, seed=None): <NEW_LINE> <INDENT> if dx is None: <NEW_LINE> <INDENT> dx = numpy.ones(img.ndim, dtype=numpy.float) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> dx =... | The abstract base class for level set initializer functions.
| 62598fbf377c676e912f6e8a |
class ChildService(Service, object): <NEW_LINE> <INDENT> log = Logger() <NEW_LINE> def __init__(self, fd, protocolFactory): <NEW_LINE> <INDENT> self.fd = fd <NEW_LINE> self.protocolFactory = protocolFactory <NEW_LINE> <DEDENT> def startService(self): <NEW_LINE> <INDENT> factory = ReportingWrapperFactory( self.protocolF... | Service for child processes. | 62598fbf57b8e32f52508235 |
class UpdateOwnStstus(permissions.BasePermission): <NEW_LINE> <INDENT> def has_object_permission(self, request, view, obj): <NEW_LINE> <INDENT> if request.method in permissions.SAFE_METHODS: <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> return obj.user_profile.id == request.user.id | Allow users to update their own profile | 62598fbf99fddb7c1ca62f04 |
class TimedBlockPublisher(BlockPublisherInterface): <NEW_LINE> <INDENT> def __init__(self, wait_time=20): <NEW_LINE> <INDENT> self._wait_time = wait_time <NEW_LINE> self._last_block_time = time.time() <NEW_LINE> <DEDENT> def initialize_block(self, block_header): <NEW_LINE> <INDENT> block_header.consensus = b"TimedDevmo... | Provides a timed block claim mechanism based on
the number of seconds since that validator last claimed
a block | 62598fc0a8370b77170f0611 |
class MssClamp(A10BaseClass): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> self.ERROR_MSG = "" <NEW_LINE> self.required=[] <NEW_LINE> self.b_key = "mss-clamp" <NEW_LINE> self.a10_url="/axapi/v3/cgnv6/lsn/tcp/mss-clamp" <NEW_LINE> self.DeviceProxy = "" <NEW_LINE> self.mss_subtract = "" <NEW_LINE... | Class Description::
LSN TCP MSS Clamping.
Class mss-clamp supports CRUD Operations and inherits from `common/A10BaseClass`.
This class is the `"PARENT"` class for this module.`
:param mss_subtract: {"description": "Specify the value to subtract from the TCP MSS (default: not configured)", "format": "number", "type": ... | 62598fc097e22403b383b138 |
class UserLoginForm(forms.Form): <NEW_LINE> <INDENT> user = forms.CharField( required=True, error_messages={'required': '用户名不能为空'} ) <NEW_LINE> pwd = forms.CharField( required=True, min_length=6, max_length=12, error_messages={'required': '密码不能为空', 'min_length': '密码长度不能小于6', 'max_length': '密码长度不能大于12'} ) | 登录表单验证 | 62598fc07b180e01f3e49167 |
class RegisterStatistics(object): <NEW_LINE> <INDENT> def __init__(self, op_type, statistic_type): <NEW_LINE> <INDENT> if not isinstance(op_type, six.string_types): <NEW_LINE> <INDENT> raise TypeError("op_type must be a string.") <NEW_LINE> <DEDENT> if "," in op_type: <NEW_LINE> <INDENT> raise TypeError("op_type must n... | A decorator for registering the statistics function for an op type.
This decorator is very similar to the RegisterShapes class, and can be defined
for an op type so that it gives a report on the resources used by an instance
of an operator, in the form of an OpStats object.
Well-known types of statistics include thes... | 62598fc05fdd1c0f98e5e1c2 |
class ProductDomain(RandomDomain): <NEW_LINE> <INDENT> is_ProductDomain = True <NEW_LINE> def __new__(cls, *domains): <NEW_LINE> <INDENT> symbols = sumsets([domain.symbols for domain in domains]) <NEW_LINE> domains2 = [] <NEW_LINE> for domain in domains: <NEW_LINE> <INDENT> if not domain.is_ProductDomain: <NEW_LINE> <I... | A domain resulting from the merger of two independent domains
See Also
========
sympy.stats.crv.ProductContinuousDomain
sympy.stats.frv.ProductFiniteDomain | 62598fc0cc40096d6161a2f1 |
class GetFileMetadataByExprResult(object): <NEW_LINE> <INDENT> def __init__(self, metadata=None, isSupported=None,): <NEW_LINE> <INDENT> self.metadata = metadata <NEW_LINE> self.isSupported = isSupported <NEW_LINE> <DEDENT> def read(self, iprot): <NEW_LINE> <INDENT> if iprot._fast_decode is not None and isinstance(ipro... | Attributes:
- metadata
- isSupported | 62598fc097e22403b383b139 |
class ApiConfigRegistry(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.__registered_classes = set() <NEW_LINE> self.__api_configs = set() <NEW_LINE> self.__api_methods = {} <NEW_LINE> <DEDENT> def register_backend(self, config_contents): <NEW_LINE> <INDENT> if config_contents is None: <NEW_LI... | Registry of active APIs to be registered with Google API Server. | 62598fc063b5f9789fe853a2 |
class SyncManager: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.server_address = "" <NEW_LINE> self.username = "" <NEW_LINE> self.password = "" <NEW_LINE> self.certificate = "" <NEW_LINE> self.certificate_file = None <NEW_LINE> self.sync = None <NEW_LINE> <DEDENT> def __del__(self): <NEW_LINE> <INDE... | Synchronization manager. This initializes and stores settings and handles the Sync object. | 62598fc04f6381625f1995da |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.