text
string
label
int64
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_SCHEDULE = "schedule"
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'strip_space@libc/kernel/tools/cpp.py', 'description': 'Strip out redundant space in a given string.', 'signature': 'def strip_space(s):'}</s>tokMULTIPLY = "*"
0
{'name': 'PBES1.decrypt@blockchain-env/lib/python3.7/site-packages/Cryptodome/IO/_PBES.py', 'description': 'Decrypt a piece of data using a passphrase and *PBES1*.\n\nThe algorithm to use is automatically detected.\n\n:Parameters:\n data : byte string\n The piece of data to decrypt.\n passphrase : byte string\n ...
0
{'name': 'ParserElement.runTests@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Execute the parse expression on a series of test strings, showing each\ntest, the parsed results or where the parse failed. Quick and easy way to\nrun a parse expression against a list of sample strings.\n \nP...
0
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRO_ACCEPT_UNSUP_IF_XMIT_MASK = 261888
0
{'name': 'transform@cpca/__init__.py', 'description': '将地址描述字符串转换以"省","市","区"信息为列的DataFrame表格\nArgs:\n locations:地址描述字符集合,可以是list, Series等任意可以进行for in循环的集合\n 比如:["徐汇区虹漕路461号58号楼5楼", "泉州市洛江区万安塘西工业区"]\n index:可以通过这个参数指定输出的DataFrame的index,默认情况下是range(len(data))\n pos_sensitive:如果为True则会多返回三列,分别提取出的省市...
0
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>{'name': 'takeDayImage@source/pi-timolo.py', 'description': 'Take a Day image using exp=auto and awb=auto', 'code': 'def takeDayImage(filename, cam_sleep_time):\n ...
1
{'name': 'eval_one_epoch@sem_seg/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>{'name': 'get_learning_rate@sem_seg/train.py', 'description': 'DOCSTRING', 'code': 'def get_learning_rate(batch):\n learning_rate = tf.train.exponentia...
0
{'name': 'test_symbolic_regressor@gplearn/tests/test_examples.py', 'description': 'Check that SymbolicRegressor example works', 'signature': 'def test_symbolic_regressor():'}</s>{'name': 'test_classifier_comparison@gplearn/tests/test_examples.py', 'description': 'Test the classifier comparison example works', 'code': '...
0
{'name': 'Session.prepare_request@src/requests/sessions.py', 'description': "Constructs a :class:`PreparedRequest <PreparedRequest>` for\ntransmission and returns it. The :class:`PreparedRequest` has settings\nmerged from the :class:`Request <Request>` instance and those of the\n:class:`Session`.\n\n:param request: :cl...
0
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'skipIfWindowsAndNonEngli...
0
{'name': 'SentencePredictionTask.load_dataset@fairseq/tasks/sentence_prediction.py', 'description': 'Load a given dataset split (e.g., train, valid, test).', 'signature': 'def load_dataset(self, split, combine=False, **kwargs):'}</s>{'name': 'infer_language_pair@fairseq/data/data_utils.py', 'description': 'Infer langua...
0
{'name': 'CheckStyle@scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n ...
0
{'name': 'SAASOperator.update_odoo@saas_demo/models/saas_operator.py', 'description': 'Fetch and checkout Repository', 'signature': 'def update_odoo(self):'}</s>{'name': 'update_repo@saas_demo/os.py', 'description': 'DOCSTRING', 'code': "def update_repo(path, repo_url, branch):\n if not os.path.isdir(os.path.join(pa...
0
{'name': 'logkv_mean@qbert/logger.py', 'description': 'The same as logkv(), but if called many times, values averaged.', 'signature': 'def logkv_mean(key, val):'}</s>{'name': 'logkvs@qbert/logger.py', 'description': 'Log a dictionary of key-value pairs', 'code': 'def logkvs(d):\n """\n Log a dictionary of key-val...
0
{'name': 'restart@hokusai/cli/review_app.py', 'description': "Alias for 'refresh'", 'signature': 'def restart(app_name, deployment, verbose):'}</s>HOKUSAI_CONFIG_DIR = "hokusai"
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCNO_VERSION_7 = 7
0
{'name': 'main@examples/python/mcc172/multi_hat_synchronous_scan.py', 'description': 'This function is executed automatically when the module is run directly.', 'signature': 'def main(): # pylint: disable=too-many-locals, too-many-statements, too-many-branches'}</s>{'name': 'get_iepe@examples/python/mcc172/multi_hat_sy...
1
{'name': 'shelve@ring/func/sync.py', 'description': "Python :mod:`shelve` based cache.\n\n:param shelve.Shelf shelf: A shelf storage. See :mod:`shelve` to create\n a shelf.\n\n >>> shelf = shelve.open('shelve')\n >>> @ring.shelve(shelf, ...)\n ... ...\n\n:see: :mod:`shelve` for the backend.\n:see: :func...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'MinCostPerfectMatchingSolver.forward@blackbox_backprop/perfect_matching.py', 'description': ':param ctx: context for backpropagation\n:param weights: torch.Tensor [batch_size, len(edges)] - suggested edge weights\n:param lambda_val (float): hyperparameter lambda\n:param num_vertices (int): number of vertices ...
1
{'name': 'CScript.raw_iter@test/functional/test_framework/script.py', 'description': 'Raw iteration\n\nYields tuples of (opcode, data, sop_idx) so that the different possible\nPUSHDATA encodings can be accurately distinguished, as well as\ndetermining the exact opcode byte indexes. (sop_idx)', 'signature': 'def raw_ite...
0
{'name': 'lift_job@maf/impl/naiveLiftUp.py', 'description': "Lift this genome's blocks file to another genome.", 'signature': 'def lift_job(job, up_or_down, genome, other_genome, blocks_id, hal_id, opts):'}</s>{'name': 'concatenate_job@maf/impl/naiveLiftUp.py', 'description': 'This job just concatenates the input files...
1
{'name': 'process_inspq_data@refreshdata.py', 'description': 'Processes new INSPQ data.\n\nParameters\n----------\nsources_dir : str\n Absolute path to source data dir.\nprocessed_dir : str\n Absolute path to processed data dir.\ndate : str\n Date of data to append (yyyy-mm-dd).', 'signature': 'def process_ins...
0
{'name': 'make_app@cesium_app/app_server.py', 'description': "Create and return a `tornado.web.Application` object with specified\nhandlers and settings.\n\nParameters\n----------\ncfg : Config\n Loaded configuration. Can be specified with '--config'\n (multiple uses allowed).\nbaselayer_handlers : list\n Tor...
0
{'name': 'TextAccessor.cat@fletcher/string_array.py', 'description': 'Concatenate strings in the Series/Index with given separator.\n\nIf `others` is specified, this function concatenates the Series/Index\nand elements of `others` element-wise.\nIf `others` is not passed, then all values in the Series/Index are\nconcat...
0
{'name': 'FeatureMapsSpecification.get_dummy_input@pytorch_toolbelt/modules/interfaces.py', 'description': 'Returns dummy input for this feature map specification\n:return: Dummy input tensor', 'signature': 'def get_dummy_input(self, device=None, image_size=(640, 512)) -> List[Tensor]:'}</s>{'name': 'HasInputFeaturesSp...
0
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'remove_slug@pages/phttp.py', 'description': "Return the remainin part of the path\n\n >>> remove_slug('/test/some/function/')\n test/some", 'signature': 'def remove_slug(path):'}</s>extra = [ ('can_freeze', 'Can freeze page',), ('can_publish', 'Can publish page',), ]
0
{'name': 'field_rgb@grizli/pipeline/auto_script.py', 'description': "RGB image of the field mosaics\n\nParameters\n----------\n\nroot : str\n Field rootname\n\nxsize : float\n Figure size\n\noutput_dpi : int\n Figure DPI\n\nHOME_PATH : str\n Path to look for mosaic files\n\nshow_ir : bool\n Clip around W...
0
{'name': 'test_v05x_v06x_conversion_structure@echopype/tests/echodata/test_echodata_version_convert.py', 'description': 'Tests that version 0.5.x echopype files\nhave been correctly converted to the\n0.6.x structure.', 'signature': 'def test_v05x_v06x_conversion_structure(azfp_path, ek60_path, ek80_path):'}</s>{'name':...
1
{'name': 'abortMission@WAF/WAF-Enhanced-Replicator/waffun.py', 'description': 'Closes the log and template files, throws an error message and exits with -1.', 'signature': 'def abortMission(logFile, templateFile, apiCall):'}</s>versionBuild = "Build Date 2019-05-27"
0
{'name': 'myDataset.__init__@load_data_V2.py', 'description': 'Args:\n img_dir (string ): Directory with all the images.\n tar_dir (string ): Path to the annotations.\n transform (callable, optional): Optional transform to be applied\n on a sample.', 'signature': 'def __init__(self, img_dir,tar_dir, rgb...
1
{'name': 'site_f1_score2@detectree2/models/evaluation.py', 'description': 'Calculating all the intersections of shapes in a pair of files and the\narea of the corresponding polygons.\n\nArgs:\n tile_directory: path to the folder containing all of the tiles\n test_directory: path to the folder containing just the ...
1
{'name': 'data_generator.__iter__@examples/task_reading_comprehension_by_seq2seq.py', 'description': '单条样本格式:[CLS]篇章[SEP]问题[SEP]答案[SEP]\n ', 'signature': 'def __iter__(self, random=False):'}</s>{'name': 'open@bert4keras/snippets.py', 'description': '模仿python自带的open函数\n作用:1.主要是为了同时兼容py2和py3;2.增加了索引功能,方便读取大文件。', '...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_FLUSH_GLOBAL = 2
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXCC_SKIP_FUNCTION = py23long(-2)
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>_doc = "List of flowlines ready to be run by the model."
0
{'name': 'csaps@csaps/_shortcut.py', 'description': "Smooths the univariate/multivariate/gridded data or computes the corresponding splines\n\nThis function might be used as the main API for smoothing any data.\n\nParameters\n----------\n\nxdata : np.ndarray, array-like\n The data sites ``x1 < x2 < ... < xN``:\n ...
1
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_chSTREAM_READS_PER_SECOND = 4109
0
{'name': 'notify@src/workflow/notify.py', 'description': 'Post notification via Notify.app helper.\n\nArgs:\n title (str, optional): Notification title.\n text (str, optional): Notification body text.\n sound (str, optional): Name of sound to play.\n\nRaises:\n ValueError: Raised if both ``title`` and ``tex...
1
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>mako_view = functools.par...
0
{'name': 'Puzzle.winner@puzzlemaker/puzzle.py', 'description': 'Find the winner of the puzzle based on the move sequence\n ', 'signature': 'def winner(self) -> Optional[str]:'}</s>MIN_PLAYER_MOVES = 2
0
{'name': 'startInstance@BlendNet/providers/gcp/__init__.py', 'description': 'Start stopped instance with specified name', 'signature': 'def startInstance(instance_name):'}</s>{'name': 'checkDependencies@BlendNet/providers/gcp/__init__.py', 'description': 'DOCSTRING', 'code': 'def checkDependencies(settings):\n if no...
0
{'name': 'draw_moist_adiabat@pymeteo/skewt.py', 'description': 'Plot moist adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates moist adiabats\nand plots these lines. Adiabats are calculated for\nvalues of T at 1000mb from -15 to 45 C every 5 C b...
0
{'name': 'chaossChangeRequestsAccepted@python_v2/metrics/chaoss.py', 'description': '_summary_\n\nArgs:\n config (QueryConfig): _description_', 'signature': "def chaossChangeRequestsAccepted(config: QueryConfig, mode='outer') -> (List,str):"}</s>{'name': 'chaossUserActiveDatesAndTimes@python_v2/metrics/chaoss.py', '...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_NESTED_BAG_NOT_SUPPORTED = 2325
0
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No...
0
{'name': 'Diagram.ba@discopy/grammar/categorial.py', 'description': 'Backward application. ', 'signature': 'def ba(left, right):'}</s>{'name': 'to_rigid@discopy/closed.py', 'description': 'DOCSTRING', 'code': 'def to_rigid(self):\n from discopy import rigid\n\n return Functor(\n ob=lambda x: rigid.Ty(x.ins...
0
{'name': 'init@chaostoolkit/commands/init.py', 'description': 'Initialize a new experiment from discovered capabilities.', 'signature': 'def init('}</s>{'name': 'add_activities@chaostoolkit/commands/init.py', 'description': 'Add activities to the given pool.', 'code': 'def add_activities(\n activities: List[Activity...
1
{'name': 'test_am_allowed_package_names@sphinx_automodapi/tests/test_automodsumm.py', 'description': 'Test that allowed_package_names is interpreted correctly.', 'signature': 'def test_am_allowed_package_names(options, expect, tmpdir):'}</s>ORDEREDDICT_RST = """ :orphan: OrderedDict =========== .. currentmodule:: sph...
1
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'SendClient._on_message_sent@uamqp/client.py', 'description': "Callback run on a message send operation. If message\nhas a user defined callback, it will be called here. If the result\nof the operation is failure, the message state will be reverted\nto 'pending' up to the maximum retry count.\n\n:param message...
0
{'name': 'MockBlueDot.mock_client_connected@bluedot/mock.py', 'description': "Simulates a client connecting to the Blue Dot.\n\n:param string client_address:\n The mock client mac address, defaults to '11:11:11:11:11:11'", 'signature': 'def mock_client_connected(self):'}</s>{'name': 'BlueDot@bluedot/dot.py', 'descri...
0
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
0
{'name': 'Client.__init__@python-sdk/pachyderm_sdk/client.py', 'description': "Creates a Pachyderm client.\n\nParameters\n----------\nhost : str, optional\n The pachd host. Default is 'localhost', which is used with\n ``pachctl port-forward``.\nport : int, optional\n The port to connect to. Default is 30650.\n...
1
{'name': 'convert_date@plugin.video.realizerx/resources/lib/api/tvdbapi.py', 'description': 'Convert a thetvdb date string into a datetime.date object.', 'signature': 'def convert_date(date_string):'}</s>{'name': 'appearance@plugin.image.premiumizer/resources/lib/modules/control.py', 'description': 'DOCSTRING', 'code':...
0
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi...
0
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>ICON_ZONE_OFF = "mdi:valve-closed"
0
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'ClsDlg2D@picasso/gui/render.py', 'description': 'A class to cluster picked locs wit...
0
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': 'Record.body_string@shingetsu/cache.py', 'description': 'Remove attach field.', 'signature': 'def body_string(self):'}</s>node = run_dir + "/node.txt"
0
{'name': 'LoginAuthView.form_valid@uniauth_saml2_idp/views.py', 'description': 'Security check complete. Log the user in.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'get_client_id@uniauth_saml2_idp/utils.py', 'description': 'DOCSTRING', 'code': "def get_client_id(request):\n x_forwarded_for = request....
0
{'name': 'AVLTree.balance_factor@algorithms/c02_tree/avl_tree.py', 'description': '获取平衡因子', 'signature': 'def balance_factor(self, node: TreeNode | None) -> int:'}</s>{'name': 'TreeNode@algorithms/models/tree_node.py', 'description': '二叉树节点类', 'base_classes': [], 'methods': [{'name': 'TreeNode.__init__@algorithms/model...
1
{'name': 'INFO@lib/charliecloud.py', 'description': 'Note: Use print() for output; this function is for logging.', 'signature': 'def INFO(msg, hint=None, **kwargs):'}</s>log_festoon = False
0
{'name': 'get_power_equipment_electrical@redfish_utilities/power_equipment.py', 'description': 'Finds an outlet or circuit for an instance of power equipment and returns its resource\n\nArgs:\n context: The Redfish client object with an open session\n power_equipment_type: The power equipment type to get; see pow...
1
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name...
0
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i...
0
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie...
0
{'name': 'Unit.has_equivalent@unyt/unit_object.py', 'description': "Check to see if this unit object as an equivalent unit in *equiv*.\n\nExample\n-------\n>>> from unyt import km\n>>> km.has_equivalent('spectral')\nTrue\n>>> km.has_equivalent('mass_energy')\nFalse", 'signature': 'def has_equivalent(self, equiv):'}</s>...
0
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_path_with_integer_dict_key@voluptuous/tests/tests.py', 'description': 'Not obvious case with dict having not strings,...
0
{'name': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>{'name': 'CallableStyleSheet@rst2pdf/styles.py', 'description': 'Useful for ...
0
{'name': 'dashboard_list_tagged@tessera-server/tessera/views_api.py', 'description': 'Listing for a set of dashboards with a tag applied. Returns just\nthe metadata, not the definitions.', 'signature': 'def dashboard_list_tagged(tag):'}</s>{'name': 'Presentation@tessera-server/tessera/client/api/model.py', 'description...
0
{'name': 'get_dir@util/io.py', 'description': 'return the directory it belongs to.\nif path is a directory itself, itself will be return ', 'signature': 'def get_dir(path):'}</s>SIZE_UNIT_G = SIZE_UNIT_K ** 3
0
{'name': 'add_children@parenting.py', 'description': 'Adds parent-child relationships to sequences\nArguments:\n parent_sequence: VSE Sequence to set as the parent\n child_sequences: List of VSE Sequence objects to set as children', 'signature': 'def add_children(parent_sequence, child_sequences):'}</s>{'name': '...
0
{'name': 'RKAdaptiveStepsizeODESolver._interp_fit@torchdiffeq/_impl/rk_common.py', 'description': 'Fit an interpolating polynomial to the results of a Runge-Kutta step.', 'signature': 'def _interp_fit(self, y0, y1, k, dt):'}</s>{'name': 'rk3_step_func@torchdiffeq/_impl/rk_common.py', 'description': 'butcher_tableu shou...
0
{'name': 'Broker.trade@tradingbot/components/broker/broker.py', 'description': 'Request a trade of the given market', 'signature': 'def trade('}</s>{'name': 'MarketMACD@tradingbot/interfaces/market_macd.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'MarketMACD.__init__@tradingbot/interfaces/...
0
{'name': 'civis_file_to_table@src/civis/io/_tables.py', 'description': 'Upload the contents of one or more Civis files to a Civis table.\nAll provided files will be loaded as an atomic unit in parallel, and\nshould share the same columns in the same order, and be in the same\nformat.\n\n.. note::\n The input Civis f...
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=...
0
{'name': '_compute_batch_indices@nematus/beam_search_sampler.py', 'description': "Generates a matrix of batch indices for the 'merged' beam tensor.\n\nEach index denotes the batch from which the sequence occupying the same\nrelative position as the index within the 'merged' tensor belongs.", 'signature': 'def _compute_...
0
{'name': 'L2XTextExplainer._fit_one@lightautoml/addons/interpretation/l2x.py', 'description': "Args:\n col_to_explain: Explaining column.\n train_data: Dataset for training.\n train_preds: AutoML's (or any different model) predictions\n for train dataset.\n valid_data: Dataset for validation.\n va...
1
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIAUT_NONE = b' '
0
{'name': 'Record.to_dataframe@wfdb/io/record.py', 'description': 'Create a dataframe containing the data from this record.\n\n\nReturns\n-------\nA dataframe, with sig_name in the columns. The index is a DatetimeIndex\nif both base_date and base_time were set, otherwise a TimedeltaIndex.', 'signature': 'def to_datafram...
0
{'name': 'init_pairing_fock@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'initializes the Fock matrix of the pairing model\n\nparam delta: Single-particle spacing, as in Eq. (8.41)\nparam g: pairing strength, as in eq. (8.42)\nparam pnum: number of particle states\nparam hnum: number of hole states\n\...
0
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im...
0
{'name': 'net_solve@spicepy/netsolve.py', 'description': ':param net:\n:return:', 'signature': 'def net_solve(net):'}</s>{'name': 'pulse@spicepy/transient_sources.py', 'description': 'PULSE provides a pulse according to this scheme:\n * t < Td ==> V1\n * Td < t < Td + Tr ==> linear ramp from V1 to V2\n * Td +...
0
{'name': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'import_graphite_dashboards@tessera-server/tasks.py', 'description': 'Import dashboards from a Graphite vanilla dashboard.', 'signature': 'def import_graphite_dashboards('}</s>{'name': 'copy@tessera-server/tasks.py', 'description': 'Copy a dashboard (via API) between two running Tessera instances.\n\n:param st...
0
{'name': 'Environment.compile_expression@third_party/dawn/third_party/jinja2/environment.py', 'description': 'A handy helper method that returns a callable that accepts keyword\narguments that appear as variables in the expression. If called it\nreturns the result of the expression.\n\nThis is useful if applications w...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'fpPlusZero@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point +0.0 term.', 'code': 'def fpPlus...
0
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ...
0
{'name': 'model_directory@httpstan/cache.py', 'description': "Get the path to a model's directory. Directory may not exist.", 'signature': 'def model_directory(model_name: str) -> Path:'}</s>{'name': 'fit_path@httpstan/cache.py', 'description': 'Get the path to a fit file. File may not exist.', 'code': 'def fit_path(fi...
0
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>ATTR_DURATION = "duration"
0