body
stringlengths
26
98.2k
body_hash
int64
-9,222,864,604,528,158,000
9,221,803,474B
docstring
stringlengths
1
16.8k
path
stringlengths
5
230
name
stringlengths
1
96
repository_name
stringlengths
7
89
lang
stringclasses
1 value
body_without_docstring
stringlengths
20
98.2k
def import_user_events(self, request: Union[(import_.ImportUserEventsRequest, dict)]=None, *, parent: str=None, request_id: str=None, input_config: import_.InputConfig=None, errors_config: import_.ImportErrorsConfig=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, ...
-65,562,314,620,787,490
Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ...
google/cloud/recommendationengine/v1beta1/recommendationengine-v1beta1-py/google/cloud/recommendationengine_v1beta1/services/user_event_service/client.py
import_user_events
googleapis/googleapis-gen
python
def import_user_events(self, request: Union[(import_.ImportUserEventsRequest, dict)]=None, *, parent: str=None, request_id: str=None, input_config: import_.InputConfig=None, errors_config: import_.ImportErrorsConfig=None, retry: retries.Retry=gapic_v1.method.DEFAULT, timeout: float=None, metadata: Sequence[Tuple[(str, ...
def __exit__(self, type, value, traceback): "Releases underlying transport's resources.\n\n .. warning::\n ONLY use as a context manager if the transport is NOT shared\n with other clients! Exiting the with block will CLOSE the transport\n and may cause errors in other client...
7,840,855,355,632,227,000
Releases underlying transport's resources. .. warning:: ONLY use as a context manager if the transport is NOT shared with other clients! Exiting the with block will CLOSE the transport and may cause errors in other clients!
google/cloud/recommendationengine/v1beta1/recommendationengine-v1beta1-py/google/cloud/recommendationengine_v1beta1/services/user_event_service/client.py
__exit__
googleapis/googleapis-gen
python
def __exit__(self, type, value, traceback): "Releases underlying transport's resources.\n\n .. warning::\n ONLY use as a context manager if the transport is NOT shared\n with other clients! Exiting the with block will CLOSE the transport\n and may cause errors in other client...
def __init__(self, switch_configuration, terminal_controller, logger, piping_processor): '\n :type switch_configuration: fake_switches.switch_configuration.SwitchConfiguration\n :type terminal_controller: fake_switches.terminal.TerminalController\n :type logger: logging.Logger\n :type pi...
4,927,496,851,383,046,000
:type switch_configuration: fake_switches.switch_configuration.SwitchConfiguration :type terminal_controller: fake_switches.terminal.TerminalController :type logger: logging.Logger :type piping_processor: fake_switches.command_processing.piping_processor_base.PipingProcessorBase
fake_switches/command_processing/base_command_processor.py
__init__
idjaw/fake-switches
python
def __init__(self, switch_configuration, terminal_controller, logger, piping_processor): '\n :type switch_configuration: fake_switches.switch_configuration.SwitchConfiguration\n :type terminal_controller: fake_switches.terminal.TerminalController\n :type logger: logging.Logger\n :type pi...
@staticmethod def div(p, q): '\n ``p / q`` returning the correct infinity instead of\n raising ZeroDivisionError.\n ' from math import copysign if (q != 0.0): return (p / q) elif (p == 0.0): return (p / q) elif (copysign(1, q) > 0): return copysign(inf, p...
-7,729,998,379,710,486,000
``p / q`` returning the correct infinity instead of raising ZeroDivisionError.
inf.py
div
sensiblecodeio/inf
python
@staticmethod def div(p, q): '\n ``p / q`` returning the correct infinity instead of\n raising ZeroDivisionError.\n ' from math import copysign if (q != 0.0): return (p / q) elif (p == 0.0): return (p / q) elif (copysign(1, q) > 0): return copysign(inf, p...
def search_gdf_polygon(gdf, tile_polygon): "Find polygons in a GeoDataFrame that overlap with `tile_polygon` .\n\n Arguments\n ---------\n gdf : :py:class:`geopandas.GeoDataFrame`\n A :py:class:`geopandas.GeoDataFrame` of polygons to search.\n tile_polygon : :py:class:`shapely.geometry.Polygon`\n...
-949,607,495,950,691,700
Find polygons in a GeoDataFrame that overlap with `tile_polygon` . Arguments --------- gdf : :py:class:`geopandas.GeoDataFrame` A :py:class:`geopandas.GeoDataFrame` of polygons to search. tile_polygon : :py:class:`shapely.geometry.Polygon` A :py:class:`shapely.geometry.Polygon` denoting a tile's bounds. Retur...
3-SatShipAI/solaris/tile/vector_tile.py
search_gdf_polygon
CosmiQ/SpaceNet_SAR_Buildings_Solutions
python
def search_gdf_polygon(gdf, tile_polygon): "Find polygons in a GeoDataFrame that overlap with `tile_polygon` .\n\n Arguments\n ---------\n gdf : :py:class:`geopandas.GeoDataFrame`\n A :py:class:`geopandas.GeoDataFrame` of polygons to search.\n tile_polygon : :py:class:`shapely.geometry.Polygon`\n...
def clip_gdf(gdf, tile_bounds, min_partial_perc=0.0, geom_type='Polygon', use_sindex=True, verbose=False): 'Clip GDF to a provided polygon.\n\n Clips objects within `gdf` to the region defined by\n `poly_to_cut`. Also adds several columns to the output::\n\n `origarea`\n The original area of...
2,216,006,078,788,585,000
Clip GDF to a provided polygon. Clips objects within `gdf` to the region defined by `poly_to_cut`. Also adds several columns to the output:: `origarea` The original area of the polygons (only used if `geom_type` == ``"Polygon"``). `origlen` The original length of the objects (only used...
3-SatShipAI/solaris/tile/vector_tile.py
clip_gdf
CosmiQ/SpaceNet_SAR_Buildings_Solutions
python
def clip_gdf(gdf, tile_bounds, min_partial_perc=0.0, geom_type='Polygon', use_sindex=True, verbose=False): 'Clip GDF to a provided polygon.\n\n Clips objects within `gdf` to the region defined by\n `poly_to_cut`. Also adds several columns to the output::\n\n `origarea`\n The original area of...
def tile(self, src, tile_bounds, tile_bounds_crs=None, geom_type='Polygon', split_multi_geoms=True, min_partial_perc=0.0, dest_fname_base='geoms', obj_id_col=None, output_ext='.geojson'): 'Tile `src` into vector data tiles bounded by `tile_bounds`.\n\n Arguments\n ---------\n src : `str` or :cl...
2,507,140,713,211,685,400
Tile `src` into vector data tiles bounded by `tile_bounds`. Arguments --------- src : `str` or :class:`geopandas.GeoDataFrame` The source vector data to tile. Must either be a path to a GeoJSON or a :class:`geopandas.GeoDataFrame`. tile_bounds : list A :class:`list` made up of ``[left, top, right, bottom] ...
3-SatShipAI/solaris/tile/vector_tile.py
tile
CosmiQ/SpaceNet_SAR_Buildings_Solutions
python
def tile(self, src, tile_bounds, tile_bounds_crs=None, geom_type='Polygon', split_multi_geoms=True, min_partial_perc=0.0, dest_fname_base='geoms', obj_id_col=None, output_ext='.geojson'): 'Tile `src` into vector data tiles bounded by `tile_bounds`.\n\n Arguments\n ---------\n src : `str` or :cl...
def tile_generator(self, src, tile_bounds, tile_bounds_crs=None, geom_type='Polygon', split_multi_geoms=True, min_partial_perc=0.0, obj_id_col=None): 'Generate `src` vector data tiles bounded by `tile_bounds`.\n\n Arguments\n ---------\n src : `str` or :class:`geopandas.GeoDataFrame`\n ...
7,268,810,913,138,640,000
Generate `src` vector data tiles bounded by `tile_bounds`. Arguments --------- src : `str` or :class:`geopandas.GeoDataFrame` The source vector data to tile. Must either be a path to a GeoJSON or a :class:`geopandas.GeoDataFrame`. tile_bounds : list A :class:`list` made up of ``[left, top, right, bottom] `...
3-SatShipAI/solaris/tile/vector_tile.py
tile_generator
CosmiQ/SpaceNet_SAR_Buildings_Solutions
python
def tile_generator(self, src, tile_bounds, tile_bounds_crs=None, geom_type='Polygon', split_multi_geoms=True, min_partial_perc=0.0, obj_id_col=None): 'Generate `src` vector data tiles bounded by `tile_bounds`.\n\n Arguments\n ---------\n src : `str` or :class:`geopandas.GeoDataFrame`\n ...
def update_allure_feature_name(results_dir: str, prefix: str): 'Make Allure JSON results unique by pre-pending a prefix to: name, historyId & uuid.\n\n Use it when not all of the test results show up in the Allure report.\n This is because tests from different workers can actually have the same: historyId & u...
-7,646,167,299,302,602,000
Make Allure JSON results unique by pre-pending a prefix to: name, historyId & uuid. Use it when not all of the test results show up in the Allure report. This is because tests from different workers can actually have the same: historyId & uuid values. You can use e.g. browser name as the prefix.
update_results.py
update_allure_feature_name
tomaszwozniak/behave-docker-parallel
python
def update_allure_feature_name(results_dir: str, prefix: str): 'Make Allure JSON results unique by pre-pending a prefix to: name, historyId & uuid.\n\n Use it when not all of the test results show up in the Allure report.\n This is because tests from different workers can actually have the same: historyId & u...
def __init__(__self__, *, factory_name: pulumi.Input[str], resource_group_name: pulumi.Input[str], private_endpoint_connection_name: Optional[pulumi.Input[str]]=None, properties: Optional[pulumi.Input['PrivateLinkConnectionApprovalRequestArgs']]=None): "\n The set of arguments for constructing a PrivateEndpo...
1,770,647,843,702,379,500
The set of arguments for constructing a PrivateEndpointConnection resource. :param pulumi.Input[str] factory_name: The factory name. :param pulumi.Input[str] resource_group_name: The resource group name. :param pulumi.Input[str] private_endpoint_connection_name: The private endpoint connection name. :param pulumi.Input...
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
__init__
polivbr/pulumi-azure-native
python
def __init__(__self__, *, factory_name: pulumi.Input[str], resource_group_name: pulumi.Input[str], private_endpoint_connection_name: Optional[pulumi.Input[str]]=None, properties: Optional[pulumi.Input['PrivateLinkConnectionApprovalRequestArgs']]=None): "\n The set of arguments for constructing a PrivateEndpo...
@property @pulumi.getter(name='factoryName') def factory_name(self) -> pulumi.Input[str]: '\n The factory name.\n ' return pulumi.get(self, 'factory_name')
-5,996,303,779,357,339,000
The factory name.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
factory_name
polivbr/pulumi-azure-native
python
@property @pulumi.getter(name='factoryName') def factory_name(self) -> pulumi.Input[str]: '\n \n ' return pulumi.get(self, 'factory_name')
@property @pulumi.getter(name='resourceGroupName') def resource_group_name(self) -> pulumi.Input[str]: '\n The resource group name.\n ' return pulumi.get(self, 'resource_group_name')
-241,585,523,448,658,080
The resource group name.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
resource_group_name
polivbr/pulumi-azure-native
python
@property @pulumi.getter(name='resourceGroupName') def resource_group_name(self) -> pulumi.Input[str]: '\n \n ' return pulumi.get(self, 'resource_group_name')
@property @pulumi.getter(name='privateEndpointConnectionName') def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: '\n The private endpoint connection name.\n ' return pulumi.get(self, 'private_endpoint_connection_name')
5,610,363,562,574,119,000
The private endpoint connection name.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
private_endpoint_connection_name
polivbr/pulumi-azure-native
python
@property @pulumi.getter(name='privateEndpointConnectionName') def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'private_endpoint_connection_name')
@property @pulumi.getter def properties(self) -> Optional[pulumi.Input['PrivateLinkConnectionApprovalRequestArgs']]: '\n Core resource properties\n ' return pulumi.get(self, 'properties')
-1,592,895,317,301,340,400
Core resource properties
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
properties
polivbr/pulumi-azure-native
python
@property @pulumi.getter def properties(self) -> Optional[pulumi.Input['PrivateLinkConnectionApprovalRequestArgs']]: '\n \n ' return pulumi.get(self, 'properties')
@overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, factory_name: Optional[pulumi.Input[str]]=None, private_endpoint_connection_name: Optional[pulumi.Input[str]]=None, properties: Optional[pulumi.Input[pulumi.InputType['PrivateLinkConnectionApprovalRequestArgs']]]=None, res...
-5,003,964,469,368,544,000
Private Endpoint Connection ARM resource. API Version: 2018-06-01. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] factory_name: The factory name. :param pulumi.Input[str] private_endpoint_connection_name: The private endpoint c...
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
__init__
polivbr/pulumi-azure-native
python
@overload def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, factory_name: Optional[pulumi.Input[str]]=None, private_endpoint_connection_name: Optional[pulumi.Input[str]]=None, properties: Optional[pulumi.Input[pulumi.InputType['PrivateLinkConnectionApprovalRequestArgs']]]=None, res...
@overload def __init__(__self__, resource_name: str, args: PrivateEndpointConnectionArgs, opts: Optional[pulumi.ResourceOptions]=None): "\n Private Endpoint Connection ARM resource.\n API Version: 2018-06-01.\n\n :param str resource_name: The name of the resource.\n :param PrivateEndpoin...
-2,899,717,859,708,994,000
Private Endpoint Connection ARM resource. API Version: 2018-06-01. :param str resource_name: The name of the resource. :param PrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
__init__
polivbr/pulumi-azure-native
python
@overload def __init__(__self__, resource_name: str, args: PrivateEndpointConnectionArgs, opts: Optional[pulumi.ResourceOptions]=None): "\n Private Endpoint Connection ARM resource.\n API Version: 2018-06-01.\n\n :param str resource_name: The name of the resource.\n :param PrivateEndpoin...
@staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None) -> 'PrivateEndpointConnection': "\n Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra\n properties used to qualify the lookup.\n\n :...
7,485,239,997,982,850,000
Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra properties used to qualify the lookup. :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions...
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
get
polivbr/pulumi-azure-native
python
@staticmethod def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions]=None) -> 'PrivateEndpointConnection': "\n Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra\n properties used to qualify the lookup.\n\n :...
@property @pulumi.getter def etag(self) -> pulumi.Output[str]: '\n Etag identifies change in the resource.\n ' return pulumi.get(self, 'etag')
6,846,172,653,893,819,000
Etag identifies change in the resource.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
etag
polivbr/pulumi-azure-native
python
@property @pulumi.getter def etag(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'etag')
@property @pulumi.getter def name(self) -> pulumi.Output[str]: '\n The resource name.\n ' return pulumi.get(self, 'name')
83,947,947,173,717,940
The resource name.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
name
polivbr/pulumi-azure-native
python
@property @pulumi.getter def name(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'name')
@property @pulumi.getter def properties(self) -> pulumi.Output['outputs.RemotePrivateEndpointConnectionResponse']: '\n Core resource properties\n ' return pulumi.get(self, 'properties')
2,148,455,638,272,531,700
Core resource properties
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
properties
polivbr/pulumi-azure-native
python
@property @pulumi.getter def properties(self) -> pulumi.Output['outputs.RemotePrivateEndpointConnectionResponse']: '\n \n ' return pulumi.get(self, 'properties')
@property @pulumi.getter def type(self) -> pulumi.Output[str]: '\n The resource type.\n ' return pulumi.get(self, 'type')
-8,765,282,501,923,804,000
The resource type.
sdk/python/pulumi_azure_native/datafactory/private_endpoint_connection.py
type
polivbr/pulumi-azure-native
python
@property @pulumi.getter def type(self) -> pulumi.Output[str]: '\n \n ' return pulumi.get(self, 'type')
def gridsearchCV_strategy(X_tr_data, y_tr_data, list_estimators, list_params): "\n \n len of list_estimators and list_params should be the same. For any\n estimator you need a list of parameters to optimize. Eg\n list_estimators = [RandomForestClassifier(),\n LogisticRegression()]...
-7,745,279,451,425,029,000
len of list_estimators and list_params should be the same. For any estimator you need a list of parameters to optimize. Eg list_estimators = [RandomForestClassifier(), LogisticRegression()] list_params = [{'n_estimators': [500,1000], 'max_features': [8,10], 'max_depth' : [4,6,8], 'criterion' :['gini...
workflow_procedure_example.py
gridsearchCV_strategy
kennethriva/Machine-Learning-for-drugs-cytokines
python
def gridsearchCV_strategy(X_tr_data, y_tr_data, list_estimators, list_params): "\n \n len of list_estimators and list_params should be the same. For any\n estimator you need a list of parameters to optimize. Eg\n list_estimators = [RandomForestClassifier(),\n LogisticRegression()]...
@pytest.fixture(autouse=True) def minimal_director_config(project_env_devel_environment, monkeypatch): 'set a minimal configuration for testing the director connection only' monkeypatch.setenv('DIRECTOR_ENABLED', '1') monkeypatch.setenv('POSTGRES_ENABLED', '0') monkeypatch.setenv('CELERY_ENABLED', '0') ...
-2,749,925,392,889,353,000
set a minimal configuration for testing the director connection only
services/director-v2/tests/unit/test_modules_director_v0.py
minimal_director_config
GitHK/osparc-simcore-forked
python
@pytest.fixture(autouse=True) def minimal_director_config(project_env_devel_environment, monkeypatch): monkeypatch.setenv('DIRECTOR_ENABLED', '1') monkeypatch.setenv('POSTGRES_ENABLED', '0') monkeypatch.setenv('CELERY_ENABLED', '0') monkeypatch.setenv('REGISTRY_ENABLED', '0')
async def _send_message(client, channel: str, message: str): 'Sends a message to a channel, with basic logging & error handling.' try: (await client.chat_postMessage(channel=channel, text=message)) except SlackApiError as e: logging.exception(f"error from slack API when trying to send messag...
3,436,122,510,676,349,000
Sends a message to a channel, with basic logging & error handling.
lsw_slackbot/slack.py
_send_message
emilyhunt/lsw-slackbot
python
async def _send_message(client, channel: str, message: str): try: (await client.chat_postMessage(channel=channel, text=message)) except SlackApiError as e: logging.exception(f"error from slack API when trying to send message: {e.response['error']}") print('Encountered SlackApiError ...
async def _send_file(client, channel: str, file: Union[(Path, str)], title): 'Sends a file to a channel, with basic logging & error handling.' if isinstance(file, Path): file = str(file.absolute()) try: (await client.files_upload(channels=channel, file=file, title=title)) except SlackApi...
3,063,550,516,176,200,700
Sends a file to a channel, with basic logging & error handling.
lsw_slackbot/slack.py
_send_file
emilyhunt/lsw-slackbot
python
async def _send_file(client, channel: str, file: Union[(Path, str)], title): if isinstance(file, Path): file = str(file.absolute()) try: (await client.files_upload(channels=channel, file=file, title=title)) except SlackApiError as e: logging.exception(f"error from Slack API when...
async def hello_world(client, channel: str): 'Basic function to post an init message to a channel.' logging.info(f'Saying hello world in {channel}!') system_name = socket.gethostname() (await _send_message(client, channel, f'''Server time & date: {string_time()} App is running on system {system_name}.''...
8,047,278,056,876,765,000
Basic function to post an init message to a channel.
lsw_slackbot/slack.py
hello_world
emilyhunt/lsw-slackbot
python
async def hello_world(client, channel: str): logging.info(f'Saying hello world in {channel}!') system_name = socket.gethostname() (await _send_message(client, channel, f'Server time & date: {string_time()} App is running on system {system_name}.'))
async def send_resource_use_plot(client, channel: str, plot_kwargs: dict, title: Optional[str]=None): 'Sends a resource usage plot to a given channel.' if (title is None): title = f'Resource usage plot generated at {string_time()}' else: title = (title + f' (plot generated at {string_time()}...
356,661,397,049,278,000
Sends a resource usage plot to a given channel.
lsw_slackbot/slack.py
send_resource_use_plot
emilyhunt/lsw-slackbot
python
async def send_resource_use_plot(client, channel: str, plot_kwargs: dict, title: Optional[str]=None): if (title is None): title = f'Resource usage plot generated at {string_time()}' else: title = (title + f' (plot generated at {string_time()})') logging.info('Generating a resource usage...
async def check_memory(client, channel: str, memory_warn_fraction=0.8, sleep_time=3600): "Quick function for checking current server memory and sending a warning to a desired channel if it's\n too high." global _LAST_MEMORY_FRACTION current_usage = current_memory_fraction() if (_LAST_MEMORY_FRACTION ...
-5,734,723,959,700,612,000
Quick function for checking current server memory and sending a warning to a desired channel if it's too high.
lsw_slackbot/slack.py
check_memory
emilyhunt/lsw-slackbot
python
async def check_memory(client, channel: str, memory_warn_fraction=0.8, sleep_time=3600): "Quick function for checking current server memory and sending a warning to a desired channel if it's\n too high." global _LAST_MEMORY_FRACTION current_usage = current_memory_fraction() if (_LAST_MEMORY_FRACTION ...
@contextmanager def run_interactive_shell_command(command, **kwargs): '\n Runs a single command in shell and provides stdout, stderr and stdin\n streams.\n\n This function creates a context manager that sets up the process (using\n ``subprocess.Popen()``), returns to caller and waits for process to exit...
5,621,563,442,070,463,000
Runs a single command in shell and provides stdout, stderr and stdin streams. This function creates a context manager that sets up the process (using ``subprocess.Popen()``), returns to caller and waits for process to exit on leaving. By default the process is opened in ``universal_newlines`` mode and creates pipes f...
venv/lib/python3.5/site-packages/coalib/misc/Shell.py
run_interactive_shell_command
prashant0598/CoffeeApp
python
@contextmanager def run_interactive_shell_command(command, **kwargs): '\n Runs a single command in shell and provides stdout, stderr and stdin\n streams.\n\n This function creates a context manager that sets up the process (using\n ``subprocess.Popen()``), returns to caller and waits for process to exit...
def run_shell_command(command, stdin=None, **kwargs): '\n Runs a single command in shell and returns the read stdout and stderr data.\n\n This function waits for the process (created using ``subprocess.Popen()``)\n to exit. Effectively it wraps ``run_interactive_shell_command()`` and uses\n ``communicat...
-630,692,324,390,031,900
Runs a single command in shell and returns the read stdout and stderr data. This function waits for the process (created using ``subprocess.Popen()``) to exit. Effectively it wraps ``run_interactive_shell_command()`` and uses ``communicate()`` on the process. See also ``run_interactive_shell_command()``. :param comm...
venv/lib/python3.5/site-packages/coalib/misc/Shell.py
run_shell_command
prashant0598/CoffeeApp
python
def run_shell_command(command, stdin=None, **kwargs): '\n Runs a single command in shell and returns the read stdout and stderr data.\n\n This function waits for the process (created using ``subprocess.Popen()``)\n to exit. Effectively it wraps ``run_interactive_shell_command()`` and uses\n ``communicat...
def get_shell_type(): '\n Finds the current shell type based on the outputs of common pre-defined\n variables in them. This is useful to identify which sort of escaping\n is required for strings.\n\n :return: The shell type. This can be either "powershell" if Windows\n Powershell is detected...
-1,616,651,017,276,184,600
Finds the current shell type based on the outputs of common pre-defined variables in them. This is useful to identify which sort of escaping is required for strings. :return: The shell type. This can be either "powershell" if Windows Powershell is detected, "cmd" if command prompt is been detected or...
venv/lib/python3.5/site-packages/coalib/misc/Shell.py
get_shell_type
prashant0598/CoffeeApp
python
def get_shell_type(): '\n Finds the current shell type based on the outputs of common pre-defined\n variables in them. This is useful to identify which sort of escaping\n is required for strings.\n\n :return: The shell type. This can be either "powershell" if Windows\n Powershell is detected...
def __new__(cls, code, stdout, stderr): '\n Creates the basic tuple from `stdout` and `stderr`.\n ' return tuple.__new__(cls, (stdout, stderr))
7,544,805,995,592,937,000
Creates the basic tuple from `stdout` and `stderr`.
venv/lib/python3.5/site-packages/coalib/misc/Shell.py
__new__
prashant0598/CoffeeApp
python
def __new__(cls, code, stdout, stderr): '\n \n ' return tuple.__new__(cls, (stdout, stderr))
def __init__(self, code, stdout, stderr): '\n Stores the return `code`.\n ' self.code = code
1,569,877,413,911,321,300
Stores the return `code`.
venv/lib/python3.5/site-packages/coalib/misc/Shell.py
__init__
prashant0598/CoffeeApp
python
def __init__(self, code, stdout, stderr): '\n \n ' self.code = code
def initialize_hyper_parameters(layer_acts, learning_rate): '\n Initialize parameters for different levels of the network\n\n Arguments:\n layer_acts -- python array (list) containing the activation functions of each layer in the network\n learning_rate -- float value used as constant for gradient desce...
-2,719,787,199,406,470,700
Initialize parameters for different levels of the network Arguments: layer_acts -- python array (list) containing the activation functions of each layer in the network learning_rate -- float value used as constant for gradient descent Returns: hyper_parameters -- python dictionary containing hyper_parameters (can be ...
utils/init_parameters.py
initialize_hyper_parameters
giuseppefutia/word2vec
python
def initialize_hyper_parameters(layer_acts, learning_rate): '\n Initialize parameters for different levels of the network\n\n Arguments:\n layer_acts -- python array (list) containing the activation functions of each layer in the network\n learning_rate -- float value used as constant for gradient desce...
def initialize_parameters(layer_dims): '\n Initialize parameters for different levels of the network\n\n Arguments:\n layer_dims -- python array (list) containing the dimensions of each layer in the network\n\n Returns:\n parameters -- python dictionary containing your parameters "W1", "b1", ..., "WL...
5,596,424,596,830,611,000
Initialize parameters for different levels of the network Arguments: layer_dims -- python array (list) containing the dimensions of each layer in the network Returns: parameters -- python dictionary containing your parameters "W1", "b1", ..., "WL", "bL", ...: Wl -- weight matrix of shape (layer_dims[l...
utils/init_parameters.py
initialize_parameters
giuseppefutia/word2vec
python
def initialize_parameters(layer_dims): '\n Initialize parameters for different levels of the network\n\n Arguments:\n layer_dims -- python array (list) containing the dimensions of each layer in the network\n\n Returns:\n parameters -- python dictionary containing your parameters "W1", "b1", ..., "WL...
def _test_cache_clear(self, refresh_each_time=True): "\n A test to make sure that the cache clearing is working as expected.\n This test gets run twice using different values for refresh_each_time.\n This makes sure that the mechanism used for clearing the cache works\n whether you're up...
4,466,586,823,606,075,000
A test to make sure that the cache clearing is working as expected. This test gets run twice using different values for refresh_each_time. This makes sure that the mechanism used for clearing the cache works whether you're updating a document you just saved or getting a document fresh from the database and updating it.
corehq/apps/sms/tests/test_phone_numbers.py
_test_cache_clear
AliRizvi1/commcare-hq
python
def _test_cache_clear(self, refresh_each_time=True): "\n A test to make sure that the cache clearing is working as expected.\n This test gets run twice using different values for refresh_each_time.\n This makes sure that the mechanism used for clearing the cache works\n whether you're up...
def _is_available(self, j): 'Return True if the index j is available in the table.' return ((self._table[j] is None) or (self._table[j] is ProbeHashMap._AVAIL))
-5,279,458,529,970,227,000
Return True if the index j is available in the table.
CHAPTER 10 (maps, hash tables and skip lists)/probe_hash_map_class.py
_is_available
ahammadshawki8/DSA-Implementations-in-Python
python
def _is_available(self, j): return ((self._table[j] is None) or (self._table[j] is ProbeHashMap._AVAIL))
def _find_slot(self, j, k): 'Search for key k in bucket at index j.\n\n Return (success, index) tuple, described as follows:\n If match was found, success is True and index denotes its location.\n If no match found, success is False and index denotes first available slot.\n ' firstAv...
-3,544,964,413,999,697,000
Search for key k in bucket at index j. Return (success, index) tuple, described as follows: If match was found, success is True and index denotes its location. If no match found, success is False and index denotes first available slot.
CHAPTER 10 (maps, hash tables and skip lists)/probe_hash_map_class.py
_find_slot
ahammadshawki8/DSA-Implementations-in-Python
python
def _find_slot(self, j, k): 'Search for key k in bucket at index j.\n\n Return (success, index) tuple, described as follows:\n If match was found, success is True and index denotes its location.\n If no match found, success is False and index denotes first available slot.\n ' firstAv...
def set_module_args(args): 'prepare arguments so that they will be picked up during module creation' args = json.dumps({'ANSIBLE_MODULE_ARGS': args}) basic._ANSIBLE_ARGS = to_bytes(args)
1,060,042,919,257,690,400
prepare arguments so that they will be picked up during module creation
venv/lib/python3.6/site-packages/ansible_collections/netapp/ontap/tests/unit/plugins/modules/test_na_ontap_rest_cli.py
set_module_args
elixir-no-nels/usegalaxy
python
def set_module_args(args): args = json.dumps({'ANSIBLE_MODULE_ARGS': args}) basic._ANSIBLE_ARGS = to_bytes(args)
def exit_json(*args, **kwargs): 'function to patch over exit_json; package return data into an exception' if ('changed' not in kwargs): kwargs['changed'] = False raise AnsibleExitJson(kwargs)
3,969,839,544,963,715,000
function to patch over exit_json; package return data into an exception
venv/lib/python3.6/site-packages/ansible_collections/netapp/ontap/tests/unit/plugins/modules/test_na_ontap_rest_cli.py
exit_json
elixir-no-nels/usegalaxy
python
def exit_json(*args, **kwargs): if ('changed' not in kwargs): kwargs['changed'] = False raise AnsibleExitJson(kwargs)
def fail_json(*args, **kwargs): 'function to patch over fail_json; package return data into an exception' kwargs['failed'] = True raise AnsibleFailJson(kwargs)
-2,763,931,371,331,730,400
function to patch over fail_json; package return data into an exception
venv/lib/python3.6/site-packages/ansible_collections/netapp/ontap/tests/unit/plugins/modules/test_na_ontap_rest_cli.py
fail_json
elixir-no-nels/usegalaxy
python
def fail_json(*args, **kwargs): kwargs['failed'] = True raise AnsibleFailJson(kwargs)
def test_module_fail_when_required_args_missing(self): ' required arguments are reported as errors ' with pytest.raises(AnsibleFailJson) as exc: set_module_args({}) rest_cli_module() print(('Info: %s' % exc.value.args[0]['msg']))
3,425,096,439,026,092,500
required arguments are reported as errors
venv/lib/python3.6/site-packages/ansible_collections/netapp/ontap/tests/unit/plugins/modules/test_na_ontap_rest_cli.py
test_module_fail_when_required_args_missing
elixir-no-nels/usegalaxy
python
def test_module_fail_when_required_args_missing(self): ' ' with pytest.raises(AnsibleFailJson) as exc: set_module_args({}) rest_cli_module() print(('Info: %s' % exc.value.args[0]['msg']))
def _as_graph_element(obj): 'Retrieves Graph element.' graph = ops.get_default_graph() if (not isinstance(obj, six.string_types)): if ((not hasattr(obj, 'graph')) or (obj.graph != graph)): raise ValueError(('Passed %s should have graph attribute that is equal to current graph %s.' % (obj...
-4,531,516,043,276,649,000
Retrieves Graph element.
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
_as_graph_element
Najah-lshanableh/tensorflow
python
def _as_graph_element(obj): graph = ops.get_default_graph() if (not isinstance(obj, six.string_types)): if ((not hasattr(obj, 'graph')) or (obj.graph != graph)): raise ValueError(('Passed %s should have graph attribute that is equal to current graph %s.' % (obj, graph))) return ...
def __init__(self, tensors, every_n_iter=100): 'Initializes a LoggingHook monitor.\n\n Args:\n tensors: `dict` of tag to tensors/names or\n `iterable` of tensors/names.\n every_n_iter: `int`, print every N iteration.\n\n Raises:\n ValueError: if `every_n_iter` is non-positive.\n ' ...
5,319,640,423,092,017,000
Initializes a LoggingHook monitor. Args: tensors: `dict` of tag to tensors/names or `iterable` of tensors/names. every_n_iter: `int`, print every N iteration. Raises: ValueError: if `every_n_iter` is non-positive.
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
__init__
Najah-lshanableh/tensorflow
python
def __init__(self, tensors, every_n_iter=100): 'Initializes a LoggingHook monitor.\n\n Args:\n tensors: `dict` of tag to tensors/names or\n `iterable` of tensors/names.\n every_n_iter: `int`, print every N iteration.\n\n Raises:\n ValueError: if `every_n_iter` is non-positive.\n ' ...
def __init__(self, num_steps=None, last_step=None): 'Create a StopAtStep Hook.\n\n This hook requests stop after either a number of steps have been\n executed or a last step has been reached. Only of the two options can be\n specified.\n\n if `num_steps` is specified, it indicates the number of steps t...
-3,270,074,497,911,886,300
Create a StopAtStep Hook. This hook requests stop after either a number of steps have been executed or a last step has been reached. Only of the two options can be specified. if `num_steps` is specified, it indicates the number of steps to execute after `begin()` is called. If instead `last_step` is specified, it i...
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
__init__
Najah-lshanableh/tensorflow
python
def __init__(self, num_steps=None, last_step=None): 'Create a StopAtStep Hook.\n\n This hook requests stop after either a number of steps have been\n executed or a last step has been reached. Only of the two options can be\n specified.\n\n if `num_steps` is specified, it indicates the number of steps t...
def __init__(self, checkpoint_dir, save_secs=None, save_steps=None, saver=None, checkpoint_basename='model.ckpt', scaffold=None): 'Initialize CheckpointSaverHook monitor.\n\n Args:\n checkpoint_dir: `str`, base directory for the checkpoint files.\n save_secs: `int`, save every N secs.\n save_steps...
-2,173,653,760,690,871,600
Initialize CheckpointSaverHook monitor. Args: checkpoint_dir: `str`, base directory for the checkpoint files. save_secs: `int`, save every N secs. save_steps: `int`, save every N steps. saver: `Saver` object, used for saving. checkpoint_basename: `str`, base name for the checkpoint files. scaffold: `Scaffo...
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
__init__
Najah-lshanableh/tensorflow
python
def __init__(self, checkpoint_dir, save_secs=None, save_steps=None, saver=None, checkpoint_basename='model.ckpt', scaffold=None): 'Initialize CheckpointSaverHook monitor.\n\n Args:\n checkpoint_dir: `str`, base directory for the checkpoint files.\n save_secs: `int`, save every N secs.\n save_steps...
def _save(self, step, session): 'Saves the latest checkpoint.' if (step == self._last_saved_step): return logging.info('Saving checkpoints for %d into %s.', step, self._save_path) self._last_saved_time = time.time() self._last_saved_step = step if (self._saver is None): self._sca...
9,139,546,512,531,420,000
Saves the latest checkpoint.
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
_save
Najah-lshanableh/tensorflow
python
def _save(self, step, session): if (step == self._last_saved_step): return logging.info('Saving checkpoints for %d into %s.', step, self._save_path) self._last_saved_time = time.time() self._last_saved_step = step if (self._saver is None): self._scaffold.saver.save(session, self...
def __init__(self, loss_tensor, fail_on_nan_loss=True): 'Initializes NanLoss monitor.\n\n Args:\n loss_tensor: `Tensor`, the loss tensor.\n fail_on_nan_loss: `bool`, whether to raise exception when loss is NaN.\n ' self._loss_tensor = loss_tensor self._fail_on_nan_loss = fail_on_nan_loss
3,097,157,734,419,355,000
Initializes NanLoss monitor. Args: loss_tensor: `Tensor`, the loss tensor. fail_on_nan_loss: `bool`, whether to raise exception when loss is NaN.
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
__init__
Najah-lshanableh/tensorflow
python
def __init__(self, loss_tensor, fail_on_nan_loss=True): 'Initializes NanLoss monitor.\n\n Args:\n loss_tensor: `Tensor`, the loss tensor.\n fail_on_nan_loss: `bool`, whether to raise exception when loss is NaN.\n ' self._loss_tensor = loss_tensor self._fail_on_nan_loss = fail_on_nan_loss
def __init__(self, save_steps=100, output_dir=None, summary_writer=None, scaffold=None, summary_op=None): "Initializes a `SummarySaver` monitor.\n\n Args:\n save_steps: `int`, save summaries every N steps. See `EveryN`.\n output_dir: `string`, the directory to save the summaries to. Only used\n ...
354,916,776,997,065,860
Initializes a `SummarySaver` monitor. Args: save_steps: `int`, save summaries every N steps. See `EveryN`. output_dir: `string`, the directory to save the summaries to. Only used if no `summary_writer` is supplied. summary_writer: `SummaryWriter`. If `None` and an `output_dir` was passed, one will be...
tensorflow/contrib/learn/python/learn/basic_session_run_hooks.py
__init__
Najah-lshanableh/tensorflow
python
def __init__(self, save_steps=100, output_dir=None, summary_writer=None, scaffold=None, summary_op=None): "Initializes a `SummarySaver` monitor.\n\n Args:\n save_steps: `int`, save summaries every N steps. See `EveryN`.\n output_dir: `string`, the directory to save the summaries to. Only used\n ...
def __eq__(self, *args): ' x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y ' pass
2,144,965,521,805,394,200
x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y
stubs.min/Autodesk/Revit/DB/__init___parts/RenderNodeAction.py
__eq__
denfromufa/ironpython-stubs
python
def __eq__(self, *args): ' ' pass
def __format__(self, *args): ' __format__(formattable: IFormattable,format: str) -> str ' pass
-4,894,195,495,142,889,000
__format__(formattable: IFormattable,format: str) -> str
stubs.min/Autodesk/Revit/DB/__init___parts/RenderNodeAction.py
__format__
denfromufa/ironpython-stubs
python
def __format__(self, *args): ' ' pass
def __init__(self, *args): ' x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature ' pass
-90,002,593,062,007,400
x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature
stubs.min/Autodesk/Revit/DB/__init___parts/RenderNodeAction.py
__init__
denfromufa/ironpython-stubs
python
def __init__(self, *args): ' ' pass
def _from_json(json_str): 'Turns json -> object (or None if json cannot be parsed).' try: return transforms.loads(json_str) except: return None
4,839,327,838,972,727,000
Turns json -> object (or None if json cannot be parsed).
modules/balancer/balancer.py
_from_json
ehiller/CourseBuilderV19-TeacherDashboard
python
def _from_json(json_str): try: return transforms.loads(json_str) except: return None
@classmethod def create(cls, user_id=None): 'Creates task and returns ticket string.' task = _ExternalTask(status=_ExternalTask.CREATED, user_id=user_id) return _ExternalTask.get_ticket_by_key(db.put(task))
1,251,493,781,329,727,200
Creates task and returns ticket string.
modules/balancer/balancer.py
create
ehiller/CourseBuilderV19-TeacherDashboard
python
@classmethod def create(cls, user_id=None): task = _ExternalTask(status=_ExternalTask.CREATED, user_id=user_id) return _ExternalTask.get_ticket_by_key(db.put(task))
@classmethod def get(cls, ticket): 'Gets task for ticket (or None if no matching task).' external_task = db.get(_ExternalTask.get_key_by_ticket(ticket)) if (not external_task): return None return Task._from_external_task(external_task)
4,956,127,845,216,087,000
Gets task for ticket (or None if no matching task).
modules/balancer/balancer.py
get
ehiller/CourseBuilderV19-TeacherDashboard
python
@classmethod def get(cls, ticket): external_task = db.get(_ExternalTask.get_key_by_ticket(ticket)) if (not external_task): return None return Task._from_external_task(external_task)
@classmethod def list(cls, user_id): 'Returns list of Task matching user_id, ordered by create date.' return [Task._from_external_task(et) for et in sorted(_ExternalTask.all().filter(('%s =' % _ExternalTask.user_id.name), user_id).fetch(1000), key=(lambda task: task.create_date))]
-169,262,631,076,434,900
Returns list of Task matching user_id, ordered by create date.
modules/balancer/balancer.py
list
ehiller/CourseBuilderV19-TeacherDashboard
python
@classmethod def list(cls, user_id): return [Task._from_external_task(et) for et in sorted(_ExternalTask.all().filter(('%s =' % _ExternalTask.user_id.name), user_id).fetch(1000), key=(lambda task: task.create_date))]
def get_ticket(self): 'Returns string identifier for the task; raises NotSavedError.' return self.get_ticket_by_key(self.key())
5,212,981,061,272,546,000
Returns string identifier for the task; raises NotSavedError.
modules/balancer/balancer.py
get_ticket
ehiller/CourseBuilderV19-TeacherDashboard
python
def get_ticket(self): return self.get_ticket_by_key(self.key())
def ready(self): 'True iff the operation has all data it needs to be issued.' raise NotImplementedError
-3,953,729,379,220,030,500
True iff the operation has all data it needs to be issued.
modules/balancer/balancer.py
ready
ehiller/CourseBuilderV19-TeacherDashboard
python
def ready(self): raise NotImplementedError
@classmethod def _transform_response(cls, response): 'Transforms worker success/error responses into a standard format.' try: parsed = transforms.loads(response.content) if (not cls._check_response(parsed)): raise ValueError return {_PAYLOAD: parsed[_PAYLOAD]} except: ...
8,943,993,151,239,380,000
Transforms worker success/error responses into a standard format.
modules/balancer/balancer.py
_transform_response
ehiller/CourseBuilderV19-TeacherDashboard
python
@classmethod def _transform_response(cls, response): try: parsed = transforms.loads(response.content) if (not cls._check_response(parsed)): raise ValueError return {_PAYLOAD: parsed[_PAYLOAD]} except: _LOG.error(('Unable to parse worker response: ' + response.con...
def add_entities_to_entity_group_using_post(self, entity_group_id, **kwargs): "Add entities to the group (addEntitiesToEntityGroup) # noqa: E501\n\n Add entities to the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboar...
8,780,527,857,243,497,000
Add entities to the group (addEntitiesToEntityGroup) # noqa: E501 Add entities to the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particular Tenant or Customer. Each entity may b...
tb_rest_client/api/api_pe/entity_group_controller_api.py
add_entities_to_entity_group_using_post
D34DPlayer/thingsboard-python-rest-client
python
def add_entities_to_entity_group_using_post(self, entity_group_id, **kwargs): "Add entities to the group (addEntitiesToEntityGroup) # noqa: E501\n\n Add entities to the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboar...
def add_entities_to_entity_group_using_post_with_http_info(self, entity_group_id, **kwargs): "Add entities to the group (addEntitiesToEntityGroup) # noqa: E501\n\n Add entities to the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer,...
7,304,762,871,341,989,000
Add entities to the group (addEntitiesToEntityGroup) # noqa: E501 Add entities to the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particular Tenant or Customer. Each entity may b...
tb_rest_client/api/api_pe/entity_group_controller_api.py
add_entities_to_entity_group_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def add_entities_to_entity_group_using_post_with_http_info(self, entity_group_id, **kwargs): "Add entities to the group (addEntitiesToEntityGroup) # noqa: E501\n\n Add entities to the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer,...
def assign_entity_group_to_edge_using_post(self, edge_id, group_type, entity_group_id, **kwargs): "Assign entity group to edge (assignEntityGroupToEdge) # noqa: E501\n\n Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushe...
-4,979,035,342,014,406,000
Assign entity group to edge (assignEntityGroupToEdge) # noqa: E501 Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment entity group (...
tb_rest_client/api/api_pe/entity_group_controller_api.py
assign_entity_group_to_edge_using_post
D34DPlayer/thingsboard-python-rest-client
python
def assign_entity_group_to_edge_using_post(self, edge_id, group_type, entity_group_id, **kwargs): "Assign entity group to edge (assignEntityGroupToEdge) # noqa: E501\n\n Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushe...
def assign_entity_group_to_edge_using_post_with_http_info(self, edge_id, group_type, entity_group_id, **kwargs): "Assign entity group to edge (assignEntityGroupToEdge) # noqa: E501\n\n Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notificat...
-2,994,785,293,451,461,600
Assign entity group to edge (assignEntityGroupToEdge) # noqa: E501 Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment entity group (...
tb_rest_client/api/api_pe/entity_group_controller_api.py
assign_entity_group_to_edge_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def assign_entity_group_to_edge_using_post_with_http_info(self, edge_id, group_type, entity_group_id, **kwargs): "Assign entity group to edge (assignEntityGroupToEdge) # noqa: E501\n\n Creates assignment of an existing entity group to an instance of The Edge. Assignment works in async way - first, notificat...
def delete_entity_group_using_delete(self, entity_group_id, **kwargs): "Delete Entity Group (deleteEntityGroup) # noqa: E501\n\n Deletes the entity group but does not delete the entities in the group, since they are also present in reserved group 'All'. Referencing non-existing Entity Group Id will cause an...
220,974,050,943,776,030
Delete Entity Group (deleteEntityGroup) # noqa: E501 Deletes the entity group but does not delete the entities in the group, since they are also present in reserved group 'All'. Referencing non-existing Entity Group Id will cause an error. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Securit...
tb_rest_client/api/api_pe/entity_group_controller_api.py
delete_entity_group_using_delete
D34DPlayer/thingsboard-python-rest-client
python
def delete_entity_group_using_delete(self, entity_group_id, **kwargs): "Delete Entity Group (deleteEntityGroup) # noqa: E501\n\n Deletes the entity group but does not delete the entities in the group, since they are also present in reserved group 'All'. Referencing non-existing Entity Group Id will cause an...
def delete_entity_group_using_delete_with_http_info(self, entity_group_id, **kwargs): "Delete Entity Group (deleteEntityGroup) # noqa: E501\n\n Deletes the entity group but does not delete the entities in the group, since they are also present in reserved group 'All'. Referencing non-existing Entity Group I...
7,306,023,280,177,708,000
Delete Entity Group (deleteEntityGroup) # noqa: E501 Deletes the entity group but does not delete the entities in the group, since they are also present in reserved group 'All'. Referencing non-existing Entity Group Id will cause an error. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Securit...
tb_rest_client/api/api_pe/entity_group_controller_api.py
delete_entity_group_using_delete_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def delete_entity_group_using_delete_with_http_info(self, entity_group_id, **kwargs): "Delete Entity Group (deleteEntityGroup) # noqa: E501\n\n Deletes the entity group but does not delete the entities in the group, since they are also present in reserved group 'All'. Referencing non-existing Entity Group I...
def get_all_edge_entity_groups_using_get(self, edge_id, group_type, **kwargs): "Get All Edge Entity Groups by entity type (getAllEdgeEntityGroups) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allows you ...
5,369,321,702,390,439,000
Get All Edge Entity Groups by entity type (getAllEdgeEntityGroups) # noqa: E501 Fetch the list of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, ...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_all_edge_entity_groups_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_all_edge_entity_groups_using_get(self, edge_id, group_type, **kwargs): "Get All Edge Entity Groups by entity type (getAllEdgeEntityGroups) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allows you ...
def get_all_edge_entity_groups_using_get_with_http_info(self, edge_id, group_type, **kwargs): "Get All Edge Entity Groups by entity type (getAllEdgeEntityGroups) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity gr...
7,866,302,978,297,372,000
Get All Edge Entity Groups by entity type (getAllEdgeEntityGroups) # noqa: E501 Fetch the list of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, ...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_all_edge_entity_groups_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_all_edge_entity_groups_using_get_with_http_info(self, edge_id, group_type, **kwargs): "Get All Edge Entity Groups by entity type (getAllEdgeEntityGroups) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity gr...
def get_edge_entity_groups_using_get(self, edge_id, group_type, page_size, page, **kwargs): "Get Edge Entity Groups by entity type (getEdgeEntityGroups) # noqa: E501\n\n Returns a page of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allow...
6,135,070,953,465,878,000
Get Edge Entity Groups by entity type (getEdgeEntityGroups) # noqa: E501 Returns a page of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). E...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_edge_entity_groups_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_edge_entity_groups_using_get(self, edge_id, group_type, page_size, page, **kwargs): "Get Edge Entity Groups by entity type (getEdgeEntityGroups) # noqa: E501\n\n Returns a page of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allow...
def get_edge_entity_groups_using_get_with_http_info(self, edge_id, group_type, page_size, page, **kwargs): "Get Edge Entity Groups by entity type (getEdgeEntityGroups) # noqa: E501\n\n Returns a page of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Ent...
-5,542,060,722,140,155,000
Get Edge Entity Groups by entity type (getEdgeEntityGroups) # noqa: E501 Returns a page of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). E...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_edge_entity_groups_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_edge_entity_groups_using_get_with_http_info(self, edge_id, group_type, page_size, page, **kwargs): "Get Edge Entity Groups by entity type (getEdgeEntityGroups) # noqa: E501\n\n Returns a page of Entity Group Info objects based on the provided Entity Type and assigned to the provided Edge entity. Ent...
def get_entities_using_get(self, entity_group_id, page_size, page, **kwargs): "Get Group Entities (getEntities) # noqa: E501\n\n Returns a page of Short Entity View objects that belongs to specified Entity Group Id. Short Entity View object contains the entity id and number of fields (attributes, telemetry,...
-8,534,619,707,369,640,000
Get Group Entities (getEntities) # noqa: E501 Returns a page of Short Entity View objects that belongs to specified Entity Group Id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc). List of those fields is configurable and defined in the group configuration.You can sp...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entities_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entities_using_get(self, entity_group_id, page_size, page, **kwargs): "Get Group Entities (getEntities) # noqa: E501\n\n Returns a page of Short Entity View objects that belongs to specified Entity Group Id. Short Entity View object contains the entity id and number of fields (attributes, telemetry,...
def get_entities_using_get_with_http_info(self, entity_group_id, page_size, page, **kwargs): "Get Group Entities (getEntities) # noqa: E501\n\n Returns a page of Short Entity View objects that belongs to specified Entity Group Id. Short Entity View object contains the entity id and number of fields (attribu...
-3,965,570,583,084,288,000
Get Group Entities (getEntities) # noqa: E501 Returns a page of Short Entity View objects that belongs to specified Entity Group Id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc). List of those fields is configurable and defined in the group configuration.You can sp...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entities_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entities_using_get_with_http_info(self, entity_group_id, page_size, page, **kwargs): "Get Group Entities (getEntities) # noqa: E501\n\n Returns a page of Short Entity View objects that belongs to specified Entity Group Id. Short Entity View object contains the entity id and number of fields (attribu...
def get_entity_group_all_by_owner_and_type_using_get(self, owner_type, owner_id, group_type, **kwargs): "Get special group All by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch reserved group 'All' based on the provided Owner Id and Entity Type. Entity group allows you to group...
6,431,286,293,067,816,000
Get special group All by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501 Fetch reserved group 'All' based on the provided Owner Id and Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_group_all_by_owner_and_type_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_group_all_by_owner_and_type_using_get(self, owner_type, owner_id, group_type, **kwargs): "Get special group All by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch reserved group 'All' based on the provided Owner Id and Entity Type. Entity group allows you to group...
def get_entity_group_all_by_owner_and_type_using_get_with_http_info(self, owner_type, owner_id, group_type, **kwargs): "Get special group All by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch reserved group 'All' based on the provided Owner Id and Entity Type. Entity group allo...
-5,288,811,081,803,652,000
Get special group All by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501 Fetch reserved group 'All' based on the provided Owner Id and Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_group_all_by_owner_and_type_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_group_all_by_owner_and_type_using_get_with_http_info(self, owner_type, owner_id, group_type, **kwargs): "Get special group All by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch reserved group 'All' based on the provided Owner Id and Entity Type. Entity group allo...
def get_entity_group_by_id_using_get(self, entity_group_id, **kwargs): "Get Entity Group Info (getEntityGroupById) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, ...
-1,153,845,621,197,559,800
Get Entity Group Info (getEntityGroupById) # noqa: E501 Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particular Tenant or Customer. Ea...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_group_by_id_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_group_by_id_using_get(self, entity_group_id, **kwargs): "Get Entity Group Info (getEntityGroupById) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, ...
def get_entity_group_by_id_using_get_with_http_info(self, entity_group_id, **kwargs): "Get Entity Group Info (getEntityGroupById) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, C...
-7,262,955,596,366,457,000
Get Entity Group Info (getEntityGroupById) # noqa: E501 Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particular Tenant or Customer. Ea...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_group_by_id_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_group_by_id_using_get_with_http_info(self, entity_group_id, **kwargs): "Get Entity Group Info (getEntityGroupById) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, C...
def get_entity_group_by_owner_and_name_and_type_using_get(self, owner_type, owner_id, group_type, group_name, **kwargs): "Get Entity Group by owner, type and name (getEntityGroupByOwnerAndNameAndType) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows y...
-7,671,892,698,928,798,000
Get Entity Group by owner, type and name (getEntityGroupByOwnerAndNameAndType) # noqa: E501 Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_group_by_owner_and_name_and_type_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_group_by_owner_and_name_and_type_using_get(self, owner_type, owner_id, group_type, group_name, **kwargs): "Get Entity Group by owner, type and name (getEntityGroupByOwnerAndNameAndType) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows y...
def get_entity_group_by_owner_and_name_and_type_using_get_with_http_info(self, owner_type, owner_id, group_type, group_name, **kwargs): "Get Entity Group by owner, type and name (getEntityGroupByOwnerAndNameAndType) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity...
-4,812,204,112,726,170,000
Get Entity Group by owner, type and name (getEntityGroupByOwnerAndNameAndType) # noqa: E501 Fetch the Entity Group object based on the provided Entity Group Id. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_group_by_owner_and_name_and_type_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_group_by_owner_and_name_and_type_using_get_with_http_info(self, owner_type, owner_id, group_type, group_name, **kwargs): "Get Entity Group by owner, type and name (getEntityGroupByOwnerAndNameAndType) # noqa: E501\n\n Fetch the Entity Group object based on the provided Entity Group Id. Entity...
def get_entity_groups_by_ids_using_get(self, entity_group_ids, **kwargs): "Get Entity Groups by Ids (getDevicesByIds) # noqa: E501\n\n Requested devices must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authorit...
5,126,398,293,684,405,000
Get Entity Groups by Ids (getDevicesByIds) # noqa: E501 Requested devices must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the enti...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_by_ids_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_by_ids_using_get(self, entity_group_ids, **kwargs): "Get Entity Groups by Ids (getDevicesByIds) # noqa: E501\n\n Requested devices must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authorit...
def get_entity_groups_by_ids_using_get_with_http_info(self, entity_group_ids, **kwargs): "Get Entity Groups by Ids (getDevicesByIds) # noqa: E501\n\n Requested devices must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER...
-8,986,001,988,858,836,000
Get Entity Groups by Ids (getDevicesByIds) # noqa: E501 Requested devices must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the enti...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_by_ids_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_by_ids_using_get_with_http_info(self, entity_group_ids, **kwargs): "Get Entity Groups by Ids (getDevicesByIds) # noqa: E501\n\n Requested devices must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER...
def get_entity_groups_by_owner_and_type_using_get(self, owner_type, owner_id, group_type, **kwargs): "Get Entity Groups by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Owner Id and Entity Type. Entity group allows yo...
-4,102,959,296,413,253,600
Get Entity Groups by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501 Fetch the list of Entity Group Info objects based on the provided Owner Id and Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group a...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_by_owner_and_type_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_by_owner_and_type_using_get(self, owner_type, owner_id, group_type, **kwargs): "Get Entity Groups by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Owner Id and Entity Type. Entity group allows yo...
def get_entity_groups_by_owner_and_type_using_get_with_http_info(self, owner_type, owner_id, group_type, **kwargs): "Get Entity Groups by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Owner Id and Entity Type. Entity ...
-6,193,355,462,377,069,000
Get Entity Groups by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501 Fetch the list of Entity Group Info objects based on the provided Owner Id and Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group a...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_by_owner_and_type_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_by_owner_and_type_using_get_with_http_info(self, owner_type, owner_id, group_type, **kwargs): "Get Entity Groups by owner and entity type (getEntityGroupsByOwnerAndType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Owner Id and Entity Type. Entity ...
def get_entity_groups_by_type_using_get(self, group_type, **kwargs): "Get Entity Groups by entity type (getEntityGroupsByType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, A...
9,049,330,839,815,990,000
Get Entity Groups by entity type (getEntityGroupsByType) # noqa: E501 Fetch the list of Entity Group Info objects based on the provided Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particula...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_by_type_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_by_type_using_get(self, group_type, **kwargs): "Get Entity Groups by entity type (getEntityGroupsByType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, A...
def get_entity_groups_by_type_using_get_with_http_info(self, group_type, **kwargs): "Get Entity Groups by entity type (getEntityGroupsByType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type. Entity group allows you to group multiple entities of the same entity ...
-2,800,371,283,109,995,500
Get Entity Groups by entity type (getEntityGroupsByType) # noqa: E501 Fetch the list of Entity Group Info objects based on the provided Entity Type. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particula...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_by_type_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_by_type_using_get_with_http_info(self, group_type, **kwargs): "Get Entity Groups by entity type (getEntityGroupsByType) # noqa: E501\n\n Fetch the list of Entity Group Info objects based on the provided Entity Type. Entity group allows you to group multiple entities of the same entity ...
def get_entity_groups_for_entity_using_get(self, entity_type, entity_id, **kwargs): "Get Entity Groups by Entity Id (getEntityGroupsForEntity) # noqa: E501\n\n Returns a list of groups that contain the specified Entity Id. For example, all device groups that contain specific device. The list always contain ...
-7,510,722,725,745,826,000
Get Entity Groups by Entity Id (getEntityGroupsForEntity) # noqa: E501 Returns a list of groups that contain the specified Entity Id. For example, all device groups that contain specific device. The list always contain at least one element - special group 'All'.You can specify parameters to filter the results. The re...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_for_entity_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_for_entity_using_get(self, entity_type, entity_id, **kwargs): "Get Entity Groups by Entity Id (getEntityGroupsForEntity) # noqa: E501\n\n Returns a list of groups that contain the specified Entity Id. For example, all device groups that contain specific device. The list always contain ...
def get_entity_groups_for_entity_using_get_with_http_info(self, entity_type, entity_id, **kwargs): "Get Entity Groups by Entity Id (getEntityGroupsForEntity) # noqa: E501\n\n Returns a list of groups that contain the specified Entity Id. For example, all device groups that contain specific device. The list ...
-4,774,721,011,841,435,000
Get Entity Groups by Entity Id (getEntityGroupsForEntity) # noqa: E501 Returns a list of groups that contain the specified Entity Id. For example, all device groups that contain specific device. The list always contain at least one element - special group 'All'.You can specify parameters to filter the results. The re...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_entity_groups_for_entity_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_entity_groups_for_entity_using_get_with_http_info(self, entity_type, entity_id, **kwargs): "Get Entity Groups by Entity Id (getEntityGroupsForEntity) # noqa: E501\n\n Returns a list of groups that contain the specified Entity Id. For example, all device groups that contain specific device. The list ...
def get_group_entity_using_get(self, entity_group_id, entity_id, **kwargs): "Get Group Entity (getGroupEntity) # noqa: E501\n\n Fetch the Short Entity View object based on the group and entity id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc). List of thos...
7,485,628,825,526,395,000
Get Group Entity (getGroupEntity) # noqa: E501 Fetch the Short Entity View object based on the group and entity id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc). List of those fields is configurable and defined in the group configuration. Available for users with ...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_group_entity_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_group_entity_using_get(self, entity_group_id, entity_id, **kwargs): "Get Group Entity (getGroupEntity) # noqa: E501\n\n Fetch the Short Entity View object based on the group and entity id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc). List of thos...
def get_group_entity_using_get_with_http_info(self, entity_group_id, entity_id, **kwargs): "Get Group Entity (getGroupEntity) # noqa: E501\n\n Fetch the Short Entity View object based on the group and entity id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc...
554,584,701,647,343,100
Get Group Entity (getGroupEntity) # noqa: E501 Fetch the Short Entity View object based on the group and entity id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc). List of those fields is configurable and defined in the group configuration. Available for users with ...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_group_entity_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_group_entity_using_get_with_http_info(self, entity_group_id, entity_id, **kwargs): "Get Group Entity (getGroupEntity) # noqa: E501\n\n Fetch the Short Entity View object based on the group and entity id. Short Entity View object contains the entity id and number of fields (attributes, telemetry, etc...
def get_owners_using_get(self, page_size, page, **kwargs): "Get Owners (getOwners) # noqa: E501\n\n Provides a rage view of Customers that the current user has READ access to. If the current user is Tenant administrator, the result set also contains the tenant. The call is designed for the UI auto-complete ...
-1,044,059,097,860,040,100
Get Owners (getOwners) # noqa: E501 Provides a rage view of Customers that the current user has READ access to. If the current user is Tenant administrator, the result set also contains the tenant. The call is designed for the UI auto-complete component to show tenant and all possible Customers that the user may sele...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_owners_using_get
D34DPlayer/thingsboard-python-rest-client
python
def get_owners_using_get(self, page_size, page, **kwargs): "Get Owners (getOwners) # noqa: E501\n\n Provides a rage view of Customers that the current user has READ access to. If the current user is Tenant administrator, the result set also contains the tenant. The call is designed for the UI auto-complete ...
def get_owners_using_get_with_http_info(self, page_size, page, **kwargs): "Get Owners (getOwners) # noqa: E501\n\n Provides a rage view of Customers that the current user has READ access to. If the current user is Tenant administrator, the result set also contains the tenant. The call is designed for the UI...
-3,061,577,421,664,482,300
Get Owners (getOwners) # noqa: E501 Provides a rage view of Customers that the current user has READ access to. If the current user is Tenant administrator, the result set also contains the tenant. The call is designed for the UI auto-complete component to show tenant and all possible Customers that the user may sele...
tb_rest_client/api/api_pe/entity_group_controller_api.py
get_owners_using_get_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def get_owners_using_get_with_http_info(self, page_size, page, **kwargs): "Get Owners (getOwners) # noqa: E501\n\n Provides a rage view of Customers that the current user has READ access to. If the current user is Tenant administrator, the result set also contains the tenant. The call is designed for the UI...
def make_entity_group_private_using_post(self, entity_group_id, **kwargs): "Make Entity Group Private (makeEntityGroupPrivate) # noqa: E501\n\n Make the entity group not available for non authorized users. Every group is private by default. This call is useful to hide the group that was previously made publ...
-3,196,585,965,353,168,400
Make Entity Group Private (makeEntityGroupPrivate) # noqa: E501 Make the entity group not available for non authorized users. Every group is private by default. This call is useful to hide the group that was previously made public. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check ...
tb_rest_client/api/api_pe/entity_group_controller_api.py
make_entity_group_private_using_post
D34DPlayer/thingsboard-python-rest-client
python
def make_entity_group_private_using_post(self, entity_group_id, **kwargs): "Make Entity Group Private (makeEntityGroupPrivate) # noqa: E501\n\n Make the entity group not available for non authorized users. Every group is private by default. This call is useful to hide the group that was previously made publ...
def make_entity_group_private_using_post_with_http_info(self, entity_group_id, **kwargs): "Make Entity Group Private (makeEntityGroupPrivate) # noqa: E501\n\n Make the entity group not available for non authorized users. Every group is private by default. This call is useful to hide the group that was previ...
-752,541,636,251,510,300
Make Entity Group Private (makeEntityGroupPrivate) # noqa: E501 Make the entity group not available for non authorized users. Every group is private by default. This call is useful to hide the group that was previously made public. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check ...
tb_rest_client/api/api_pe/entity_group_controller_api.py
make_entity_group_private_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def make_entity_group_private_using_post_with_http_info(self, entity_group_id, **kwargs): "Make Entity Group Private (makeEntityGroupPrivate) # noqa: E501\n\n Make the entity group not available for non authorized users. Every group is private by default. This call is useful to hide the group that was previ...
def make_entity_group_public_using_post(self, entity_group_id, **kwargs): "Make Entity Group Publicly available (makeEntityGroupPublic) # noqa: E501\n\n Make the entity group available for non authorized users. Useful for public dashboards that will be embedded into the public websites. Available for user...
-7,373,107,173,421,755,000
Make Entity Group Publicly available (makeEntityGroupPublic) # noqa: E501 Make the entity group available for non authorized users. Useful for public dashboards that will be embedded into the public websites. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify...
tb_rest_client/api/api_pe/entity_group_controller_api.py
make_entity_group_public_using_post
D34DPlayer/thingsboard-python-rest-client
python
def make_entity_group_public_using_post(self, entity_group_id, **kwargs): "Make Entity Group Publicly available (makeEntityGroupPublic) # noqa: E501\n\n Make the entity group available for non authorized users. Useful for public dashboards that will be embedded into the public websites. Available for user...
def make_entity_group_public_using_post_with_http_info(self, entity_group_id, **kwargs): "Make Entity Group Publicly available (makeEntityGroupPublic) # noqa: E501\n\n Make the entity group available for non authorized users. Useful for public dashboards that will be embedded into the public websites. Ava...
5,361,500,506,757,267,000
Make Entity Group Publicly available (makeEntityGroupPublic) # noqa: E501 Make the entity group available for non authorized users. Useful for public dashboards that will be embedded into the public websites. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify...
tb_rest_client/api/api_pe/entity_group_controller_api.py
make_entity_group_public_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def make_entity_group_public_using_post_with_http_info(self, entity_group_id, **kwargs): "Make Entity Group Publicly available (makeEntityGroupPublic) # noqa: E501\n\n Make the entity group available for non authorized users. Useful for public dashboards that will be embedded into the public websites. Ava...
def remove_entities_from_entity_group_using_post(self, entity_group_id, **kwargs): "Remove entities from the group (removeEntitiesFromEntityGroup) # noqa: E501\n\n Removes entities from the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Cus...
-6,130,842,621,381,224,000
Remove entities from the group (removeEntitiesFromEntityGroup) # noqa: E501 Removes entities from the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particular Tenant or Customer. E...
tb_rest_client/api/api_pe/entity_group_controller_api.py
remove_entities_from_entity_group_using_post
D34DPlayer/thingsboard-python-rest-client
python
def remove_entities_from_entity_group_using_post(self, entity_group_id, **kwargs): "Remove entities from the group (removeEntitiesFromEntityGroup) # noqa: E501\n\n Removes entities from the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Cus...
def remove_entities_from_entity_group_using_post_with_http_info(self, entity_group_id, **kwargs): "Remove entities from the group (removeEntitiesFromEntityGroup) # noqa: E501\n\n Removes entities from the specified entity group. Entity group allows you to group multiple entities of the same entity type (Dev...
3,813,058,443,029,844,500
Remove entities from the group (removeEntitiesFromEntityGroup) # noqa: E501 Removes entities from the specified entity group. Entity group allows you to group multiple entities of the same entity type (Device, Asset, Customer, User, Dashboard, etc). Entity Group always have an owner - particular Tenant or Customer. E...
tb_rest_client/api/api_pe/entity_group_controller_api.py
remove_entities_from_entity_group_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def remove_entities_from_entity_group_using_post_with_http_info(self, entity_group_id, **kwargs): "Remove entities from the group (removeEntitiesFromEntityGroup) # noqa: E501\n\n Removes entities from the specified entity group. Entity group allows you to group multiple entities of the same entity type (Dev...
def save_entity_group_using_post(self, **kwargs): "Create Or Update Entity Group (saveEntityGroup) # noqa: E501\n\n Create or update the Entity Group. When creating Entity Group, platform generates Entity Group Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(da...
-6,062,494,930,232,194,000
Create Or Update Entity Group (saveEntityGroup) # noqa: E501 Create or update the Entity Group. When creating Entity Group, platform generates Entity Group Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Entity Group Id will...
tb_rest_client/api/api_pe/entity_group_controller_api.py
save_entity_group_using_post
D34DPlayer/thingsboard-python-rest-client
python
def save_entity_group_using_post(self, **kwargs): "Create Or Update Entity Group (saveEntityGroup) # noqa: E501\n\n Create or update the Entity Group. When creating Entity Group, platform generates Entity Group Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(da...
def save_entity_group_using_post_with_http_info(self, **kwargs): "Create Or Update Entity Group (saveEntityGroup) # noqa: E501\n\n Create or update the Entity Group. When creating Entity Group, platform generates Entity Group Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifie...
8,520,411,918,597,085,000
Create Or Update Entity Group (saveEntityGroup) # noqa: E501 Create or update the Entity Group. When creating Entity Group, platform generates Entity Group Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Entity Group Id will...
tb_rest_client/api/api_pe/entity_group_controller_api.py
save_entity_group_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def save_entity_group_using_post_with_http_info(self, **kwargs): "Create Or Update Entity Group (saveEntityGroup) # noqa: E501\n\n Create or update the Entity Group. When creating Entity Group, platform generates Entity Group Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifie...
def share_entity_group_to_child_owner_user_group_using_post(self, entity_group_id, user_group_id, role_id, **kwargs): "Share the Entity Group with User group (shareEntityGroupToChildOwnerUserGroup) # noqa: E501\n\n Share the entity group with specified user group using specified role. Available for users ...
6,930,260,007,750,326,000
Share the Entity Group with User group (shareEntityGroupToChildOwnerUserGroup) # noqa: E501 Share the entity group with specified user group using specified role. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for spec...
tb_rest_client/api/api_pe/entity_group_controller_api.py
share_entity_group_to_child_owner_user_group_using_post
D34DPlayer/thingsboard-python-rest-client
python
def share_entity_group_to_child_owner_user_group_using_post(self, entity_group_id, user_group_id, role_id, **kwargs): "Share the Entity Group with User group (shareEntityGroupToChildOwnerUserGroup) # noqa: E501\n\n Share the entity group with specified user group using specified role. Available for users ...
def share_entity_group_to_child_owner_user_group_using_post_with_http_info(self, entity_group_id, user_group_id, role_id, **kwargs): "Share the Entity Group with User group (shareEntityGroupToChildOwnerUserGroup) # noqa: E501\n\n Share the entity group with specified user group using specified role. Avail...
568,845,265,859,664,200
Share the Entity Group with User group (shareEntityGroupToChildOwnerUserGroup) # noqa: E501 Share the entity group with specified user group using specified role. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for spec...
tb_rest_client/api/api_pe/entity_group_controller_api.py
share_entity_group_to_child_owner_user_group_using_post_with_http_info
D34DPlayer/thingsboard-python-rest-client
python
def share_entity_group_to_child_owner_user_group_using_post_with_http_info(self, entity_group_id, user_group_id, role_id, **kwargs): "Share the Entity Group with User group (shareEntityGroupToChildOwnerUserGroup) # noqa: E501\n\n Share the entity group with specified user group using specified role. Avail...
def share_entity_group_using_post(self, entity_group_id, **kwargs): "Share the Entity Group (shareEntityGroup) # noqa: E501\n\n Share the entity group with certain user group based on the provided Share Group Request. The request is quite flexible and processing of the request involves multiple security che...
-6,011,038,966,855,095,000
Share the Entity Group (shareEntityGroup) # noqa: E501 Share the entity group with certain user group based on the provided Share Group Request. The request is quite flexible and processing of the request involves multiple security checks using platform RBAC feature. Available for users with 'TENANT_ADMIN' or 'CUSTO...
tb_rest_client/api/api_pe/entity_group_controller_api.py
share_entity_group_using_post
D34DPlayer/thingsboard-python-rest-client
python
def share_entity_group_using_post(self, entity_group_id, **kwargs): "Share the Entity Group (shareEntityGroup) # noqa: E501\n\n Share the entity group with certain user group based on the provided Share Group Request. The request is quite flexible and processing of the request involves multiple security che...