query
stringlengths
9
3.4k
document
stringlengths
9
87.4k
metadata
dict
negatives
listlengths
4
101
negative_scores
listlengths
4
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
UpdateStream asks the server to return a stream of the updates that have been applied to its database.
def UpdateStream(self, request, context): context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def UpdateStream(self, request, context):\n context.code(beta_interfaces.StatusCode.UNIMPLEMENTED)", "def UpdateStream(self, request, timeout, metadata=None, with_call=False, protocol_options=None):\n raise NotImplementedError()", "def update_all(self, stream: Iterator[Mapping[str, np.ndarray]]) -> Self:...
[ "0.72147757", "0.6381507", "0.62450916", "0.62450916", "0.58236724", "0.58207756", "0.5648835", "0.5549801", "0.5537386", "0.5523558", "0.54883146", "0.5486266", "0.54434186", "0.53918093", "0.53827184", "0.5309159", "0.529171", "0.5276019", "0.52704823", "0.5208968", "0.5207...
0.6273188
3
VStream streams vreplication events.
def VStream(self, request, context): context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def stream_status_event(self, event):\r\n pass", "def event_stream(self):\n for message in self.subscribe():\n event = message_to_sse(message[\"data\"])\n yield event", "def handle_stream_client(self, event):\n try:\n while True:\n client_req = s...
[ "0.5862362", "0.5361396", "0.5193589", "0.50663304", "0.5025312", "0.49359423", "0.49321538", "0.4907434", "0.49009848", "0.48569548", "0.47935286", "0.478286", "0.47663593", "0.47638202", "0.4749716", "0.47021312", "0.47019884", "0.46913123", "0.46864375", "0.46640497", "0.4...
0.5426422
1
Reads the data to disk. Input can be a CSV or .XLSX file.
def read_data(fname: pathlib.Path): if "xls" in fname.suffix: return pd.read_excel(fname) if "csv" in fname.suffix: return pd.read_csv(fname, header=0)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _read_csv(self):\n self.function_name = '_read_csv'\n with open(os.path.join(self.task.downloads, self.csv_name)) as csv_file:\n reader = csv.reader(csv_file, dialect='excel')\n for row in reader:\n self.input_data.append(row)", "def read_csv_file(self):\n ...
[ "0.65491754", "0.6294711", "0.6233149", "0.61260873", "0.610047", "0.6024382", "0.5999919", "0.5991008", "0.5987492", "0.59825194", "0.59095484", "0.58872056", "0.58627844", "0.5862004", "0.58392", "0.5830233", "0.58197105", "0.5801461", "0.5799488", "0.5793648", "0.5786029",...
0.55840397
42
Removes rows which aren't needed in the DF. If a row contains one of the designated symbols it drops them and records them. Returns an Filtered object which contains information about the retained and removed rows.
def filter_unneeded_rows(data: pd.DataFrame) -> FilteredData: allowed_values = ["BUY", "SELL"] correct_rows = data["Action"].isin(allowed_values) num_of_ok_rows = correct_rows.sum() if num_of_ok_rows == len(data): return FilteredData(data, {}) legal_rows = data.loc[correct_rows, :] illeg...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def trimDf(df):\n cols = set(df.columns)\n\n cols.remove('exclamationCount') # bug in our feature extraction code\n cols.remove('price') # considered only free apps\n cols.remove('appName') # removing appNames\n\n # return df[list(cols)]\n\n\n\n return df[list(('revSent', 'appLabel'))]", "def f...
[ "0.5987847", "0.5943072", "0.58474314", "0.57139724", "0.5702526", "0.56567687", "0.5635453", "0.5586914", "0.5586264", "0.55834323", "0.5563579", "0.55631554", "0.5544793", "0.5538713", "0.54920566", "0.54906213", "0.54856443", "0.5456401", "0.5443878", "0.5406942", "0.53937...
0.59884405
0
Formats the result of the computation to a table understabable by a lay person.
def format_result(filtered: FilteredData, original_size: int) -> str: if len(filtered.data) == original_size: return f"All {original_size} rows were converted successfully." formatted = f"{len(filtered.data)} rows converted successfully. Illegal rows were:\n\n" df = pd.DataFrame(filtered.illegal).tr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def latex_table(result, *, decimal_places=3, label=None):\n if label is None:\n label = 'tbl:stat_results'\n\n table_df = result.rankdf\n columns = table_df.columns.to_list()\n if result.omnibus != 'bayes' and result.pvalue >= result.alpha or \\\n result.omnibus == 'bayes' and len({'smalle...
[ "0.64409745", "0.62636024", "0.6221146", "0.610123", "0.6085096", "0.60263", "0.6020099", "0.59655726", "0.5926132", "0.59233683", "0.59088355", "0.58752626", "0.5875122", "0.58417875", "0.5840603", "0.5827138", "0.57953185", "0.57799405", "0.57762665", "0.57666326", "0.57609...
0.0
-1
Reorders the columns of the given dataframe by the expected order
def reorder_columns(data: pd.DataFrame): return data.reindex(all_columns, axis=1)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def reorder_cols(df):\n # print(df.columns)\n req_order = [df.columns.tolist()[-1]] + df.columns.tolist()[:-1]\n # print(req_order)\n df = df.loc[:, req_order]\n df = df.sort_values(by=['participant_id'], ignore_index=True)\n return df", "def df_order_columns(df, columns_ordered=[]):\n colum...
[ "0.8111546", "0.7854088", "0.7685065", "0.7613177", "0.74475104", "0.74170864", "0.7235204", "0.7201112", "0.71254337", "0.6817102", "0.67857254", "0.67651606", "0.6674418", "0.6615385", "0.6580225", "0.6439689", "0.6389387", "0.631225", "0.62999177", "0.62772804", "0.6262474...
0.760473
4
Returns information about a particular catalog.
def get_catalog_v0(self, catalog_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, CatalogDetails_912693fa, Error_d660d58] operation_name = "get_catalog_v0" params = locals() for key, val in six.iteritems(params['kwargs']): params[key...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def catalog(self) -> str:\n return pulumi.get(self, \"catalog\")", "def get_catalog(self) -> Dict[str, str]:\n return self.catalog", "def get_catalog(self) -> Catalog:\n params: Dict[str, Any] = self._status.get_status_info()\n\n response = self._client.open_api_do(\n \"G...
[ "0.78358316", "0.7816448", "0.7693673", "0.7035862", "0.70060223", "0.694535", "0.6891031", "0.68900937", "0.68784803", "0.6834966", "0.67653793", "0.66987956", "0.6688322", "0.66765684", "0.6628926", "0.66227347", "0.65906316", "0.6418866", "0.64163554", "0.6408612", "0.6389...
0.6111803
34
Lists all the uploads for a particular catalog.
def list_uploads_for_catalog_v0(self, catalog_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, ListUploadsResponse_59fc7728, Error_d660d58] operation_name = "list_uploads_for_catalog_v0" params = locals() for key, val in six.iteritems(params['kw...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_uploads(arn=None, nextToken=None):\n pass", "def upload_index(self):\n return self.render(\"cadmin/upload.html\", connector=self.connector)", "def uploads(self):\r\n return u.Uploads(self)", "def list_multipart_uploads(Bucket=None, Delimiter=None, EncodingType=None, KeyMarker=None, ...
[ "0.60803103", "0.5518015", "0.54515773", "0.53923315", "0.53463054", "0.5214537", "0.52021486", "0.51877195", "0.51299816", "0.51162803", "0.51151466", "0.5109009", "0.5061079", "0.5020963", "0.5012223", "0.5004669", "0.49983722", "0.49931318", "0.4979966", "0.49755847", "0.4...
0.66676104
0
Creates a new upload for a catalog and returns presigned upload parts for uploading the file.
def create_content_upload_v0(self, catalog_id, create_content_upload_request, **kwargs): # type: (str, CreateContentUploadRequest_bf7790d3, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, CreateContentUploadResponse_75cd6715, Error_d660d58] operation_name = "create_content_upload_v0" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_upload(projectArn=None, name=None, type=None, contentType=None):\n pass", "def create_catalog_upload_v1(self, catalog_id, catalog_upload_request_body, **kwargs):\n # type: (str, CatalogUploadBase_d7febd7, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n ...
[ "0.64671993", "0.64595336", "0.6377314", "0.61546654", "0.6104886", "0.5965869", "0.5834511", "0.57746184", "0.57408166", "0.573731", "0.5724584", "0.5715037", "0.5679962", "0.5678984", "0.5616411", "0.5616278", "0.5615163", "0.56012034", "0.5590069", "0.55892086", "0.5568517...
0.64263016
2
Gets detailed information about an upload which was created for a specific catalog. Includes the upload's ingestion steps and a presigned url for downloading the file.
def get_content_upload_by_id_v0(self, catalog_id, upload_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58, GetContentUploadResponse_c8068011] operation_name = "get_content_upload_by_id_v0" params = locals() for key, val in six...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_upload(arn=None):\n pass", "def complete_catalog_upload_v0(self, catalog_id, upload_id, complete_upload_request_payload, **kwargs):\n # type: (str, str, CompleteUploadRequest_7b413950, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58]\n operation_name = \"comp...
[ "0.55095077", "0.5429856", "0.5427058", "0.5350804", "0.5342992", "0.53252983", "0.51942396", "0.51753724", "0.5057624", "0.50514233", "0.5050997", "0.5038362", "0.501442", "0.50143003", "0.50053996", "0.5000148", "0.49410462", "0.49161634", "0.4913219", "0.488647", "0.483280...
0.51367867
8
Completes an upload. To be called after the file is uploaded to the backend data store using presigned url(s).
def complete_catalog_upload_v0(self, catalog_id, upload_id, complete_upload_request_payload, **kwargs): # type: (str, str, CompleteUploadRequest_7b413950, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "complete_catalog_upload_v0" params = locals()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def upload_finish(self, cloud_file):", "def finish(cls, upload, location=None, bytes_downloaded=0):\n path = \"uploader/finish/%s\" % upload[\"id\"]\n LOGGER.debug(path)\n payload = {\"bytes_transferred\": bytes_downloaded, \"location\": location}\n try:\n return Backend.pu...
[ "0.791958", "0.6799939", "0.67783916", "0.67327327", "0.65858465", "0.64970046", "0.64147675", "0.64054227", "0.63864416", "0.6299779", "0.6287249", "0.6254714", "0.625045", "0.6242565", "0.6162514", "0.6141113", "0.6057815", "0.60013497", "0.59479946", "0.5913281", "0.589529...
0.0
-1
Lists catalogs associated with a vendor.
def list_catalogs_for_vendor_v0(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListCatalogsResponse_3dd2a983, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "list_catalogs_for_vendor_v0" params = locals() for key, val in six.iteritems(params['kw...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def show_catalogue(self):\n\n data = cur.execute(\"\"\"SELECT productid, productname, unitcost, stock, location \n FROM catalogue WHERE vendorname = ?\"\"\", (self.vendorname,)).fetchall()\n print(tabulate(data, headers=[\"Product ID\", \"Name\", \"Unit Cost\", \"Stock\...
[ "0.6425961", "0.62713766", "0.62005067", "0.61386716", "0.6064944", "0.599095", "0.5985109", "0.59512717", "0.5854509", "0.58000416", "0.57824093", "0.573778", "0.5698321", "0.56862247", "0.5647046", "0.5640386", "0.5627115", "0.562495", "0.5621989", "0.56063086", "0.55837905...
0.6875441
0
Creates a new catalog based on information provided in the request.
def create_catalog_v0(self, create_catalog_request, **kwargs): # type: (CreateCatalogRequest_f3cdf8bb, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, CatalogDetails_912693fa, Error_d660d58] operation_name = "create_catalog_v0" params = locals() for key, val in six.iterite...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def catalog_create(self, args):\n try:\n if args.id and self.server.connect_ermrest(args.id).exists():\n print(\"Catalog already exists\")\n return\n owner = args.owner if args.owner else None\n catalog = self.server.create_ermrest_catalog(args....
[ "0.7075962", "0.66169626", "0.65908253", "0.6559741", "0.6491398", "0.6491398", "0.6491398", "0.6474749", "0.64458245", "0.63912857", "0.6327027", "0.6295636", "0.624926", "0.61907876", "0.6131978", "0.61135054", "0.60304767", "0.60023105", "0.60003024", "0.5982443", "0.59681...
0.6687406
1
Lists the subscribers for a particular vendor.
def list_subscribers_for_development_events_v0(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListSubscribersResponse_d1d01857, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "list_subscribers_for_development_events_v0" params = locals() for key...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def subscribers(id):\n return core.query(schema.streamBySubscribers, id)", "def get_subscribers(self) -> Iterator[Any]:\n for subscription in self._subscriptions[self.id]:\n yield subscription.subscriber", "def list_subscriptions_for_development_events_v0(self, vendor_id, **kwargs):\n ...
[ "0.61201715", "0.608175", "0.5926131", "0.5878165", "0.5822366", "0.5820727", "0.5819338", "0.5757884", "0.5748074", "0.57391936", "0.5663166", "0.5601533", "0.5574416", "0.55726206", "0.55469656", "0.55281115", "0.55225855", "0.5510666", "0.5506967", "0.5494915", "0.5494254"...
0.6614901
0
Creates a new subscriber resource for a vendor.
def create_subscriber_for_development_events_v0(self, create_subscriber_request, **kwargs): # type: (CreateSubscriberRequest_a96d53b9, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "create_subscriber_for_development_events_v0" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def handle_create(self):\n subscription = self.client().subscription(\n self.properties[self.QUEUE_NAME],\n subscriber=self.properties[self.SUBSCRIBER],\n ttl=self.properties[self.TTL],\n options=self.properties[self.OPTIONS]\n )\n self.resource_id_s...
[ "0.64551383", "0.59768575", "0.5970595", "0.595671", "0.59108967", "0.58701646", "0.584349", "0.5834306", "0.5730402", "0.5714144", "0.5700782", "0.5666716", "0.56383765", "0.5575891", "0.5572123", "0.5554688", "0.5541579", "0.5495667", "0.5487416", "0.5486775", "0.54239213",...
0.60352266
1
Deletes a specified subscriber.
def delete_subscriber_for_development_events_v0(self, subscriber_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "delete_subscriber_for_development_events_v0" params = locals() for key, val in six.iteritems(param...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_subscriber(self, subscriber_id):\n try :\n customer_id = self.client.service.deleteSubscriber(self.username,self.password,subscriber_id)\n except Exception, e:\n # TODO : logger needs to be used\n customer_id = 0\n\n return customer_id", "def remov...
[ "0.7680337", "0.7236136", "0.6633536", "0.62575805", "0.6127137", "0.6098629", "0.608906", "0.60715365", "0.6060155", "0.599086", "0.57912725", "0.57875043", "0.57793033", "0.5751487", "0.57399553", "0.57397425", "0.57079226", "0.56659925", "0.5637536", "0.5628435", "0.562725...
0.6253658
4
Returns information about specified subscriber.
def get_subscriber_for_development_events_v0(self, subscriber_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, SubscriberInfo_854c325e, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "get_subscriber_for_development_events_v0" params = locals() for key, val in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_subscriber(self, subscriber_id):\n req_data = [ str(subscriber_id) ]\n return self.request(\"find:Contact.stats\", req_data)", "def get_subscriber(self, subscriber_id):\n try :\n customer = self.client.service.getSubscriber(self.username,self.password,subscriber_id)\n ...
[ "0.8108952", "0.7251117", "0.6385753", "0.63169444", "0.5913398", "0.5891658", "0.5821191", "0.57835484", "0.5778085", "0.5777168", "0.56953603", "0.5634965", "0.5630335", "0.5613094", "0.5606277", "0.5567928", "0.55577594", "0.5556932", "0.5542202", "0.5518692", "0.551242", ...
0.6405116
2
Updates the properties of a subscriber.
def set_subscriber_for_development_events_v0(self, subscriber_id, update_subscriber_request, **kwargs): # type: (str, UpdateSubscriberRequest_d5e3199f, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "set_subscriber_for_development_events_v0" params...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def subscribe(self, subscriber):\n self.subscribers.append(subscriber)", "def update_properties(self, update_dict: Dict[str, Any]):\n self.event_properties.update(update_dict)", "def _set_properties_for_subject(context, subject_ref, properties,\n purge_props=False, ...
[ "0.60024285", "0.5879965", "0.56663257", "0.55753344", "0.55724376", "0.5568221", "0.5568162", "0.55210114", "0.54467213", "0.54211766", "0.5389877", "0.5355238", "0.5355238", "0.53251624", "0.5317101", "0.5294738", "0.5294738", "0.5273489", "0.5268377", "0.52414244", "0.5219...
0.52268964
20
Lists all the subscriptions for a vendor/subscriber depending on the query parameter.
def list_subscriptions_for_development_events_v0(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, ListSubscriptionsResponse_c033036c, Error_d660d58] operation_name = "list_subscriptions_for_development_events_v0" params = locals() f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getAllSubscriptions(self):\n return self.request(\n \"getAllSubscriptions\",\n )", "def get_all_subscriptions(cls, **kwargs):\n return Subscription.query.filter(**kwargs).all()", "def get_subscriptions(self):\n url = '{}/v2/subscriptions'.format(self.url)\n r =...
[ "0.68718314", "0.64479876", "0.63930523", "0.6370241", "0.6262095", "0.6189397", "0.61583257", "0.61445445", "0.6092694", "0.60551304", "0.6022969", "0.59707063", "0.5958804", "0.59293044", "0.5877195", "0.5875781", "0.58724755", "0.5828251", "0.5802563", "0.57452756", "0.574...
0.6165321
6
Creates a new subscription for a subscriber. This needs to be authorized by the client/vendor who created the subscriber and the vendor who publishes the event.
def create_subscription_for_development_events_v0(self, **kwargs): # type: (**Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "create_subscription_for_development_events_v0" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_subscription(self, client_URI_endpoint, event_destination_id,\n name, subscription_context):\n self.client_URI_endpoints[client_URI_endpoint] = \\\n Event(event_destination_id, name, subscription_context)\n self.write_subscriptions_to_tmp(self.client_U...
[ "0.7148508", "0.7121307", "0.70556664", "0.6822719", "0.67237526", "0.6718137", "0.66987914", "0.6672725", "0.66038203", "0.66021675", "0.65998673", "0.653207", "0.6528592", "0.6485531", "0.64677495", "0.64221466", "0.6400149", "0.63972884", "0.63587207", "0.6254077", "0.6239...
0.5867156
37
Deletes a particular subscription. Both, the vendor who created the subscriber and the vendor who publishes the event can delete this resource with appropriate authorization.
def delete_subscription_for_development_events_v0(self, subscription_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "delete_subscription_for_development_events_v0" params = locals() for key, val in six.iteritems...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_subscription(self):\n try:\n self.client.delete_subscription(subscription=self.subscription_path)\n except NotFound:\n pass\n else:\n self._log_and_print(f'Deleted subscription: {self.subscription_path}')", "def delete(self, orgname, subscription_i...
[ "0.79001635", "0.76200247", "0.730104", "0.6816528", "0.67823094", "0.6736553", "0.6616656", "0.65979725", "0.6382298", "0.6342624", "0.6314732", "0.62830967", "0.6226512", "0.6218649", "0.6210548", "0.6123095", "0.6099847", "0.60829735", "0.60790235", "0.6040597", "0.5957742...
0.6180049
15
Returns information about a particular subscription. Both, the vendor who created the subscriber and the vendor who publishes the event can retrieve this resource with appropriate authorization.
def get_subscription_for_development_events_v0(self, subscription_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, SubscriptionInfo_917bdab3, Error_d660d58] operation_name = "get_subscription_for_development_events_v0" params = locals() for key,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_subscription(self):\n return self.request({\n 'path': '/' + UUID + '/subscription'})", "def subscription(self) -> pulumi.Output[str]:\n return pulumi.get(self, \"subscription\")", "def subscription(self) -> pulumi.Output[str]:\n return pulumi.get(self, \"subscription\")"...
[ "0.74748504", "0.68121356", "0.68121356", "0.67586803", "0.67443067", "0.6513437", "0.6513437", "0.6361319", "0.63387746", "0.63020265", "0.6283653", "0.62584174", "0.6244427", "0.6241826", "0.6235958", "0.6194821", "0.6169277", "0.6150702", "0.6120577", "0.6064523", "0.60142...
0.5817089
24
Updates the mutable properties of a subscription. This needs to be authorized by the client/vendor who created the subscriber and the vendor who publishes the event. The subscriberId cannot be updated.
def set_subscription_for_development_events_v0(self, subscription_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "set_subscription_for_development_events_v0" params = locals() for key, val in six.iteritems(param...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_subscription(self,\n subscription_id,\n body):\n\n return super().new_api_call_builder.request(\n RequestBuilder().server('default')\n .path('/v2/subscriptions/{subscription_id}')\n .http_method(HttpMethodEnum....
[ "0.6654483", "0.6275801", "0.61915994", "0.60778314", "0.6022174", "0.59372205", "0.5910469", "0.5910469", "0.5910469", "0.58597076", "0.5805449", "0.5751384", "0.57370895", "0.5712542", "0.5671828", "0.5652349", "0.5621079", "0.5588373", "0.5553542", "0.549715", "0.5474094",...
0.60567963
4
Associate skill with catalog.
def associate_catalog_with_skill_v0(self, skill_id, catalog_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "associate_catalog_with_skill_v0" params = locals() for key, val in six.iteritems(params['kwargs'])...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def addSkill(self, newskill):\n self.skills.append( newskill )", "def addSkill(self, skillName, maxLevel, creditStart, creditIncrement):\r\n self.skills[skillName] = SkillObject(skillName, maxLevel, creditStart, creditIncrement)\r\n self.orderedSkills.append(skillName)", "def addSkill(skil...
[ "0.6664767", "0.6635394", "0.612437", "0.5970023", "0.59050703", "0.5865405", "0.584907", "0.561355", "0.55675197", "0.5513248", "0.5433672", "0.5427542", "0.5261133", "0.5227878", "0.5173006", "0.5169779", "0.5169779", "0.5169779", "0.516817", "0.5143061", "0.50991553", "0...
0.70367885
0
Lists all the catalogs associated with a skill.
def list_catalogs_for_skill_v0(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListCatalogsResponse_3dd2a983, BadRequestError_a8ac8b44, Error_d660d58] operation_name = "list_catalogs_for_skill_v0" params = locals() for key, val in six.iteritems(params['kwarg...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_catalogs(self):\n return self._json_object_field_to_list(\n self._get_catalogs_json(), self.__MISSION_STRING)", "def list_detail_catalog(self, catalog_name):\n # list catalog\n self._list_catalog(catalog_name)\n # detail catalog\n self._details_catalog(cat...
[ "0.6852084", "0.6113749", "0.5815595", "0.56907815", "0.5633595", "0.5573647", "0.555769", "0.5518518", "0.5516258", "0.5426061", "0.53878295", "0.5378777", "0.53384465", "0.5309134", "0.53046465", "0.5283861", "0.52456987", "0.5202846", "0.5156608", "0.51344407", "0.5128742"...
0.72920567
0
Create new upload Creates a new upload for a catalog and returns location to track the upload process.
def create_catalog_upload_v1(self, catalog_id, catalog_upload_request_body, **kwargs): # type: (str, CatalogUploadBase_d7febd7, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "create_catalog_upload_v1" params = locals() for key, val in six....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_upload(projectArn=None, name=None, type=None, contentType=None):\n pass", "def create_content_upload_v0(self, catalog_id, create_content_upload_request, **kwargs):\n # type: (str, CreateContentUploadRequest_bf7790d3, **Any) -> Union[ApiResponse, object, BadRequestError_a8ac8b44, CreateConten...
[ "0.6831696", "0.64513546", "0.63524556", "0.6309491", "0.61442155", "0.6086827", "0.6079612", "0.6052322", "0.6010462", "0.5990453", "0.59298205", "0.58892775", "0.58816016", "0.5851181", "0.58465827", "0.58310765", "0.5784714", "0.57691616", "0.5760394", "0.5739012", "0.5734...
0.65958726
1
Get upload Gets detailed information about an upload which was created for a specific catalog. Includes the upload's ingestion steps and a url for downloading the file.
def get_content_upload_by_id_v1(self, catalog_id, upload_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05, GetContentUploadResponse_b9580f92] operation_name = "get_content_upload_by_id_v1" params = locals() for key, val in six...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_upload(arn=None):\n pass", "def get(self):\n\n upload_url = blobstore.create_upload_url('/upload')\n\n self.response.headers['content-type'] = 'text/plain'\n self.response.out.write(upload_url)", "def upload(self, upload_id):\r\n return u.Upload(self, upload_id)", "def ...
[ "0.5920113", "0.5911479", "0.56571805", "0.5642129", "0.5371096", "0.53652996", "0.5248273", "0.524067", "0.5169987", "0.51688206", "0.5165227", "0.5164428", "0.5154306", "0.50512576", "0.5007397", "0.50014436", "0.49525663", "0.49436924", "0.4932425", "0.4889197", "0.4886170...
0.5566491
4
Generates preSigned urls to upload data
def generate_catalog_upload_url_v1(self, catalog_id, generate_catalog_upload_url_request_body, **kwargs): # type: (str, CreateContentUploadUrlRequest_4999fa1c, **Any) -> Union[ApiResponse, object, Error_fbe913d9, CreateContentUploadUrlResponse_4a18d03c, BadRequestError_f854b05] operation_name = "generat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def presigned_url():\n return 'https://presignedurl.test.com'", "def generate_presigned_url(ClientMethod=None, Params=None, ExpiresIn=None, HttpMethod=None):\n pass", "def generate_presigned_url(ClientMethod=None, Params=None, ExpiresIn=None, HttpMethod=None):\n pass", "def generate_presigned_url(Cl...
[ "0.655849", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.63871944", "0.61704755", "0.6160818", ...
0.0
-1
The SMAPI Audit Logs API provides customers with an audit history of all SMAPI calls made by a developer or developers with permissions on that account.
def query_development_audit_logs_v1(self, get_audit_logs_request, **kwargs): # type: (AuditLogsRequest_13316e3e, **Any) -> Union[ApiResponse, object, Error_fbe913d9, AuditLogsResponse_bbbe1918, BadRequestError_f854b05] operation_name = "query_development_audit_logs_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_auditlogs(self):\n res = self.get_object(\"/integrationServices/v3/auditlogs\")\n return res.get(\"notifications\", [])", "def getAllActivityLog(self):\n url=self._v2BaseURL + \"/api/v2/activity/activityLog\"\n headers = {'Content-Type': \"application/json\", 'Accept': \"appli...
[ "0.629905", "0.6203893", "0.59034455", "0.583267", "0.57482004", "0.56924", "0.5659241", "0.5658747", "0.564397", "0.56259894", "0.5611631", "0.5497883", "0.54339087", "0.5408425", "0.53990036", "0.53773606", "0.53651124", "0.53638005", "0.53303605", "0.53125095", "0.52780914...
0.642645
0
Get the list of inskill products for the vendor.
def get_isp_list_for_vendor_v1(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05, ListInSkillProductResponse_505e7307] operation_name = "get_isp_list_for_vendor_v1" params = locals() for key, val in six.iteritems(params...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_products(self):\n url = self.base_url\n # TODO add filtering support when holvi api supports it\n obdata = self.connection.make_get(url)\n return ProductList(obdata, self)", "def products(self):\n return list(Product.select())", "def get_products(self):\n retu...
[ "0.6733137", "0.6547819", "0.65187454", "0.648127", "0.63539016", "0.6321409", "0.6284851", "0.62413895", "0.62055516", "0.61503416", "0.6140966", "0.61330837", "0.6085362", "0.6000095", "0.5997312", "0.59685934", "0.5965533", "0.592143", "0.5869935", "0.58443815", "0.5842674...
0.66241527
1
Creates a new inskill product for given vendorId.
def create_isp_for_vendor_v1(self, create_in_skill_product_request, **kwargs): # type: (CreateInSkillProductRequest_816cf44b, **Any) -> Union[ApiResponse, object, Error_fbe913d9, ProductResponse_b388eec4, BadRequestError_f854b05] operation_name = "create_isp_for_vendor_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_product(self):\n product = self.product_obj.create({\n \"default_code\": 'A2330',\n \"product_tmpl_id\":\n self.ref(\"product.product_product_4_product_template\"),\n \"attribute_value_ids\": [(6, 0, [\n self.ref('product.product_attribut...
[ "0.57748955", "0.5632701", "0.55772245", "0.5560756", "0.55527693", "0.55176973", "0.544083", "0.5436239", "0.54329205", "0.54200816", "0.5348453", "0.53069866", "0.5295919", "0.5220665", "0.52175814", "0.5196625", "0.5183925", "0.5162375", "0.5140223", "0.5136836", "0.511052...
0.66890377
0
Disassociates an inskill product from a skill.
def disassociate_isp_with_skill_v1(self, product_id, skill_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "disassociate_isp_with_skill_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __delitem__(self, skillName):\r\n self.removeSkill(skillName)", "def skill(ctx: Context, public_id: PublicId):\n _eject_item(ctx, \"skill\", public_id)", "def removeSkill(self, skillName):\r\n if self.__contains__(skillName):\r\n del self.skills[skillName]\r\n del sel...
[ "0.67726624", "0.67335904", "0.65022564", "0.6083833", "0.6009685", "0.5964312", "0.591215", "0.57107806", "0.5683302", "0.5666019", "0.5660257", "0.564727", "0.55938834", "0.5579893", "0.55792457", "0.5534033", "0.54993606", "0.54872227", "0.54156303", "0.54155195", "0.53889...
0.62635815
3
Associates an inskill product with a skill.
def associate_isp_with_skill_v1(self, product_id, skill_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "associate_isp_with_skill_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def addSkill(self, newskill):\n self.skills.append( newskill )", "def new_skill_interaction(self, skill):\n self.skill_interact[skill] = True", "def addSkill(self, skillName, maxLevel, creditStart, creditIncrement):\r\n self.skills[skillName] = SkillObject(skillName, maxLevel, creditStart,...
[ "0.6838665", "0.6528498", "0.63352215", "0.6299897", "0.62301195", "0.6225925", "0.59248406", "0.58860654", "0.5864585", "0.5812439", "0.5810612", "0.5810612", "0.57910365", "0.57557166", "0.5713672", "0.57069767", "0.56912553", "0.55998117", "0.55106634", "0.55091727", "0.54...
0.6781893
1
Deletes the inskill product for given productId. Only development stage supported. Live inskill products or inskill products associated with a skill cannot be deleted by this API.
def delete_isp_for_product_v1(self, product_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "delete_isp_for_product_v1" params = locals() for key, val in six.iteritems(params['kwargs']): p...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete(self, product_id):\n\n return product.delete_product(product_id)", "def delete_product(self, product_id):\n return self._make_delete_request(self._urls['product'] % product_id)", "def delete_product(self, product_id):\n con = dbcon()\n cur = con.cursor()\n cur.exec...
[ "0.6613413", "0.6541403", "0.6219609", "0.6144312", "0.6056986", "0.6049141", "0.60046744", "0.5990801", "0.5977374", "0.5953628", "0.59514153", "0.58636075", "0.5860248", "0.58038896", "0.574796", "0.57282054", "0.57172716", "0.5716082", "0.5698535", "0.56877595", "0.5575388...
0.62946457
2
Resets the entitlement(s) of the Product for the current user.
def reset_entitlement_for_product_v1(self, product_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "reset_entitlement_for_product_v1" params = locals() for key, val in six.iteritems(params['kwargs']):...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def reset_user(self):\n\n if self.resin.auth.is_logged_in():\n self.wipe_application()\n self.resin.models.key.base_request.request(\n 'user__has__public_key', 'DELETE',\n endpoint=self.resin.settings.get('pine_endpoint'), login=True\n )", "de...
[ "0.56585646", "0.54697764", "0.52775943", "0.52775943", "0.51205343", "0.5110504", "0.5110504", "0.5086956", "0.5080355", "0.5080355", "0.5065258", "0.5040448", "0.5031072", "0.5013237", "0.49968353", "0.49950162", "0.4991405", "0.49880537", "0.49675336", "0.49537265", "0.491...
0.60211426
0
Returns the inskill product definition for given productId.
def get_isp_definition_v1(self, product_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, InSkillProductDefinitionResponse_4aa468ff, Error_fbe913d9, BadRequestError_f854b05] operation_name = "get_isp_definition_v1" params = locals() for key, val in six.iterite...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_product_by_id(productId): # noqa: E501\n return 'do some magic!'", "def _product_spec_by_id(self, product_id):\n if not isinstance(product_id, int):\n raise TypeError(\"Product ID should be integer\")\n\n for product_group in self.db:\n for db_id in self.db[product...
[ "0.6464672", "0.612124", "0.605774", "0.6039397", "0.5857793", "0.58464456", "0.5832984", "0.57331824", "0.5726266", "0.5706458", "0.56913775", "0.56698745", "0.56065446", "0.55776674", "0.55651134", "0.5551204", "0.5525478", "0.5506871", "0.55012226", "0.54999846", "0.546534...
0.6508556
0
Updates inskill product definition for given productId. Only development stage supported.
def update_isp_for_product_v1(self, product_id, stage, update_in_skill_product_request, **kwargs): # type: (str, str, UpdateInSkillProductRequest_ee975cf1, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "update_isp_for_product_v1" params = locals()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_product_form(productId, name=None, status=None): # noqa: E501\n return 'do some magic!'", "def associate_isp_with_skill_v1(self, product_id, skill_id, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"as...
[ "0.61609936", "0.61382127", "0.6079622", "0.6055985", "0.6021867", "0.5917009", "0.5853831", "0.578811", "0.5721086", "0.5692899", "0.56461924", "0.5592242", "0.5513153", "0.54926187", "0.54778296", "0.54778296", "0.547739", "0.54153234", "0.5413967", "0.539913", "0.5369796",...
0.7032969
0
Get the associated skills for the inskill product.
def get_isp_associated_skills_v1(self, product_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, AssociatedSkillResponse_12067635, Error_fbe913d9, BadRequestError_f854b05] operation_name = "get_isp_associated_skills_v1" params = locals() for key, val in six.it...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def skills(self):\n if \"skills\" in self._prop_dict:\n return self._prop_dict[\"skills\"]\n else:\n return None", "def getSkills(self):\n return self.skills", "def get_skills(self):\n return self.skills[:]", "def skills():\n with app.app_context():\n ...
[ "0.70560765", "0.69239104", "0.68043286", "0.6674803", "0.6579251", "0.6418224", "0.6411542", "0.62337255", "0.6096444", "0.60757726", "0.60388523", "0.59580284", "0.5938242", "0.585029", "0.5758608", "0.5753643", "0.5753643", "0.5753643", "0.5753643", "0.57439345", "0.570991...
0.6539159
5
Get the summary information for an inskill product.
def get_isp_summary_v1(self, product_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, InSkillProductSummaryResponse_32ba64d7] operation_name = "get_isp_summary_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def product_summary(self):\n # products = self.products.filter(type='S') # TODO: explain the usage of this commented line or remove it\n from .utils import process_products\n\n subscription_products = SubscriptionProduct.objects.filter(subscription=self)\n dict_all_products = {}\n ...
[ "0.6262818", "0.6042343", "0.5940665", "0.59008634", "0.58890253", "0.5821843", "0.5760935", "0.5731772", "0.57011896", "0.569796", "0.5634564", "0.5575895", "0.5570702", "0.5545321", "0.552987", "0.55269814", "0.54810643", "0.5476215", "0.54176176", "0.5392869", "0.53575855"...
0.61915576
1
get the catalog definition
def get_interaction_model_catalog_definition_v1(self, catalog_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CatalogDefinitionOutput_21703cd9] operation_name = "get_interaction_model_catalog_definition_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_catalog(self) -> Dict[str, str]:\n return self.catalog", "def getCatalogs():", "def getCatalog(unique_name):", "def catalog(self) -> str:\n return pulumi.get(self, \"catalog\")", "def get_catalog(self):\n return self", "def initCatalog():\n catalog = model.newCatalog()\n ...
[ "0.74718565", "0.71589625", "0.71085536", "0.6954289", "0.6937485", "0.6562983", "0.6562983", "0.6562983", "0.64549136", "0.64309627", "0.6333123", "0.631455", "0.62660563", "0.62642074", "0.61853474", "0.61192447", "0.61192447", "0.61192447", "0.61192447", "0.61192447", "0.6...
0.5903681
27
update description and vendorGuidance string for certain version of a catalog.
def update_interaction_model_catalog_v1(self, catalog_id, update_request, **kwargs): # type: (str, UpdateRequest_12e0eebe, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_interaction_model_catalog_v1" params = locals() fo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_version(self, version):\n self.version = CPE.escape_for_cpe23_fs(version)", "def update_catalog(self, old_catalog_name, new_catalog_name, description):\n if self.resource is None:\n self.resource = self.client.get_resource(self.href)\n org = self.resource\n links...
[ "0.5940297", "0.5709935", "0.5585347", "0.5584827", "0.55292904", "0.5494136", "0.54282975", "0.5417698", "0.53964204", "0.5214327", "0.51904577", "0.5175755", "0.5156458", "0.51384115", "0.51384115", "0.5125667", "0.5074788", "0.50728726", "0.5060369", "0.5046759", "0.504554...
0.0
-1
Get the status of catalog resource and its subresources for a given catalogId.
def get_interaction_model_catalog_update_status_v1(self, catalog_id, update_request_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CatalogStatus_c70ba222] operation_name = "get_interaction_model_catalog_update_status_v1" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _get_status(self):\n status_results = self.db_handler.query_items({\n 'api_version': {\n 'condition': 'is_in',\n 'value': ['3', TsV2CatalogHandler.api_version]\n }\n })\n source_status = None\n status = None\n for s in statu...
[ "0.5660781", "0.55531985", "0.5495604", "0.54639", "0.53680885", "0.5364161", "0.5350954", "0.52964675", "0.5269436", "0.51984185", "0.5147698", "0.50272495", "0.49623415", "0.4955877", "0.49457973", "0.4933113", "0.49257472", "0.49147394", "0.49039483", "0.4893702", "0.48545...
0.52434784
9
List all the historical versions of the given catalogId.
def list_interaction_model_catalog_versions_v1(self, catalog_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListCatalogEntityVersionsResponse_aa31060e, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "list_interaction_model_catalog_versions_v1" params = l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_versions(self, service_id):\n return [self.fastly_cache[service_id]['service_details']]", "def revision_history(self, uuid):\n return self.write.revision_history(rid=uuid)", "def ListVersions(self, request, context):\n context.code(beta_interfaces.StatusCode.UNIMPLEMENTED)", "def ...
[ "0.5942459", "0.55616015", "0.5546318", "0.54795104", "0.53538805", "0.53490853", "0.5348747", "0.52081084", "0.5199304", "0.51704663", "0.51683384", "0.51576775", "0.51349646", "0.511972", "0.51145464", "0.5093436", "0.50895435", "0.50717413", "0.50488883", "0.50439376", "0....
0.64333284
0
Create a new version of catalog entity for the given catalogId.
def create_interaction_model_catalog_version_v1(self, catalog_id, catalog, **kwargs): # type: (str, VersionData_af79e8d3, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_interaction_model_catalog_version_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def save_catalog(self, catalog_form, *args, **kwargs):\n # Implemented from kitosid template for -\n # osid.resource.BinAdminSession.update_bin\n if catalog_form.is_for_update():\n return self.update_catalog(catalog_form, *args, **kwargs)\n else:\n return self.crea...
[ "0.63733524", "0.60968757", "0.59381574", "0.5849364", "0.5631473", "0.56290007", "0.5573641", "0.541416", "0.5320255", "0.5284916", "0.51846284", "0.5158538", "0.5151632", "0.5151632", "0.5151632", "0.5143142", "0.50983435", "0.5016219", "0.5011444", "0.48950619", "0.4868419...
0.64581627
0
Get catalog version data of given catalog version.
def get_interaction_model_catalog_version_v1(self, catalog_id, version, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CatalogVersionData_86156352] operation_name = "get_interaction_model_catalog_version_v1" params = locals...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getCatalog(self, version=None, level=None, cubeInfo=True):\n print('WaPOR API: Loading catalog WaPOR.v{v}_l{lv}...'.format(\n v=version, lv=level))\n self.isAPITokenSet()\n\n isFound = False\n\n # if isinstance(version, int) and isinstance(level, int):\n # prin...
[ "0.62205946", "0.6113081", "0.6053204", "0.6053204", "0.6001308", "0.59186375", "0.5852233", "0.5814686", "0.5786393", "0.57854307", "0.57852215", "0.57809806", "0.5762735", "0.5731641", "0.5727272", "0.5722372", "0.5708852", "0.56849897", "0.5638192", "0.56319714", "0.562760...
0.6464466
0
Update description and vendorGuidance string for certain version of a catalog.
def update_interaction_model_catalog_version_v1(self, catalog_id, version, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_interaction_model_catalog_version_v1" params = locals() for key, val...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_version(self, version):\n self.version = CPE.escape_for_cpe23_fs(version)", "def update_catalog(self, old_catalog_name, new_catalog_name, description):\n if self.resource is None:\n self.resource = self.client.get_resource(self.href)\n org = self.resource\n links...
[ "0.59372604", "0.5775736", "0.5540873", "0.54796237", "0.5477677", "0.5430208", "0.5392651", "0.5390106", "0.53523046", "0.52021545", "0.516703", "0.516703", "0.51668245", "0.51529455", "0.5147553", "0.5118616", "0.5107326", "0.5091077", "0.50901943", "0.50576526", "0.5037927...
0.48416382
51
Get catalog values from the given catalogId & version.
def get_interaction_model_catalog_values_v1(self, catalog_id, version, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, CatalogValues_ef5c3823, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_interaction_model_catalog_values_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_interaction_model_catalog_version_v1(self, catalog_id, version, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CatalogVersionData_86156352]\n operation_name = \"get_interaction_model_catalog_version_v1\"\n param...
[ "0.6146063", "0.6006047", "0.59264326", "0.58870983", "0.567133", "0.5622799", "0.5576962", "0.55423224", "0.55372685", "0.5530066", "0.53972703", "0.539612", "0.53943086", "0.53748065", "0.53272104", "0.5325469", "0.52881753", "0.52529997", "0.523602", "0.523346", "0.5219220...
0.6545546
0
List all catalogs for the vendor.
def list_interaction_model_catalogs_v1(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ListCatalogResponse_bc059ec9] operation_name = "list_interaction_model_catalogs_v1" params = locals() for key, val in...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_catalogs(self):\n return self._json_object_field_to_list(\n self._get_catalogs_json(), self.__MISSION_STRING)", "def getCatalogs():", "def catalogs(env):\n envs = environments()\n check_env(env, envs)\n\n if app.config['ENABLE_CATALOG']:\n nodenames = []\n cata...
[ "0.7158562", "0.69221216", "0.6915716", "0.68545544", "0.6792827", "0.675413", "0.6733325", "0.67295116", "0.6523866", "0.62454945", "0.62088174", "0.61757505", "0.6172915", "0.6139995", "0.6055511", "0.60350305", "0.5998302", "0.59805596", "0.59683645", "0.5968253", "0.59298...
0.6049453
15
Create a new version of catalog within the given catalogId.
def create_interaction_model_catalog_v1(self, catalog, **kwargs): # type: (DefinitionData_ccdbb3c2, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CatalogResponse_2f6fe800] operation_name = "create_interaction_model_catalog_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_interaction_model_catalog_version_v1(self, catalog_id, catalog, **kwargs):\n # type: (str, VersionData_af79e8d3, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"create_interaction_model_catalog_version_v1\"\n params = lo...
[ "0.67172396", "0.66241366", "0.6411221", "0.61139303", "0.60931635", "0.60772866", "0.59919316", "0.58426154", "0.56691957", "0.5585019", "0.55460954", "0.54605365", "0.54605365", "0.54605365", "0.5314542", "0.5303763", "0.5287909", "0.52464443", "0.52163446", "0.5205255", "0...
0.5686495
8
Retrieve a list of jobs associated with the vendor.
def list_job_definitions_for_interaction_model_v1(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ListJobDefinitionsResponse_72319c0d] operation_name = "list_job_definitions_for_interaction_model_v1" params = loc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_jobs(self, *, params: Optional[dict] = None) -> \"resource_types.Jobs\":\n\n return communicator.Jobs(self.__requester).fetch(parameters=params)", "def get(self):\n # TODO: auth\n return list(self.app.db.jobs.find())", "def list(self):\n return self.rpc.call(MsfRpcMethod.Job...
[ "0.7291608", "0.69925505", "0.6880532", "0.6698291", "0.66716564", "0.66716564", "0.6660289", "0.6633545", "0.6621875", "0.65883094", "0.65588325", "0.6556093", "0.65427774", "0.65037537", "0.6496412", "0.6480267", "0.64755046", "0.6452756", "0.6444116", "0.6433561", "0.64279...
0.0
-1
Delete the job definition for a given jobId.
def delete_job_definition_for_interaction_model_v1(self, job_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ValidationErrors_d42055a1] operation_name = "delete_job_definition_for_interaction_model_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def deleteJob(self, jobId):\n params = {'id': jobId}\n try:\n return self.gc.delete(JobUtils.JOB_ID_PATH, parameters=params)\n except HttpError as e:\n if e.status == 400:\n print('Error. invalid job id:', jobId)\n return {}\n rais...
[ "0.776538", "0.69487464", "0.67257804", "0.6569185", "0.6358254", "0.6356169", "0.63473725", "0.6223486", "0.61744577", "0.6167269", "0.6128005", "0.61120254", "0.60218483", "0.5904059", "0.5878817", "0.58508754", "0.5848758", "0.5846264", "0.58318806", "0.5806238", "0.577576...
0.62825876
7
Cancel the next execution for the given job.
def cancel_next_job_execution_for_interaction_model_v1(self, job_id, execution_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ValidationErrors_d42055a1] operation_name = "cancel_next_job_execution_for_interaction_model_v1" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cancel_job(self, job):\n try:\n self.jobs.remove(job)\n except ValueError:\n pass", "def cancel_job(self, job_number):\n raise NotImplementedError", "def cancel(self):\n\t\treturn Job(SDK.PrlJob_Cancel(self.handle)[0])", "def cancel(self):\n\n query = f\"...
[ "0.7577824", "0.7468433", "0.7320865", "0.71402466", "0.7097104", "0.70489913", "0.6969692", "0.6949908", "0.6710146", "0.6681619", "0.6592763", "0.6591822", "0.65766555", "0.65526205", "0.64918023", "0.64052373", "0.6394784", "0.6375734", "0.6370267", "0.63503754", "0.634744...
0.57971805
77
List the execution history associated with the job definition, with default sortField to be the executions' timestamp.
def list_job_executions_for_interaction_model_v1(self, job_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, GetExecutionsResponse_1b1a1680, BadRequestError_f854b05] operation_name = "list_job_executions_for_interaction_model_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getJobHistory(self,jobname):\n\t\tpass", "def QueryHistory(self):\n return []", "def get_order_history(self):\n return self.__call__('orders', 'getorderhistory')", "def list_history(request):\n history = History.objects\n\n if not is_admin(request.user):\n history = history.filter(submitte...
[ "0.6432327", "0.6255558", "0.6254912", "0.6219909", "0.6207774", "0.6167363", "0.6165436", "0.6160107", "0.61468214", "0.614208", "0.6073809", "0.603555", "0.6023323", "0.6022704", "0.6022704", "0.59630734", "0.5945689", "0.5932497", "0.5910073", "0.5899983", "0.5894332", "...
0.0
-1
Get the job definition for a given jobId.
def get_job_definition_for_interaction_model_v1(self, job_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, JobDefinition_ee5db797, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_job_definition_for_interaction_model_v1" params = locals() for ke...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getJob(appName, jobId):\n jobs = db.getJobs(jobId=jobId)\n job = None if len(jobs) == 0 else jobs[0]\n k3job = dispatcher.getJob(int(jobId))\n\n if job == None:\n return returnError(\"Job ID, %s, does not exist\" % jobId, 404)\n\n thisjob = dict(job, url=dispatcher.getSandboxURL(jobId))\n ...
[ "0.6733971", "0.66941005", "0.6649771", "0.6326726", "0.6157881", "0.61231804", "0.6093605", "0.603794", "0.599705", "0.5994838", "0.5956366", "0.5933748", "0.5930244", "0.59101045", "0.58962494", "0.583849", "0.5829483", "0.5825037", "0.58040255", "0.5797566", "0.57620466", ...
0.61414254
5
Update the JobStatus to Enable or Disable a job.
def set_job_status_for_interaction_model_v1(self, job_id, update_job_status_request, **kwargs): # type: (str, UpdateJobStatusRequest_f2d8379d, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ValidationErrors_d42055a1] operation_name = "set_job_status_for_interac...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __set_job_status(self, job: Job):\n\n self.redis_client.set(f'jobstatus:{job.id}:{str(job.status)}', f'job:{job.id}')", "def update_job_status(jid, new_status):\n jrd.hset(_generate_job_key(jid), 'status', new_status)", "def update_job_status(jid, new_status):\n rd.hset(_generate_job_key(jid),...
[ "0.73673725", "0.7299779", "0.7271017", "0.7032461", "0.7009775", "0.6810344", "0.6698752", "0.6694051", "0.6631263", "0.6483325", "0.64221215", "0.6296382", "0.61917025", "0.615388", "0.61106145", "0.6102359", "0.60991263", "0.60453945", "0.5994327", "0.59565735", "0.5954076...
0.6118192
14
Creates a new Job Definition from the Job Definition request provided. This can be either a CatalogAutoRefresh, which supports timebased configurations for catalogs, or a ReferencedResourceVersionUpdate, which is used for slotTypes and Interaction models to be automatically updated on the dynamic update of their refere...
def create_job_definition_for_interaction_model_v1(self, create_job_definition_request, **kwargs): # type: (CreateJobDefinitionRequest_e3d4c41, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CreateJobDefinitionResponse_efaa9a6f, ValidationErrors_d42055a1] opera...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _build_create_job_definition_request(\n self,\n monitoring_schedule_name,\n job_definition_name,\n image_uri,\n latest_baselining_job_name=None,\n latest_baselining_job_config=None,\n existing_job_desc=None,\n endpoint_input=None,\n ground_truth_in...
[ "0.7011716", "0.6262502", "0.60106415", "0.59811646", "0.59107107", "0.5779581", "0.5768893", "0.5693051", "0.5675572", "0.56623316", "0.56285715", "0.5569513", "0.5486852", "0.5481721", "0.5459425", "0.5407388", "0.53674847", "0.5330379", "0.5303417", "0.5297281", "0.5273973...
0.67803115
1
List all slot types for the vendor.
def list_interaction_model_slot_types_v1(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListSlotTypeResponse_b426c805, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "list_interaction_model_slot_types_v1" params = locals() for key, v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_potential_classes_for_slot(slot_number):\n return [\"econ\", \"biz\", \"wtf\"]", "def GetAllSlots(cls):\n slots = []\n for parent in cls.__mro__:\n slots.extend(getattr(parent, \"__slots__\", []))\n return slots", "def getTypesList():\n return Gw2Spidy._request('types')['results...
[ "0.5957767", "0.57510084", "0.56942004", "0.56164825", "0.55939275", "0.5561666", "0.5548958", "0.55201614", "0.5444181", "0.543892", "0.5423173", "0.54023176", "0.5392513", "0.5391163", "0.5385374", "0.53549826", "0.53284764", "0.53130853", "0.52963626", "0.5290598", "0.5286...
0.65238047
0
Create a new version of slot type within the given slotTypeId.
def create_interaction_model_slot_type_v1(self, slot_type, **kwargs): # type: (DefinitionData_dad4effb, **Any) -> Union[ApiResponse, object, SlotTypeResponse_1ca513dc, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_interaction_model_slot_type_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_interaction_model_slot_type_version_v1(self, slot_type_id, slot_type, **kwargs):\n # type: (str, VersionData_faa770c8, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"create_interaction_model_slot_type_version_v1\"\n par...
[ "0.6634029", "0.5734478", "0.55027074", "0.54875815", "0.5442675", "0.53843546", "0.5305201", "0.52553576", "0.5187946", "0.5171874", "0.51383734", "0.51134545", "0.5109183", "0.5080171", "0.5068835", "0.5044356", "0.5031533", "0.49719235", "0.495085", "0.49283054", "0.492601...
0.6622921
1
Delete the slot type.
def delete_interaction_model_slot_type_v1(self, slot_type_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "delete_interaction_model_slot_type_v1" params = locals() for key, val in six.iteritems(params...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def remove_type(self, name):\n del self.types[name]", "def type(self):\n ida_bytes.del_items(self.ea)", "def removeType(self, name):\n delattr(self, name)\n try:\n del self._type_names[name]\n except ValueError:\n pass", "def delete(cls, type_obj):\n ...
[ "0.638149", "0.6239823", "0.6080558", "0.6049676", "0.60330087", "0.6005915", "0.5982221", "0.59309065", "0.59063286", "0.5892682", "0.5870901", "0.58697253", "0.5854464", "0.58537173", "0.585165", "0.5848346", "0.579543", "0.5775421", "0.5773731", "0.5757727", "0.57050896", ...
0.69324857
0
Get the slot type definition.
def get_interaction_model_slot_type_definition_v1(self, slot_type_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, SlotTypeDefinitionOutput_20e87f7, BadRequestError_f854b05] operation_name = "get_interaction_model_slot_type_definition_v1" params = loc...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getDefinition(self, type=None):\n\n if type is None:\n return self.definitions['None']\n try:\n return self.definitions[type]\n except KeyError:\n return self.definitions['None']", "def get_slot_definition(self, slot: DeckSlotName) -> SlotDefV3:\n ...
[ "0.6754375", "0.61281437", "0.6105955", "0.60216135", "0.6002419", "0.59822404", "0.5979925", "0.59779984", "0.5976322", "0.59741217", "0.59307176", "0.59267306", "0.5876768", "0.58651626", "0.58583635", "0.5856294", "0.5843073", "0.5843073", "0.58384514", "0.58371776", "0.58...
0.659528
1
Update description and vendorGuidance string for certain version of a slot type.
def update_interaction_model_slot_type_v1(self, slot_type_id, update_request, **kwargs): # type: (str, UpdateRequest_43de537, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_interaction_model_slot_type_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_interaction_model_slot_type_version_v1(self, slot_type_id, slot_type, **kwargs):\n # type: (str, VersionData_faa770c8, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"create_interaction_model_slot_type_version_v1\"\n par...
[ "0.58882064", "0.57370085", "0.5721139", "0.5662879", "0.5257398", "0.5220617", "0.51966375", "0.51865333", "0.5141675", "0.50459707", "0.4976287", "0.49706566", "0.48739982", "0.4854025", "0.4838871", "0.48268113", "0.48246685", "0.47495314", "0.47399426", "0.47180143", "0.4...
0.5415121
4
Get the status of slot type resource and its subresources for a given slotTypeId.
def get_interaction_model_slot_type_build_status_v1(self, slot_type_id, update_request_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, SlotTypeStatus_a293ebfc, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_interaction_model_slot_type_build_status_v1" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def SlotStatus(rangeInfo):\n if rangeInfo >= 3 and rangeInfo <= 10:\n \"\"\" Full Slot \"\"\"\n status = 1\n return status\n else:\n \"\"\" Empty Slot \"\"\"\n status = 0\n return status", "def list_interaction_model_slot_type_versions_v1(self, slot_type_id, **kwar...
[ "0.5389657", "0.52319205", "0.52153623", "0.5146299", "0.503496", "0.49674195", "0.49453658", "0.4932707", "0.48663652", "0.48232716", "0.48213974", "0.47881374", "0.47817594", "0.47817594", "0.47557944", "0.47314698", "0.471271", "0.4682415", "0.46182647", "0.46158686", "0.4...
0.6065341
0
List all slot type versions for the slot type id.
def list_interaction_model_slot_type_versions_v1(self, slot_type_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, ListSlotTypeVersionResponse_7d552abf, BadRequestError_f854b05] operation_name = "list_interaction_model_slot_type_versions_v1" params = l...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_interaction_model_slot_type_version_v1(self, slot_type_id, version, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, SlotTypeVersionData_1f3ee474]\n operation_name = \"get_interaction_model_slot_type_version_v1\"\n ...
[ "0.6106796", "0.6043508", "0.59520197", "0.58241546", "0.5630513", "0.5481223", "0.54357177", "0.53851986", "0.53153414", "0.52639025", "0.5244154", "0.5198423", "0.5193687", "0.51933515", "0.51930255", "0.51110554", "0.5060837", "0.5051601", "0.50498486", "0.5047052", "0.504...
0.752099
0
Create a new version of slot type entity for the given slotTypeId.
def create_interaction_model_slot_type_version_v1(self, slot_type_id, slot_type, **kwargs): # type: (str, VersionData_faa770c8, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_interaction_model_slot_type_version_v1" params = loca...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_interaction_model_slot_type_v1(self, slot_type, **kwargs):\n # type: (DefinitionData_dad4effb, **Any) -> Union[ApiResponse, object, SlotTypeResponse_1ca513dc, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"create_interaction_model_slot_type_v1\"\n params =...
[ "0.6595384", "0.5778384", "0.56464463", "0.54920423", "0.5468983", "0.5460118", "0.5449998", "0.52916855", "0.52558595", "0.5233566", "0.50949", "0.5021223", "0.49814785", "0.49695474", "0.496029", "0.4954763", "0.48741883", "0.4864564", "0.48532182", "0.48508102", "0.4816370...
0.6711128
0
Delete slot type version.
def delete_interaction_model_slot_type_version_v1(self, slot_type_id, version, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "delete_interaction_model_slot_type_version_v1" params = locals() for ke...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_version(self):\n pass", "def delete_interaction_model_slot_type_v1(self, slot_type_id, **kwargs):\n # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"delete_interaction_model_slot_type_v1\"\n params ...
[ "0.69133455", "0.65906924", "0.58580124", "0.5852691", "0.58427644", "0.5832888", "0.5797444", "0.5750808", "0.56815904", "0.56198233", "0.55722696", "0.55600405", "0.5533061", "0.5531285", "0.54934555", "0.54884666", "0.547365", "0.54593927", "0.54386854", "0.5433934", "0.54...
0.7003186
0
Get slot type version data of given slot type version.
def get_interaction_model_slot_type_version_v1(self, slot_type_id, version, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, SlotTypeVersionData_1f3ee474] operation_name = "get_interaction_model_slot_type_version_v1" params =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def v(self, n):\n\n if n == 0:\n return None\n if n < self.maxSlot + 1:\n return self.slotType\n m = n - self.maxSlot\n if m <= len(self.data):\n return self.data[m - 1]\n return None", "def create_interaction_model_slot_type_version_v1(self, sl...
[ "0.61960006", "0.57121027", "0.56872183", "0.5595791", "0.54473484", "0.54208326", "0.5415714", "0.540754", "0.53402525", "0.5313842", "0.52186906", "0.5184387", "0.51615036", "0.51375926", "0.51199", "0.5100999", "0.5041112", "0.5034288", "0.49926922", "0.49520558", "0.49520...
0.675903
0
Update description and vendorGuidance string for certain version of a slot type.
def update_interaction_model_slot_type_version_v1(self, slot_type_id, version, slot_type_update, **kwargs): # type: (str, str, SlotTypeUpdate_ae01835f, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_interaction_model_slot_type_version_v...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_interaction_model_slot_type_version_v1(self, slot_type_id, slot_type, **kwargs):\n # type: (str, VersionData_faa770c8, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"create_interaction_model_slot_type_version_v1\"\n par...
[ "0.58882064", "0.57370085", "0.5662879", "0.5415121", "0.5257398", "0.5220617", "0.51966375", "0.51865333", "0.5141675", "0.50459707", "0.4976287", "0.49706566", "0.48739982", "0.4854025", "0.4838871", "0.48268113", "0.48246685", "0.47495314", "0.47399426", "0.47180143", "0.4...
0.5721139
2
Get status for given exportId
def get_status_of_export_request_v1(self, export_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, ExportResponse_b235e7bd, BadRequestError_f854b05] operation_name = "get_status_of_export_request_v1" params = locals() for key, val in six.iterit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def export_status(self, file_id):\n response = self._client.get('workbenches/export/%(file_id)s/status',\n path_params={'file_id': file_id})\n return loads(response.text).get('status')", "def get_saved_export_task_status(export_instance_id):\n download_data = _...
[ "0.7776604", "0.7092862", "0.64993304", "0.63461673", "0.6052577", "0.5971435", "0.5971435", "0.5971435", "0.5963773", "0.5928435", "0.59193844", "0.59080124", "0.58882815", "0.5854426", "0.58525026", "0.57928383", "0.5773416", "0.5765656", "0.5734828", "0.5719634", "0.569824...
0.70687115
2
Get the list of skills for the vendor.
def list_skills_for_vendor_v1(self, vendor_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListSkillResponse_527462d0, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "list_skills_for_vendor_v1" params = locals() for key, val in six.iteritems(param...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def skills():\n with app.app_context():\n results = Skill.query.all()\n return SkillsResponse(skills=results).json(), 200", "def getSkills(self):\n return self.skills", "def skills(self):\n if \"skills\" in self._prop_dict:\n return self._prop_dict[\"skills\"]\n els...
[ "0.75317395", "0.7154471", "0.68886983", "0.67157114", "0.6646281", "0.64964694", "0.6442134", "0.6383055", "0.63199073", "0.6274555", "0.6150083", "0.60554814", "0.6008736", "0.59920895", "0.596971", "0.5863025", "0.5856984", "0.5742623", "0.5642395", "0.5628395", "0.5564171...
0.70754886
2
Get status for given importId.
def get_import_status_v1(self, import_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, ImportResponse_364fa39f] operation_name = "get_import_status_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetImportStatus(self, table_name, import_id):\n conn = self._Connect()\n result = conn.Call(\n dict(method='bigquery.imports.get',\n parents=[('tables', table_name)],\n collection='imports',\n operation=bq.REST.GET,\n resource_name=import_id,\n ...
[ "0.7933597", "0.68047285", "0.6748428", "0.64408904", "0.6373497", "0.6065455", "0.60640645", "0.60167086", "0.5936407", "0.5853885", "0.57882464", "0.57276386", "0.5698958", "0.56675047", "0.5657032", "0.56455195", "0.560577", "0.5524094", "0.55119205", "0.5497134", "0.54963...
0.7191057
1
Creates a new import for a skill.
def create_skill_package_v1(self, create_skill_with_package_request, **kwargs): # type: (CreateSkillWithPackageRequest_cd7f22be, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_skill_package_v1" params = locals() for key,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create(self):\n # type: () -> AbstractSkill\n raise NotImplementedError", "def load(self, skillName):\r\n es.load(\"%s/skills/%s\" % (info.basename, skillName))", "def new_skill_interaction(self, skill):\n self.skill_interact[skill] = True", "def insert_skills(cursor):\n # ...
[ "0.56432635", "0.5523012", "0.55113983", "0.545399", "0.5363738", "0.5351306", "0.5343436", "0.533496", "0.53243107", "0.5242413", "0.516396", "0.5104507", "0.5094911", "0.50770485", "0.49861833", "0.49819267", "0.49773574", "0.49586034", "0.49283034", "0.49260917", "0.491524...
0.50108206
14
Creates a new skill for given vendorId.
def create_skill_for_vendor_v1(self, create_skill_request, **kwargs): # type: (CreateSkillRequest_92e74e84, **Any) -> Union[ApiResponse, object, CreateSkillResponse_2bad1094, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_skill_for_vendor_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_skills_for_vendor_v1(self, vendor_id, **kwargs):\n # type: (str, **Any) -> Union[ApiResponse, object, ListSkillResponse_527462d0, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"list_skills_for_vendor_v1\"\n params = locals()\n for key, val in six.iter...
[ "0.56765413", "0.566364", "0.5663285", "0.5602312", "0.55841464", "0.5244242", "0.5207224", "0.51427853", "0.51056373", "0.5064332", "0.5049388", "0.5019362", "0.49746248", "0.49152339", "0.48530075", "0.47677076", "0.47220677", "0.46827847", "0.46745673", "0.46149892", "0.46...
0.680146
0
GetResourceSchema API provides schema for skill related resources. The schema returned by this API will be specific to vendor because it considers public beta features allowed for the vendor.
def get_resource_schema_v1(self, resource, vendor_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, GetResourceSchemaResponse_9df87651, BadRequestError_f854b05] operation_name = "get_resource_schema_v1" params = locals() for key, val in six.iteritems(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_schema():\n if not os.path.isfile(_schema_file):\n create_schema()\n with open(_schema_file, 'r') as fd:\n out = decode_json(fd)\n return out", "def get_schema(self):\n response = self.client.get(self._get_collection_url('schema'))\n\n return response.get('schema', {}...
[ "0.59521794", "0.5908274", "0.57825756", "0.5744435", "0.5438769", "0.54080755", "0.54057866", "0.53965545", "0.5362591", "0.5359217", "0.53531814", "0.52605706", "0.52461493", "0.5244036", "0.5198851", "0.5177402", "0.5172437", "0.50903076", "0.5087525", "0.50371695", "0.503...
0.6104081
0
Get Alexa hosted skill's metadata
def get_alexa_hosted_skill_metadata_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, HostedSkillMetadata_b8976dfb, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_alexa_hosted_skill_metadata_v1" params = locals() for key, val in ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetMetadata(self):\n return self.dict['meta']", "def skill_information():\r\n\r\n client = boto3.client('iot-data', region_name='us-west-2')\r\n\r\n session_attributes = {}\r\n card_title = \"Welcome\"\r\n should_end_session = True\r\n reprompt_text = None\r\n\r\n if(is_online()):\r\n ...
[ "0.67026293", "0.65356696", "0.6275045", "0.6275045", "0.6225058", "0.6213747", "0.60990703", "0.6055278", "0.6043663", "0.60427964", "0.6016458", "0.5931292", "0.5906099", "0.5879801", "0.5874482", "0.58684653", "0.586746", "0.58586055", "0.58582175", "0.58549094", "0.585466...
0.61993444
6
Generates hosted skill repository credentials to access the hosted skill repository.
def generate_credentials_for_alexa_hosted_skill_v1(self, skill_id, hosted_skill_repository_credentials_request, **kwargs): # type: (str, HostedSkillRepositoryCredentialsRequest_79a1c791, **Any) -> Union[ApiResponse, object, HostedSkillRepositoryCredentialsList_d39d5fdf, StandardizedError_f5106a89, BadRequestErr...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_credentials(self):\r\n \r\n try:\r\n import argparse\r\n #flags = argparse.ArgumentParser(parents=[tools.argparser]).parse_args()\r\n if self.noauth == True:\r\n flags = tools.argparser.parse_args(args=['--noauth_local_webserver'])\r\n ...
[ "0.5910984", "0.58889234", "0.5878909", "0.58545816", "0.58484316", "0.5845955", "0.57923484", "0.57289153", "0.5717822", "0.5663259", "0.56557184", "0.56421167", "0.5642021", "0.5642021", "0.56393", "0.56220835", "0.5617574", "0.5574237", "0.5557065", "0.55498415", "0.553946...
0.6119863
0
End beta test. End a beta test for a given Alexa skill. System will revoke the entitlement of each tester and send accessend notification email to them.
def end_beta_test_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "end_beta_test_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = val del par...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def trial_end(self, parameter_id, success, **kwargs):", "def end_test(self, name, attributes):\n test = Test(name=name, attributes=attributes)\n self.current_scope = \"SUITE\"\n if self._suite_setup_failed:\n # If test failed because of failing suite setup, output log message with...
[ "0.5841196", "0.58019316", "0.5657902", "0.5640518", "0.5543084", "0.55353415", "0.54623264", "0.5451301", "0.5403376", "0.53503865", "0.53335947", "0.53321385", "0.5331289", "0.533081", "0.5317022", "0.5311898", "0.5311898", "0.5286873", "0.5272455", "0.52439624", "0.5236723...
0.6728911
0
Get beta test. Get beta test for a given Alexa skill.
def get_beta_test_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BetaTest_e826b162, BadRequestError_f854b05] operation_name = "get_beta_test_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_beta_test_v1(self, skill_id, **kwargs):\n # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"update_beta_test_v1\"\n params = locals()\n for key, val in six.iteritems(params['kwargs']):\n params[key] = v...
[ "0.62065864", "0.60728866", "0.5912442", "0.5846177", "0.5846177", "0.5825687", "0.57786304", "0.5759203", "0.5674933", "0.56633794", "0.54740316", "0.5328713", "0.5317437", "0.5276266", "0.52476704", "0.52083284", "0.5155649", "0.51427096", "0.51348656", "0.51102877", "0.508...
0.72415125
0
Create beta test. Create a beta test for a given Alexa skill.
def create_beta_test_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "create_beta_test_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = val d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_beta_test_v1(self, skill_id, **kwargs):\n # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"update_beta_test_v1\"\n params = locals()\n for key, val in six.iteritems(params['kwargs']):\n params[key] = v...
[ "0.67994094", "0.65799725", "0.6277017", "0.60846496", "0.5496496", "0.5472379", "0.54534733", "0.53817886", "0.5377961", "0.5373045", "0.5372878", "0.53613985", "0.5318546", "0.52971", "0.5256494", "0.5179809", "0.51281613", "0.50656486", "0.50383884", "0.5002523", "0.499946...
0.7222054
0
Update beta test. Update a beta test for a given Alexa skill.
def update_beta_test_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "update_beta_test_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = val d...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def end_beta_test_v1(self, skill_id, **kwargs):\n # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"end_beta_test_v1\"\n params = locals()\n for key, val in six.iteritems(params['kwargs']):\n params[key] = val\n ...
[ "0.6030136", "0.59667206", "0.5931028", "0.57376856", "0.5693456", "0.5592109", "0.5580282", "0.5520951", "0.54991055", "0.54870695", "0.5486362", "0.54673177", "0.5458189", "0.54581165", "0.54083073", "0.5290761", "0.5281577", "0.5252588", "0.52507883", "0.5238994", "0.51973...
0.69719386
0
Start beta test Start a beta test for a given Alexa skill. System will send invitation emails to each tester in the test, and add entitlement on the acceptance.
def start_beta_test_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "start_beta_test_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = val del...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_beta_test_v1(self, skill_id, **kwargs):\n # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"create_beta_test_v1\"\n params = locals()\n for key, val in six.iteritems(params['kwargs']):\n params[key] = v...
[ "0.58114564", "0.57895595", "0.55495626", "0.5533645", "0.55101997", "0.55059665", "0.5502358", "0.5391071", "0.5317593", "0.52452296", "0.52154356", "0.5197792", "0.5160328", "0.5117921", "0.50091255", "0.49877074", "0.49205288", "0.49053085", "0.49028757", "0.48723567", "0....
0.6586409
0
Add testers to an existing beta test. Add testers to a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.
def add_testers_to_beta_test_v1(self, skill_id, testers_request, **kwargs): # type: (str, TestersList_f8c0feda, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "add_testers_to_beta_test_v1" params = locals() for key, val in six.iteritems(par...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def send_beta_role_email(action, user, email_params):\r\n if action == 'add':\r\n email_params['message'] = 'add_beta_tester'\r\n email_params['email_address'] = user.email\r\n email_params['full_name'] = user.profile.name\r\n\r\n elif action == 'remove':\r\n email_params['message...
[ "0.5863338", "0.5774639", "0.572012", "0.5425559", "0.53766775", "0.532046", "0.5312371", "0.53067374", "0.5284947", "0.52377874", "0.52059793", "0.51717895", "0.51412475", "0.50801593", "0.5077373", "0.50261235", "0.49931276", "0.4890633", "0.48818922", "0.4881252", "0.48752...
0.74168843
0
List testers. List all testers in a beta test for the given Alexa skill.
def get_list_of_testers_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05, ListTestersResponse_991ec8e9] operation_name = "get_list_of_testers_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_tests(arn=None, nextToken=None):\n pass", "def add_testers_to_beta_test_v1(self, skill_id, testers_request, **kwargs):\n # type: (str, TestersList_f8c0feda, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"add_testers_to_beta_test_v1\"\n...
[ "0.6136159", "0.60158587", "0.5808102", "0.5689838", "0.5637473", "0.5607448", "0.55265653", "0.55152833", "0.53794444", "0.5343225", "0.51300997", "0.50666624", "0.50428826", "0.5004781", "0.49133348", "0.4888233", "0.4852565", "0.48202467", "0.4814024", "0.48007804", "0.479...
0.7114685
0
Remove testers from an existing beta test. Remove testers from a beta test for the given Alexa skill. System will send access end email to each tester and remove entitlement for them.
def remove_testers_from_beta_test_v1(self, skill_id, testers_request, **kwargs): # type: (str, TestersList_f8c0feda, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "remove_testers_from_beta_test_v1" params = locals() for key, val in six.ite...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def add_testers_to_beta_test_v1(self, skill_id, testers_request, **kwargs):\n # type: (str, TestersList_f8c0feda, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05]\n operation_name = \"add_testers_to_beta_test_v1\"\n params = locals()\n for key, val in six.it...
[ "0.5587914", "0.5545338", "0.5255967", "0.52048516", "0.5184266", "0.5123379", "0.51225615", "0.5080352", "0.5048985", "0.50268716", "0.50224525", "0.4944203", "0.49367338", "0.4936156", "0.49318147", "0.49284622", "0.49223253", "0.48844877", "0.48799017", "0.4877814", "0.487...
0.73148805
0
Request feedback from testers. Request feedback from the testers in a beta test for the given Alexa skill. System will send notification emails to testers to request feedback.
def request_feedback_from_testers_v1(self, skill_id, testers_request, **kwargs): # type: (str, TestersList_f8c0feda, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "request_feedback_from_testers_v1" params = locals() for key, val in six.ite...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_give_feedback_handler(self):\n self.signup(self.VIEWER_EMAIL, self.VIEWER_USERNAME)\n\n # Load demo exploration\n EXP_ID = '0'\n exp_services.delete_demo('0')\n exp_services.load_demo('0')\n\n # Viewer opens exploration\n self.login(self.VIEWER_EMAIL)\n ...
[ "0.61726403", "0.59941983", "0.58779436", "0.5732865", "0.5594313", "0.5457946", "0.542713", "0.5394584", "0.538811", "0.5345523", "0.525281", "0.5199641", "0.5169725", "0.5158993", "0.5149139", "0.50917864", "0.50792634", "0.5022492", "0.500505", "0.4993744", "0.4993744", ...
0.67167854
0
Send reminder to testers in a beta test. Send reminder to the testers in a beta test for the given Alexa skill. System will send invitation email to each tester and add entitlement on the acceptance.
def send_reminder_to_testers_v1(self, skill_id, testers_request, **kwargs): # type: (str, TestersList_f8c0feda, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05] operation_name = "send_reminder_to_testers_v1" params = locals() for key, val in six.iteritems(par...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def send_beta_role_email(action, user, email_params):\r\n if action == 'add':\r\n email_params['message'] = 'add_beta_tester'\r\n email_params['email_address'] = user.email\r\n email_params['full_name'] = user.profile.name\r\n\r\n elif action == 'remove':\r\n email_params['message...
[ "0.6361374", "0.613323", "0.5981242", "0.5869986", "0.57592195", "0.5738662", "0.56054765", "0.5593407", "0.5553443", "0.5533721", "0.55045986", "0.54965943", "0.54770523", "0.54706186", "0.54577374", "0.5449847", "0.5438888", "0.53768194", "0.5370345", "0.53675", "0.5366505"...
0.6360512
1
Gets a specific certification resource. The response contains the review tracking information for a skill to show how much time the skill is expected to remain under review by Amazon. Once the review is complete, the response also contains the outcome of the review. Old certifications may not be available, however any ...
def get_certification_review_v1(self, skill_id, certification_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, CertificationResponse_97fdaad, BadRequestError_f854b05] operation_name = "get_certification_review_v1" params = locals() for key, val in si...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def request_cert():\n\n api_request = shallow_copy(props)\n\n for key in ['ServiceToken', 'Region', 'Tags', 'Route53RoleArn']:\n api_request.pop(key, None)\n\n if 'ValidationMethod' in props:\n if props['ValidationMethod'] == 'DNS':\n\n # Check that we have...
[ "0.5620197", "0.56174594", "0.5616601", "0.55258906", "0.5468792", "0.5397545", "0.5397481", "0.5392902", "0.53675646", "0.53584164", "0.5347854", "0.5339154", "0.5308388", "0.5274523", "0.52729917", "0.52729917", "0.52595717", "0.5217682", "0.51913583", "0.51272845", "0.5117...
0.7220724
0
Get list of all certifications available for a skill, including information about past certifications and any ongoing certification. The default sort order is descending on skillSubmissionTimestamp for Certifications.
def get_certifications_list_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05, ListCertificationsResponse_f2a417c6] operation_name = "get_certifications_list_v1" params = locals() for key, val in six.iteritems(params[...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getCertifications(self):\n return [c for c in self.objectValues('InstrumentCertification') if c]", "def getValidCertifications(self):\n certs = []\n today = date.today()\n for c in self.getCertifications():\n validfrom = c.getValidFrom() if c else None\n vali...
[ "0.6214057", "0.588732", "0.5573819", "0.5352922", "0.5189842", "0.5186954", "0.51683956", "0.51323736", "0.4976819", "0.49328792", "0.49286246", "0.4897881", "0.48967645", "0.4860845", "0.48502275", "0.47953802", "0.47909367", "0.47909367", "0.4778207", "0.4773883", "0.47656...
0.64700496
0
Get the client credentials for the skill.
def get_skill_credentials_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, SkillCredentials_a0f29ab1, StandardizedError_f5106a89] operation_name = "get_skill_credentials_v1" params = locals() for key, val in six.iteritems(params['kwargs']): par...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_credentials():\n store = Storage(CREDENTIAL_PATH)\n credentials = store.get()\n if not credentials or credentials.invalid:\n flow = client.flow_from_clientsecrets(CLIENT_SECRET_FILE, SCOPES)\n flow.user_agent = APPLICATION_NAME\n credentials = tools.run_flow(flow, store, None)...
[ "0.71183974", "0.7040505", "0.6986467", "0.6819112", "0.6801401", "0.6746724", "0.6698499", "0.66541725", "0.6647859", "0.66109496", "0.66101664", "0.65356505", "0.65211594", "0.6521077", "0.6515439", "0.65115696", "0.650605", "0.6496887", "0.6481387", "0.6481387", "0.6475491...
0.640914
29
Delete the skill and model for given skillId.
def delete_skill_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "delete_skill_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = val ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_skill(id, skill):\n with app.app_context():\n user = User.query.get(id)\n if user is None:\n return \"User not found\", 404\n skill_db = Skill.query.filter_by(name=skill).first()\n if skill_db is None:\n return \"Skill not found\", 404\n user.s...
[ "0.7674108", "0.6900962", "0.6682324", "0.66649324", "0.6524976", "0.6332056", "0.63107145", "0.6024632", "0.59058607", "0.5821246", "0.57590455", "0.571122", "0.5677691", "0.5543562", "0.55386305", "0.5529298", "0.5438224", "0.5388691", "0.53773963", "0.5344189", "0.53133136...
0.6803649
2
Deletes an existing experiment for a skill.
def delete_experiment_v1(self, skill_id, experiment_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "delete_experiment_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete(ctx):\n user, project_name, _experiment = get_project_experiment_or_local(ctx.obj.get('project'),\n ctx.obj.get('experiment'))\n if not click.confirm(\"Are sure you want to delete experiment `{}`\".format(_experiment)):\n ...
[ "0.75951886", "0.70176864", "0.6887585", "0.6750253", "0.66612613", "0.66010493", "0.64526707", "0.64486927", "0.6433302", "0.62364894", "0.60881037", "0.60593563", "0.59835654", "0.58690006", "0.5865851", "0.58418304", "0.5839061", "0.5823958", "0.5795506", "0.57483846", "0....
0.7176662
1
Updates the exposure of an experiment that is in CREATED or RUNNING state.
def update_exposure_v1(self, skill_id, experiment_id, update_exposure_request, **kwargs): # type: (str, str, UpdateExposureRequest_ce52ce53, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_exposure_v1" params = locals() f...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_exposure(self, exposure):\n self.logger.info(f'Setting exposure to {exposure}')\n self._driver.ExposureTime.SetValue(exposure)", "def expose(self):\n\n ## Determine type of exposure (exp, series, stack)\n exptype = str(self.exptypeComboBox.currentText())\n mode = self.m...
[ "0.62713146", "0.61086863", "0.5796227", "0.56842786", "0.56367266", "0.55775315", "0.5473165", "0.5465806", "0.54192114", "0.5390392", "0.5371606", "0.53087795", "0.5306276", "0.52943015", "0.5248691", "0.5242781", "0.52340454", "0.52296704", "0.5219299", "0.5186737", "0.511...
0.6274165
0
Retrieves an existing experiment for a skill.
def get_experiment_v1(self, skill_id, experiment_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, GetExperimentResponse_fcd92c35, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_experiment_v1" params = locals() for key, val in six.iteritem...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_experiment(self, experiment_name : str):\n return self._df[self._df.experiment == experiment_name]", "def _get_experiment_sqa(experiment_name: str, decoder: Decoder) -> SQAExperiment:\n exp_sqa_class = decoder.config.class_to_sqa_class[Experiment]\n with session_scope() as session:\n ...
[ "0.6250157", "0.6212274", "0.6107531", "0.6012024", "0.5999046", "0.5978549", "0.5974284", "0.59668237", "0.58823645", "0.5868586", "0.580707", "0.5796458", "0.5653181", "0.5620087", "0.561744", "0.55910045", "0.5584656", "0.5543348", "0.5502151", "0.54974264", "0.5459783", ...
0.7118195
0
Gets a list of all metric snapshots associated with this experiment id. The metric snapshots represent the metric data available for a time range.
def list_experiment_metric_snapshots_v1(self, skill_id, experiment_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ListExperimentMetricSnapshotsResponse_bb18308b] operation_name = "list_experiment_metric_snapshots_v1" pa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_snapshots(self) -> SnapshotListing:\n return self.snapshots", "def _list_snapshots(self):\n return self.resource.describe_snapshots(\n Filters=[\n {\n 'Name': 'tag:CreatedBy',\n 'Values': [\n 'AutomatedBa...
[ "0.6616442", "0.6442018", "0.62440395", "0.6232199", "0.6206233", "0.61672056", "0.6158984", "0.6068512", "0.60398465", "0.6002138", "0.59996754", "0.595634", "0.5944466", "0.59274113", "0.5893916", "0.5795772", "0.57936996", "0.5766292", "0.5766089", "0.5755341", "0.57362115...
0.68160546
0
Gets a list of all metric data associated with this experiment's metric snapshot.
def get_experiment_metric_snapshot_v1(self, skill_id, experiment_id, metric_snapshot_id, **kwargs): # type: (str, str, str, **Any) -> Union[ApiResponse, object, GetExperimentMetricSnapshotResponse_b6905a35, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_experiment_metric_snap...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_metrics(self):\n pass", "def get_metric_list(self) -> List[str]:\n ...", "def metrics(self) -> List[Metric]:\n return self._metrics", "def list_metrics(self):\n results = []\n if self.r.exists(self.metrics_key):\n keys = self.r.smembers(self.metrics_key)...
[ "0.7246265", "0.6939185", "0.692233", "0.69024307", "0.6813386", "0.67404544", "0.6738978", "0.66125387", "0.66125387", "0.6569007", "0.6556472", "0.65422374", "0.65222776", "0.6518526", "0.6505062", "0.6503318", "0.63451284", "0.6256707", "0.625478", "0.62460417", "0.6219528...
0.0
-1
Updates an existing experiment for a skill. Can only be called while the experiment is in CREATED state.
def update_experiment_v1(self, skill_id, experiment_id, update_experiment_request, **kwargs): # type: (str, str, UpdateExperimentRequest_d8449813, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_experiment_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update(self, request, pk=None):\n exp = Experiment.objects.get(pk=pk)\n serializer = ExperimentSerializer(exp, data=request.data)\n if serializer.is_valid():\n serializer.save()\n return send_response(request.method, serializer)", "def update(ctx, name, description, tag...
[ "0.68745476", "0.6748701", "0.67074144", "0.6631993", "0.6051414", "0.58201027", "0.57306343", "0.5718586", "0.5717914", "0.5670553", "0.5647306", "0.5542362", "0.5484", "0.54711837", "0.5465292", "0.54574466", "0.54118466", "0.54024833", "0.5390156", "0.5381335", "0.53402597...
0.70709527
0
Retrieves the current state of the experiment.
def get_experiment_state_v1(self, skill_id, experiment_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, GetExperimentStateResponse_5152b250, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_experiment_state_v1" params = locals() for key, va...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_state(self):\n return self.env.sim.get_state()", "def get_state(self):\r\n return self.currentObservation", "def get_state(self):\n return self._env.get_state()", "def get_state(self):\n return self.controller.get_state()", "def get_current_state(self):\n return s...
[ "0.7910478", "0.7819327", "0.7671146", "0.7528611", "0.7400455", "0.73742145", "0.73703474", "0.73513436", "0.73513436", "0.7308571", "0.7299559", "0.72972345", "0.7290986", "0.7290986", "0.7290986", "0.7290986", "0.7290986", "0.7290986", "0.7290986", "0.7290986", "0.7290986"...
0.0
-1
Retrieves the current user's customer treatment override for an existing A/B Test experiment. The current user must be under the same skill vendor of the requested skill id to have access to the resource.
def get_customer_treatment_override_v1(self, skill_id, experiment_id, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, GetCustomerTreatmentOverrideResponse_f64f689f, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_customer_treatment_override_v1" param...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_customer_treatment_override_v1(self, skill_id, experiment_id, set_customer_treatment_override_request, **kwargs):\n # type: (str, str, SetCustomerTreatmentOverrideRequest_94022e79, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"s...
[ "0.6317194", "0.4652294", "0.4624771", "0.46243167", "0.4533612", "0.44541585", "0.44269043", "0.4356287", "0.43488264", "0.4329361", "0.43277022", "0.4321323", "0.43182027", "0.43182027", "0.42814377", "0.42804077", "0.42282712", "0.4195337", "0.41915858", "0.4162887", "0.41...
0.7399519
0
Adds the requesting user's customer treatment override to an existing experiment. The current user must be under the same skill vendor of the requested skill id to have access to the resource. Only the current user can attempt to add the override of their own customer account to an experiment. Can only be called before...
def set_customer_treatment_override_v1(self, skill_id, experiment_id, set_customer_treatment_override_request, **kwargs): # type: (str, str, SetCustomerTreatmentOverrideRequest_94022e79, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "set_custo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_customer_treatment_override_v1(self, skill_id, experiment_id, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, GetCustomerTreatmentOverrideResponse_f64f689f, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"get_customer_treatment_override_v1\"\n ...
[ "0.62492144", "0.5331574", "0.5301613", "0.50894016", "0.5034513", "0.48581028", "0.48009104", "0.4797571", "0.47946864", "0.4712951", "0.46884036", "0.46781746", "0.4669593", "0.46669433", "0.4658773", "0.46532044", "0.46474367", "0.46420807", "0.4633251", "0.46285444", "0.4...
0.67168695
0
Gets a list of all experiments associated with this skill id.
def list_experiments_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ListExperimentsResponse_c5b07ecb] operation_name = "list_experiments_v1" params = locals() for key, val in six.iteritems(params['kwar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_client_experiments_list(self, id):\n experimentgroups = self.get_experimentgroups_for_client(id)\n experiments = []\n for experimentgroup in experimentgroups:\n experiments.append(experimentgroup.experiment)\n return experiments", "def list(self, request):\n ...
[ "0.7401268", "0.66809076", "0.66416746", "0.64918095", "0.64363277", "0.6410691", "0.63436115", "0.6262714", "0.62536496", "0.6202606", "0.6166123", "0.6165092", "0.61640954", "0.6128164", "0.61054105", "0.60725933", "0.6006383", "0.5996345", "0.59678626", "0.5933828", "0.585...
0.7309211
1
Create a new experiment for a skill.
def create_experiment_v1(self, skill_id, create_experiment_request, **kwargs): # type: (str, CreateExperimentRequest_abced22d, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_experiment_v1" params = locals() for key, val ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def newExperiment(self):\n experiment = Experiment()\n newtitle = 'Untitled ' + self.getNextUntitled()\n experimentFrame = SequenceFrame(self, experiment, True, newtitle)\n experiment.setInteractionParameters(parentFrame=experimentFrame,\n graphManagerC...
[ "0.6853624", "0.67841476", "0.6585161", "0.6519753", "0.64360976", "0.6318494", "0.60392636", "0.60172176", "0.5932382", "0.58842826", "0.58458304", "0.5842862", "0.5791528", "0.5756243", "0.57560414", "0.57440305", "0.5707029", "0.5682392", "0.56699604", "0.5654442", "0.5601...
0.7103403
0