text
string
label
int64
{'name': 'Application.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.', 'signature': 'def __init__(self, title="Explorer", width=1024, height=768):'}</s>_FREE_LOOK = user_input.KEY_ESCAPE
0
{'name': 'Kubectl.get_object@hokusai/services/kubectl.py', 'description': 'run kubectl get <object> ', 'signature': 'def get_object(self, obj):'}</s>{'name': 'unlink_file_if_not_debug@hokusai/lib/common.py', 'description': 'if DEBUG is off, unlink specified file ', 'code': "def unlink_file_if_not_debug(path):\n ''' if...
0
{'name': 'getCameraParametersFromExif@cameratransform/camera.py', 'description': 'Try to extract the intrinsic camera parameters from the exif information.\n\nParameters\n----------\nfilename: basestring\n the filename of the image to load.\nverbose: bool\n whether to print the output.\nsensor_from_database: boo...
0
{'name': 'SessionRedirectMixin.rebuild_proxies@src/requests/sessions.py', 'description': 'This method re-evaluates the proxy configuration by considering the\nenvironment variables. If we are redirected to a URL covered by\nNO_PROXY, we strip the proxy configuration. Otherwise, we set missing\nproxy keys for this URL (...
0
{'name': 'attention_layer@baselines/models/roberta/modeling.py', 'description': 'Performs multi-headed attention from `from_tensor` to `to_tensor`.\n\nThis is an implementation of multi-headed attention based on "Attention\nis all you Need". If `from_tensor` and `to_tensor` are the same, then\nthis is self-attention. E...
0
{'name': 'import_experimental_data@mne_bids_pipeline/_import_data.py', 'description': 'Run the data import.\n\nParameters\n----------\ncfg\n The local configuration.\nbids_path_in\n The BIDS path to the data to import.\nbids_path_bads_in\n The BIDS path to the bad channels file.\ndata_is_rest : bool | None\n ...
0
{'name': 'Test.test_MOD09Q1@tests/test_imagecollection.py', 'description': 'Test the image collection module for MOD09Q1', 'signature': 'def test_MOD09Q1(self):'}</s>{'name': 'getTimeSeriesByRegions@eemont/imagecollection.py', 'description': "Gets the time series by regions for the given image collection and feature\nc...
0
{'name': 'atomic_writer@src/workflow/util.py', 'description': 'Atomic file writer.\n\n.. versionadded:: 1.12\n\nContext manager that ensures the file is only written if the write\nsucceeds. The data is first written to a temporary file.\n\n:param fpath: path of file to write to.\n:type fpath: ``unicode``\n:param mode: ...
0
{'name': 'Point.__init__@PythonCode/adk/fortune.py', 'description': 'p is a tuple (x,y).', 'signature': 'def __init__(self, p, idx = None):'}</s>{'name': 'Arc@PythonCode/adk/fortune.py', 'description': 'Every interior node represents breakpoint between neighboring \nsites. If an interior node has two leaf nodes for chi...
0
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>{'name': 'query_repos_cached@github_scanner.py', 'description': 'DOCSTRING', 'code': 'def que...
0
{'name': 'git_push_if_needed@src/oca_github_bot/github.py', 'description': 'Push current HEAD to remote branch.\n\nReturn True if push succeeded, False if there was nothing to push.\nRaises a celery Retry exception in case of non-fast-forward push.', 'signature': 'def git_push_if_needed(remote, branch, cwd=None):'}</s>...
0
{'name': 'complete@cartridge/shop/views.py', 'description': 'Redirected to once an order is complete - pass the order object\nfor tracking items via Google Anayltics, and displaying in\nthe template if required.', 'signature': 'def complete(request, template="shop/complete.html", extra_context=None):'}</s>{'name': 'sen...
0
{'name': 'Function.get_parameters@sqlparse/sql.py', 'description': 'Return a list of parameters.', 'signature': 'def get_parameters(self):'}</s>Assignment = Token.Assignment
0
{'name': '_makeTags@scripts/pdns/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'TokenConverter@scripts/pdns/lib/python2.7/site-packages/pkg_reso...
0
{'name': '_create_p2p_link_worker@src/evengsdk/cli/lab/commands.py', 'description': 'Worker for Thread Executor to create p2p links', 'signature': 'def _create_p2p_link_worker(link: Dict, path: str, tasks: List) -> None:'}</s>{'name': 'read@src/evengsdk/cli/lab/commands.py', 'description': 'Get EVE-NG lab details\n\n\x...
0
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'EnumDeclaration@baseline_tokenization/javalang/tree.py', 'de...
0
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'show_args_as_co...
0
{'name': 'plot_fig@Abnormal Curve/plot_paper.py', 'description': '绘制图形\n:param x: x轴的间隔\n:param y: y轴的间隔\n:param n: 直线的条数\n:param s: 图片的大小\n:param a_c: 坐标轴的颜色\n:param c_c: 连线的颜色\n:return: 图像', 'signature': "def plot_fig(x, y, n, s=7, a_c='k', c_c='b'):"}</s>{'name': 'fit_func@Abnormal Curve/plot_paper.py', 'description...
1
{'name': 'process_value@rivalcfg/handlers/rgbgradientv2.py', 'description': 'Called by the :class:`rivalcfg.mouse.Mouse` class when processing a\n"rgbgradientv2" type setting.\n\n:param dict setting_info: The information dict of the setting from the\n device profile.\n:param str,tuple,list,dict...
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>MQOT_REMOTE_Q = 1005
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'skipUnlessDarwin@llvm-project/ll...
0
{'name': '_create_p2p_link_worker@src/evengsdk/cli/lab/commands.py', 'description': 'Worker for Thread Executor to create p2p links', 'signature': 'def _create_p2p_link_worker(link: Dict, path: str, tasks: List) -> None:'}</s>{'name': '_get_lab_folder@src/evengsdk/cli/lab/commands.py', 'description': 'Get labs from nes...
0
{'name': 'Bootstrap.compute_children_sql@operations.py', 'description': 'Compute the children on resampled data in SQL.', 'signature': 'def compute_children_sql('}</s>{'name': 'Bootstrap@operations.py', 'description': 'Class for Bootstrap estimates of standard errors.\n\nAttributes:\n unit: The column representing the...
1
{'name': 'validate_locations@folium/utilities.py', 'description': 'Validate an iterable with lat/lon coordinate pairs.', 'signature': 'def validate_locations(locations: TypeLine) -> List[List[float]]:'}</s>{'name': 'escape_double_quotes@folium/utilities.py', 'description': 'DOCSTRING', 'code': 'def escape_double_quotes...
0
{'name': 'update_files@tools/regression.py', 'description': 'Save current status as reference for the next run\n\n- Remove all *.txt files\n- Rename *.2.txt -> *.txt', 'signature': 'def update_files():'}</s>COLOR_GREEN = ";32"
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>MQIACF_CF_STRUC_BACKUP_SIZE = 1144
0
{'name': 'test_empty_string_with_url@tests/test_bare.py', 'description': 'Originally for https://github.com/mverleg/pyjson_tricks/issues/51 ', 'signature': 'def test_empty_string_with_url():'}</s>{'name': 'test_float_precision@tests/test_bare.py', 'description': 'DOCSTRING', 'code': "def test_float_precision():\n\tjson...
0
{'name': 'Runner.test_gif@auto_editor/cmds/test.py', 'description': 'Feed auto-editor a gif file and make sure it can spit out a correctly formatted\ngif. No editing is requested.', 'signature': 'def test_gif(self):'}</s>{'name': 'initFileInfo@auto_editor/ffwrapper.py', 'description': 'DOCSTRING', 'code': 'def initFile...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFTM_UDP_SINGLE = 7
0
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>HAS_BEEN_DEFEATED = [4311]
0
{'name': 'split_header_words@Contents/Libraries/Shared/ss/mechanize/_headersutil.py', 'description': 'Parse header values into a list of lists containing key,value pairs.\n\nThe function knows how to deal with ",", ";" and "=" as well as quoted\nvalues after "=". A list of space separated tokens are parsed as if they\...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
0
{'name': 'textures_locate_cmd@cjio/cjio.py', 'description': 'Output the location of the texture files.', 'signature': 'def textures_locate_cmd():'}</s>{'name': 'textures_update_cmd@cjio/cjio.py', 'description': 'Update the location of the texture files.\nCan be used if the texture files were moved to new directory.', '...
0
{'name': 'smart_query@sqlalchemy_mixins/smartquery.py', 'description': "Does magic Django-ish joins like post___user___name__startswith='Bob'\n (see https://goo.gl/jAgCyM)\nDoes filtering, sorting and eager loading at the same time.\nAnd if, say, filters and sorting need the same joinm it will be done\n only one. That'...
1
{'name': 'L2Stump.__init__@gradient-boosting/notebooks/support.py', 'description': 'We train on the (X,residual) but only to get\nthe regions in the leaves with y_i. Then we grab mean\nof residual, y_i - F_{m-1}, in that region.\nSplit determined using DecisionTreeRegressor to mirror L1Stump.', 'signature': 'def __init...
1
{'name': 'serialise_key@amulet_map_editor/api/wx/util/key_config.py', 'description': 'Get the serialised version of the key that was pressed/released.', 'signature': 'def serialise_key(evt: Union[wx.KeyEvent, wx.MouseEvent]) -> Optional[KeyType]:'}</s>Subtract = "SUBTRACT"
0
{'name': 'TestBrierScore.test@verif/tests/test_metric.py', 'description': "These have been checked against the Brier scores in the verification R package. The 'bins'\nattribute was set to False, and the code had to be changed because it didn't work for cases\nwhere forecasts were not equal to whole 1/10ths (i.e. 0.1, 0...
0
{'name': 'IPDatabase.generate_vsim_tcl@ipstools/ipstools/IPDatabase.py', 'description': "Exports the `vsim.tcl` script.\n\n :param filename: Output TCL script file name.\n :type filename: str\n\n :param source: 'ips' or 'rtl'\n :type source: str\n\nThis function exports the `vs...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSMPO_SET_PROP_AFTER_CURSOR = 2
0
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'name': 'Sheet.header_props@tksheet/sheet.py', 'description': 'Retrieve options (properties - props)\nfrom a cell in the header', 'signature': 'def header_props('}</s>{'name': 'add_to_options@tksheet/functions.py', 'description': 'DOCSTRING', 'code': 'def add_to_options(\n options: dict,\n coords: int | tuple[in...
0
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'createInstanceAgent@BlendNet/providers/aws/__init__.py', 'description': 'Creating a new instance for BlendNet Agent', 'signature': 'def createInstanceAgent(cfg):'}</s>{'name': '_executeAwsTool@BlendNet/providers/aws/__init__.py', 'description': 'Runs the aws tool and returns code and data as tuple, data will ...
1
{'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': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>{'name': 'DvzRequestCull@datoviz/__i...
0
{'name': 'TestRequestViewerHook.test_deal_with_pecan_configs@pecan/tests/test_hooks.py', 'description': 'If config comes from pecan.conf convert it to dict', 'signature': 'def test_deal_with_pecan_configs(self):'}</s>{'name': 'TestStateAccessWithoutThreadLocals@pecan/tests/test_hooks.py', 'description': 'DOCSTRING', 'b...
0
{'name': 'Metar._handlePressure@metar/Metar.py', 'description': 'Parse an altimeter-pressure group.\n\nThe following attributes are set:\n press [int]', 'signature': 'def _handlePressure( self, d ):'}</s>{'name': 'distance@metar/Datatypes.py', 'description': 'A class representing a distance value.', 'base_classes...
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': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ...
0
{'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': 'CalculateCTD@PyBioMed/PyProtein/CTD.py', 'description': '###############################################################################################\nCalculate all CTD descriptors based seven different properties of AADs.\n\nUsage:\n\nresult=CalculateCTD(protein)\n\nInput:protein is a pure protein sequenc...
1
{'name': 'test_admin_works_with_host_special_values@test/io/test_io.py', 'description': 'Should get a success from the admin live and ready endpoints when using special host values for the main app', 'signature': 'def test_admin_works_with_host_special_values(specialhostvalue, defaultenv):'}</s>{'name': 'test_db_prepar...
0
{'name': 'variantCallSamFileTargetFn@src/margin/marginCallerLib.py', 'description': 'Collates the posterior probabilities and calls SNVs for each reference base.\n ', 'signature': 'def variantCallSamFileTargetFn(target, samFile, referenceFastaFile, '}</s>{'name': 'AlignedPair@src/margin/utils.py', 'description': 'Re...
0
{'name': 'run@slim/datasets/download_and_convert_mnist.py', 'description': 'Runs the download and conversion operation.\n\nArgs:\n dataset_dir: The dataset directory where the dataset is stored.', 'signature': 'def run(dataset_dir):'}</s>RAW_TUMOR_DATA_DIR = RAW_DATA_DIR + "Train_Tumor/"
0
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry...
0
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>Id = Diagram.id
0
{'name': 'merge_entries@contrib/mbedtls/scripts/assemble_changelog.py', 'description': 'Merge changelog entries into the changelog file.\n\nRead the changelog file from options.input.\nCheck that all entries have a .txt extension\nRead entries to merge from the directory options.dir.\nWrite the new changelog to options...
0
{'name': 'get_config_values@databricks-adx-integration/src/code/functions/adxingesterrorhandler/__app__/errorhandler/__init__.py', 'description': 'Get Config setting from predefined varialbes or environment parameters. ', 'signature': 'def get_config_values() -> None:'}</s>{'name': 'move_blob_file@databricks-adx-integr...
0
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>make_semver = semver
0
{'name': 'Life360Scanner.__init__@custom_components/life360/device_tracker.py', 'description': 'Initialize Life360Scanner.', 'signature': 'def __init__(self, hass, config, see, interval, home_place_name, api):'}</s>DEFAULT_FILENAME = "life360.conf"
0
{'name': 'SelectionPanel.remove_function@tools/ipp_custom_library_tool_python/gui/selection_panel.py', 'description': 'Removes function from left list', 'signature': 'def remove_function(self, function):'}</s>OPENMP = "openmp"
0
{'name': 'Wheel.update@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/wheel.py', 'description': 'Update the contents of a wheel in a generic way. The modifier should\nbe a callable which expects a dictionary argument: its keys are\narchive-entry paths, and its values are absolute filesystem paths\nwher...
0
{'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': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Discoverytaskvserver@infoblox_client/objects.py', 'description': 'DOCSTRING',...
0
{'name': 'serve_qr_code_image@qr_code/views.py', 'description': 'Serve an image that represents the requested QR code.\n\nIMPORTANT NOTE: Each boolean option mentioned below (value True/False) must be passed as `<option name>=1` for\n`True`, respectively `<option name>=0` for `False`.\n\nYou may pass any argument avail...
1
{'name': 'RestApi.update_deck@tinycards/networking/rest_api.py', 'description': 'Update an existing deck.\n\nArgs:\n deck (Deck): The Deck object to update.\n\nReturns:\n Deck: The updated Deck object if update was successful.', 'signature': 'def update_deck(self, deck, user_id):'}</s>{'name': 'json_to_fact@tinyc...
0
{'name': 'IrregularFunctionalData.mean@FDApy/representation/functional_data.py', 'description': "Compute an estimate of the mean.\n\nThis function computes an estimate of the mean curve of a\nIrregularFunctionalData object. The curves are not sampled on a common\ngrid. We implement the methodology from [2]_.\n\nParamet...
0
{'name': 'Imputer.__transform_and_compute_metrics_mxnet_iter@datawig/imputer.py', 'description': 'Returns predictions and metrics (average and per class)\n\n:param mxnet_iter:\n:param metrics_path: if not None and exists, metrics are serialized as json to this path.\n:return: predictions and metrics', 'signature': 'def...
1
{'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': 'merge_spans@tools/task-SI_scorer.py', 'description': ':param spans: a list of spans of article annotations\n:param i: the index in spans which needs to be tested for ovelapping\n:param annotations: a list of annotations of an article\n:return:', 'signature': 'def merge_spans(annotations_without_overlapping, i...
0
{'name': 'PhoneHome._is_device_info_sent@python/dlr/counter/phone_home.py', 'description': 'check if device information send only single time in DLR installation life time.\n create a dummy binary file in DLR installation path to record process state.\n\nReturns:\n bool: if device info is already sent', 'signatur...
0
{'name': 'mark_document_with_html@pyConTextNLP/display/html.py', 'description': 'takes a ConTextDocument object and returns an HTML paragraph with marked phrases in the\nobject highlighted with the colors coded in colors\n\ndoc: ConTextDocument\ncolors: dictionary keyed by ConText category with values valid HTML colors...
1
{'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>CONF_RUN = "run"
0
{'name': 'getBrowser@custom_components/browser_mod/browser.py', 'description': 'Get or create browser by browserID.', 'signature': 'def getBrowser(hass, browserID, *, create=True):'}</s>DOMAIN = "browser_mod"
1
{'name': 'TestCondensedGraphOfReactionFeaturizer.test_calc_node_feature_matrix_shape@tests/unit/featurizers/test_cgr.py', 'description': 'Test that the calc_node_feature_matrix method returns the correct node feature matrix.', 'signature': 'def test_calc_node_feature_matrix_shape(self, rxn_smi, mode_name):'}</s>{'name'...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
0
{'name': 'TrinoDialect.get_foreign_keys@trino/sqlalchemy/dialect.py', 'description': 'Trino has no support for foreign keys. Returns an empty list.', 'signature': 'def get_foreign_keys('}</s>PERMISSION_DENIED = "PERMISSION_DENIED"
0
{'name': 'get_sitemessage_urls@sitemessage/toolbox.py', 'description': "Returns sitemessage urlpatterns, that can be attached to urlpatterns of a project:\n\n# Example from urls.py.\n\nfrom sitemessage.toolbox import get_sitemessage_urls\n\nurlpatterns = patterns('',\n # Your URL Patterns belongs here.\n\n) + get_si...
0
{'name': 'spatial_smooth@python/np/carfac.py', 'description': 'Design the AGC spatial smoothing filter.\n\nTODO(dicklyon): Can you say more??\n\nArgs:\n coeffs: The coefficient description for this state\n stage_state: The state of the AGC right now.\n\nReturns:\n A new stage stage object.', 'signature': 'def spatia...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_STORAGE_CLASS_ATTRS = 1156
0
{'name': 'entry_now@toggl/cli/commands.py', 'description': "Manages currently running entry.\n\nWithout any options the command fetches the current time entry and displays it. But it also supports modification\nof the current time entry through the options listed below.\n\nTags can be modified either in a way of specif...
0
{'name': 'fixup_pth_and_egg_link@bootstrap.py', 'description': 'Makes .pth and .egg-link files use relative paths', 'signature': 'def fixup_pth_and_egg_link(home_dir, sys_path=None):'}</s>OK_ABS_SCRIPTS = ['python', 'python%s' % sys.version[:3], 'activate', 'activate.bat', 'activate_this.py', ...
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
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': 'test_directory_content@test/test_read_data.py', 'description': 'Test that read_csv_data function reads content correctly from a directory', 'signature': 'def test_directory_content(csv_data_dir):'}</s>{'name': 'test_read_csv_data_split_limited@test/test_read_data.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'check_mapping@zict/tests/test_zip.py', 'description': 'Shorter version of utils_test.check_mapping, as zip supports neither update nor\ndelete', 'signature': 'def check_mapping(z):'}</s>{'name': 'Zip@zict/zip.py', 'description': "Mutable Mapping interface to a Zip file\n\nKeys must be strings, values must be ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQS_AVAIL_ERROR = 1
0
{'name': 'PropKB.tell@aimacode/logic.py', 'description': "Add the sentence's clauses to the KB.", 'signature': 'def tell(self, sentence):'}</s>{'name': 'is_symbol@aimacode/logic.py', 'description': 'A string s is a symbol if it starts with an alphabetic char.', 'code': 'def is_symbol(s):\n "A string s is a symbol if...
0
{'name': 'default_settings@tasks/_inv/_default_settings.py', 'description': 'Create default settings\n\nReturns:\n dict: Default settings', 'signature': 'def default_settings():'}</s>__author__ = "André Malo"
0
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'test_cos_image_repair@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_cos_image_repair():\n # 图像修复下载时处理\n mask_p...
0
{'name': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>{'name': 'bytearray_to_int@llvm-12.0.0-project/lld...
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': '_set_attenuation_coefficients@sunkit_image/radial.py', 'description': 'This is a helper function to Fourier Normalizing Radial Gradient Filter\n(`sunkit_image.radial.fnrgf`).\n\nThis function sets the attenuation coefficients in the one of the following two manners:\n\nIf ``cutoff`` is ``0``, then it will set...
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>PY_3 = system_version[0] == 3
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>gui_resizing = dvz.dvz_gui_resizing
0
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'SuperMethodInvocation@baseline_tokenization/javalang/tree.py...
0
{'name': 'GeoDataset.set_roi@salem/datasets.py', 'description': "Set a region of interest for the dataset.\nIf set succesfully, a ROI is simply a mask of the same size as the\ndataset's grid, obtained with the .roi attribute.\nI haven't decided yet if the data should be masekd out when a ROI\nhas been set.\nParameters\...
0
{'name': '_NestingState.Update@runtimes/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update nesting state with current line.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: T...
0