code stringlengths 1 18.2k |
|---|
def assert_le(left, right, message=None, extra=None): """Raises an AssertionError if left_hand > right_hand.""" assert left <= right, _assert_fail_message(message, left, right, ">", extra) |
def assert_in(obj, seq, message=None, extra=None): """Raises an AssertionError if obj is not in seq.""" assert obj in seq, _assert_fail_message(message, obj, seq, "is not in", extra) |
def assert_not_in(obj, seq, message=None, extra=None): """Raises an AssertionError if obj is in iter.""" # for very long strings, provide a truncated error if isinstance(seq, six.string_types) and obj in seq and len(seq) > 200: index = seq.find(obj) start_index = index - 50 if start_index > 0: truncated = "(truncated) ... |
+= seq[start_index:end_index] if end_index < len(seq): truncated += "... (truncated)" assert False, _assert_fail_message(message, obj, truncated, "is in", extra) assert obj not in seq, _assert_fail_message(message, obj, seq, "is in", extra) |
def assert_in_with_tolerance(obj, seq, tolerance, message=None, extra=None): """Raises an AssertionError if obj is not in seq using assert_eq cmp.""" for i in seq: try: assert_eq(obj, i, tolerance=tolerance, message=message, extra=extra) return except AssertionError: pass assert False, _assert_fail_message(message, obj... |
def assert_is_substring(substring, subject, message=None, extra=None): """Raises an AssertionError if substring is not a substring of subject.""" assert ( (subject is not None) and (substring is not None) and (subject.find(substring) != -1) ), _assert_fail_message(message, substring, subject, "is not in", extra) |
def assert_is_not_substring(substring, subject, message=None, extra=None): """Raises an AssertionError if substring is a substring of subject.""" assert ( (subject is not None) and (substring is not None) and (subject.find(substring) == -1) ), _assert_fail_message(message, substring, subject, "is in", extra) |
def assert_unordered_list_eq(expected, actual, message=None): """Raises an AssertionError if the objects contained in expected are not equal to the objects contained in actual without regard to their order. This takes quadratic time in the umber of elements in actual; don't use it for very long lists. """ missing_in_ac... |
missing_in_expected: if not message: message = ( "%r not equal to %r; missing items: %r in expected, %r in actual." % (expected, actual, missing_in_expected, missing_in_actual) ) assert False, message |
def _execute_if_not_empty(func): """ Execute function only if one of input parameters is not empty """ def wrapper(*args, **kwargs): if any(args[1:]) or any(kwargs.items()): return func(*args, **kwargs) return wrapper |
def prepare_search_body(self, should_terms=None, must_terms=None, must_not_terms=None, search_text='', start=None, end=None): """ Prepare body for elasticsearch query Search parameters ^^^^^^^^^^^^^^^^^ These parameters are dictionaries and have format: <term>: [<value 1>, <value 2> ...] should_terms: it resembles logi... |
= self.SearchBody() self.body.set_should_terms(should_terms) self.body.set_must_terms(must_terms) self.body.set_must_not_terms(must_not_terms) self.body.set_search_text(search_text) self.body.set_timestamp_filter(start, end) self.body.prepare() |
def execute(cls, instance, async=True, countdown=2, is_heavy_task=False, **kwargs): """ Execute high level-operation """ cls.pre_apply(instance, async=async, **kwargs) result = cls.apply_signature(instance, async=async, countdown=countdown, is_heavy_task=is_heavy_task, **kwargs) cls.post_apply(instance, async=async, **... |
def apply_signature(cls, instance, async=True, countdown=None, is_heavy_task=False, **kwargs): """ Serialize input data and apply signature """ serialized_instance = utils.serialize_instance(instance) signature = cls.get_task_signature(instance, serialized_instance, **kwargs) link = cls.get_success_signature(instance, ... |
result.get() |
def _apply_callback(cls, callback, result): """ Synchronously execute callback """ if not callback.immutable: callback.args = (result.id, ) + callback.args callback.apply() |
def get_entity_description(entity): """ Returns description in format: * entity human readable name * docstring """ try: entity_name = entity.__name__.strip('_') except AttributeError: # entity is a class instance entity_name = entity.__class__.__name__ label = '* %s' % formatting.camelcase_to_spaces(entity_name) if en... |
def get_validators_description(view): """ Returns validators description in format: ### Validators: * validator1 name * validator1 docstring * validator2 name * validator2 docstring """ action = getattr(view, 'action', None) if action is None: return '' description = '' validators = getattr(view, action + '_validators'... |
description if description else '' |
def get_actions_permission_description(view, method): """ Returns actions permissions description in format: * permission1 name * permission1 docstring * permission2 name * permission2 docstring """ action = getattr(view, 'action', None) if action is None: return '' if hasattr(view, action + '_permissions'): permission... |
in permission_types: action_perms = getattr(view, permission_type + '_permissions', []) for permission in action_perms: action_perm_description = get_entity_description(permission) description += '\n' + action_perm_description if description else action_perm_description return description |
def get_permissions_description(view, method): """ Returns permissions description in format: ### Permissions: * permission1 name * permission1 docstring * permission2 name * permission2 docstring """ if not hasattr(view, 'permission_classes'): return '' description = '' for permission_class in view.permission_classes:... |
perm_description if description else perm_description return '### Permissions:\n' + description if description else '' |
def get_validation_description(view, method): """ Returns validation description in format: ### Validation: validate method docstring * field1 name * field1 validation docstring * field2 name * field2 validation docstring """ if method not in ('PUT', 'PATCH', 'POST') or not hasattr(view, 'get_serializer'): return '' se... |
not hasattr(serializer, 'validate_' + field.field_name): continue field_validation = getattr(serializer, 'validate_' + field.field_name) if field_validation.__doc__ is not None: docstring = formatting.dedent(smart_text(field_validation.__doc__)).replace('\n', '\n\t') field_description = '* %s\n * %s' % (field.field_nam... |
def get_field_type(field): """ Returns field type/possible values. """ if isinstance(field, core_filters.MappedMultipleChoiceFilter): return ' | '.join(['"%s"' % f for f in sorted(field.mapped_to_model)]) if isinstance(field, OrderingFilter) or isinstance(field, ChoiceFilter): return ' | '.join(['"%s"' % f[0] for f in ... |
"'%s'" % field.lookup_field}) return reverse(field.view_name) if isinstance(field, structure_filters.ServiceTypeFilter): return ' | '.join(['"%s"' % f for f in SupportedServices.get_filter_mapping().keys()]) if isinstance(field, ResourceTypeFilter): return ' | '.join(['"%s"' % f for f in SupportedServices.get_resource_... |
path = ', '.join(links) if path: return 'link to any: %s' % path if isinstance(field, core_filters.ContentTypeFilter): return "string in form 'app_label'.'model_name'" if isinstance(field, ModelMultipleChoiceFilter): return get_field_type(field.field) if isinstance(field, ListSerializer): return 'list of [%s]' % get_fi... |
name) |
def is_disabled_action(view): """ Checks whether Link action is disabled. """ if not isinstance(view, core_views.ActionsViewSet): return False action = getattr(view, 'action', None) return action in view.disabled_actions if action is not None else False |
def get_allowed_methods(self, callback): """ Return a list of the valid HTTP methods for this endpoint. """ if hasattr(callback, 'actions'): return [method.upper() for method in callback.actions.keys() if method != 'head'] return [ method for method in callback.cls().allowed_methods if method not in ('OPTIONS', 'HEAD')... |
def create_view(self, callback, method, request=None): """ Given a callback, return an actual view instance. """ view = super(WaldurSchemaGenerator, self).create_view(callback, method, request) if is_disabled_action(view): view.exclude_from_schema = True return view |
def get_description(self, path, method, view): """ Determine a link description. This will be based on the method docstring if one exists, or else the class docstring. """ description = super(WaldurSchemaGenerator, self).get_description(path, method, view) permissions_description = get_permissions_description(view, met... |
validators_description validation_description = get_validation_description(view, method) if validation_description: description += '\n\n' + validation_description if description else validation_description return description |
def get_serializer_fields(self, path, method, view): """ Return a list of `coreapi.Field` instances corresponding to any request body input, as determined by the serializer class. """ if method not in ('PUT', 'PATCH', 'POST'): return [] if not hasattr(view, 'get_serializer'): return [] serializer = view.get_serializer(... |
field.required and method != 'PATCH' description = force_text(field.help_text) if field.help_text else '' field_type = get_field_type(field) description += '; ' + field_type if description else field_type field = coreapi.Field( name=field.field_name, location='form', required=required, description=description, schema=s... |
def delete_error_message(sender, instance, name, source, target, **kwargs): """ Delete error message if instance state changed from erred """ if source != StateMixin.States.ERRED: return instance.error_message = '' instance.save(update_fields=['error_message']) |
def find_version(*file_paths): """ read __init__.py """ file_path = os.path.join(*file_paths) with open(file_path, 'r') as version_file: line = version_file.readline() while line: if line.startswith('__version__'): version_match = re.search( r"^__version__ = ['\"]([^'\"]*)['\"]", line, re.M ) if version_match: return v... |
def trace(enter=False, exit=True): """ This decorator prints entry and exit message when the decorated method is called, as well as call arguments, result and thrown exception (if any). :param enter: indicates whether entry message should be printed. :param exit: indicates whether exit message should be printed. :retur... |
enter: print( "%s(args = %s, kwargs = %s) <-" % (name, repr(args), repr(kwargs)) ) try: result = fn(*args, **kwargs) if exit: print( "%s(args = %s, kwargs = %s) -> %s" % (name, repr(args), repr(kwargs), repr(result)) ) return result except Exception as e: if exit: print( "%s(args = %s, kwargs = %s) -> thrown %s" % (nam... |
decorate |
def _make_value(self, value): """Instantiates an enum with an arbitrary value.""" member = self.__new__(self, value) member.__init__(value) return member |
def create(cls, name, members): """Creates a new enum type based on this one (cls) and adds newly passed members to the newly created subclass of cls. This method helps to create enums having the same member values as values of other enum(s). :param name: name of the newly created type :param members: 1) a dict or 2) a... |
EnumBase instances describing new members :return: newly created enum type. """ NewEnum = type(name, (cls,), {}) if isinstance(members, dict): members = members.items() for member in members: if isinstance(member, tuple): name, value = member setattr(NewEnum, name, value) elif isinstance(member, EnumBase): setattr(NewE... |
list of EnumBase instances." ) NewEnum.process() # needed for pickling to work (hopefully); taken from the namedtuple implementation in the # standard library try: NewEnum.__module__ = sys._getframe(1).f_globals.get("__name__", "__main__") except (AttributeError, ValueError): pass return NewEnum |
def parse(cls, value, default=_no_default): """Parses an enum member name or value into an enum member. Accepts the following types: - Members of this enum class. These are returned directly. - Integers. If there is an enum member with the integer as a value, that member is returned. - Strings. If there is an enum memb... |
returned. For integers and strings that don't correspond to an enum member, default is returned; if no default is given the function raises KeyError instead. Examples: >>> class Color(Enum): ... red = 1 ... blue = 2 >>> Color.parse(Color.red) Color.red >>> Color.parse(1) Color.red >>> Color.parse('blue') Color.blue """... |
e = cls._name_to_member.get(value, _no_default) if e is _no_default or not e.is_valid(): if default is _no_default: raise _create_invalid_value_error(cls, value) return default return e |
def parse(cls, value, default=_no_default): """Parses a flag integer or string into a Flags instance. Accepts the following types: - Members of this enum class. These are returned directly. - Integers. These are converted directly into a Flags instance with the given name. - Strings. The function accepts a comma-delimi... |
Examples: >>> class Car(Flags): ... is_big = 1 ... has_wheels = 2 >>> Car.parse(1) Car.is_big >>> Car.parse(3) Car.parse('has_wheels,is_big') >>> Car.parse('is_big,has_wheels') Car.parse('has_wheels,is_big') """ if isinstance(value, cls): return value elif isinstance(value, int): e = cls._make_value(value) else: if not... |
return default r |= v.value e = cls._make_value(r) if not e.is_valid(): if default is _no_default: raise _create_invalid_value_error(cls, value) return default return e |
def list(self, request, *args, **kwargs): """ To get a list of price estimates, run **GET** against */api/price-estimates/* as authenticated user. You can filter price estimates by scope type, scope URL, customer UUID. `scope_type` is generic type of object for which price estimate is calculated. Currently there are fo... |
together specify date range. Each valid date should in format YYYY.MM You can specify GET parameter ?depth to show price estimate children. For example with ?depth=2 customer price estimate will shows its children - project and service and grandchildren - serviceprojectlink. """ return super(PriceEstimateViewSet, self)... |
def list(self, request, *args, **kwargs): """ To get a list of price list items, run **GET** against */api/price-list-items/* as an authenticated user. """ return super(PriceListItemViewSet, self).list(request, *args, **kwargs) |
def create(self, request, *args, **kwargs): """ Run **POST** request against */api/price-list-items/* to create new price list item. Customer owner and staff can create price items. Example of request: .. code-block:: http POST /api/price-list-items/ HTTP/1.1 Content-Type: application/json Accept: application/json Auth... |
def update(self, request, *args, **kwargs): """ Run **PATCH** request against */api/price-list-items/<uuid>/* to update price list item. Only item_type, key value and units can be updated. Only customer owner and staff can update price items. """ return super(PriceListItemViewSet, self).update(request, *args, **kwargs) |
def destroy(self, request, *args, **kwargs): """ Run **DELETE** request against */api/price-list-items/<uuid>/* to delete price list item. Only customer owner and staff can delete price items. """ return super(PriceListItemViewSet, self).destroy(request, *args, **kwargs) |
def list(self, request, *args, **kwargs): """ To get a list of default price list items, run **GET** against */api/default-price-list-items/* as authenticated user. Price lists can be filtered by: - ?key=<string> - ?item_type=<string> has to be from list of available item_types (available options: 'flavor', 'storage', ... |
def list(self, request, *args, **kwargs): """ To get a list of price list items, run **GET** against */api/merged-price-list-items/* as authenticated user. If service is not specified default price list items are displayed. Otherwise service specific price list items are displayed. In this case rendered object contains... |
URL: http://example.com/api/merged-price-list-items/?service_type=Azure&service_uuid=cb658b491f3644a092dd223e894319be """ return super(MergedPriceListItemViewSet, self).list(request, *args, **kwargs) |
def Remote(path=None, loader=Notebook, **globals): """A remote notebook finder. Place a `*` into a url to generalize the finder. It returns a context manager """ class Remote(RemoteMixin, loader): ... return Remote(path=path, **globals) |
def get_permission_checks(self, request, view): """ Get permission checks that will be executed for current action. """ if view.action is None: return [] # if permissions are defined for view directly - use them. if hasattr(view, view.action + '_permissions'): return getattr(view, view.action + '_permissions') # otherw... |
getattr(view, 'safe_methods_permissions', []) + extra_permissions else: return getattr(view, 'unsafe_methods_permissions', []) + extra_permissions |
def add_function(self, function): """ Registers the function to the server's default fixed function manager. """ #noinspection PyTypeChecker if not len(self.settings.FUNCTION_MANAGERS): raise ConfigurationError( 'Where have the default function manager gone?!') self.settings.FUNCTION_MANAGERS[0].add_function(function) |
def format_raw_field(key): """ When ElasticSearch analyzes string, it breaks it into parts. In order make query for not-analyzed exact string values, we should use subfield instead. The index template for Elasticsearch 5.0 has been changed. The subfield for string multi-fields has changed from .raw to .keyword Thus wor... |
return '%s.%s' % (camel_case_to_underscore(key), subfield) |
def decorate(decorator_cls, *args, **kwargs): """Creates a decorator function that applies the decorator_cls that was passed in.""" global _wrappers wrapper_cls = _wrappers.get(decorator_cls, None) if wrapper_cls is None: class PythonWrapper(decorator_cls): pass wrapper_cls = PythonWrapper wrapper_cls.__name__ = decora... |
def deprecated(replacement_description): """States that method is deprecated. :param replacement_description: Describes what must be used instead. :return: the original method with modified docstring. """ def decorate(fn_or_class): if isinstance(fn_or_class, type): pass # Can't change __doc__ of type objects else: try:... |
def convert_result(converter): """Decorator that can convert the result of a function call.""" def decorate(fn): @inspection.wraps(fn) def new_fn(*args, **kwargs): return converter(fn(*args, **kwargs)) return new_fn return decorate |
def retry(exception_cls, max_tries=10, sleep=0.05): """Decorator for retrying a function if it throws an exception. :param exception_cls: an exception type or a parenthesized tuple of exception types :param max_tries: maximum number of times this function can be executed. Must be at least 1. :param sleep: number of sec... |
try: return delegate() except exception_cls: if i + 1 == max_tries: raise time.sleep(sleep) def outer(fn): is_generator = inspect.isgeneratorfunction(fn) @functools.wraps(fn) def retry_fun(*args, **kwargs): return with_max_retries_call(lambda: fn(*args, **kwargs)) @functools.wraps(fn) def retry_generator_fun(*args, **k... |
is_generator: # so that qcore.inspection.get_original_fn can retrieve the original function retry_fun.fn = fn # Necessary for pickling of Cythonized functions to work. Cython's __reduce__ # method always returns the original name of the function. retry_fun.__reduce__ = lambda: fn.__name__ return retry_fun else: retry_g... |
def decorator_of_context_manager(ctxt): """Converts a context manager into a decorator. This decorator will run the decorated function in the context of the manager. :param ctxt: Context to run the function in. :return: Wrapper around the original function. """ def decorator_fn(*outer_args, **outer_kwargs): def decorat... |
"Decorator that runs the inner function in the context of %s" decorator_fn.__doc__ = msg % ctxt else: decorator_fn.__doc__ = ctxt.__doc__ return decorator_fn |
def get_error(self, error): """ A helper function, gets standard information from the error. """ error_type = type(error) if error.error_type == ET_CLIENT: error_type_name = 'Client' else: error_type_name = 'Server' return { 'type': error_type_name, 'name': error_type.__name__, 'prefix': getattr(error_type, '__module__... |
def validate_quota_change(self, quota_deltas, raise_exception=False): """ Get error messages about object and his ancestor quotas that will be exceeded if quota_delta will be added. raise_exception - if True QuotaExceededException will be raised if validation fails quota_deltas - dictionary of quotas deltas, example: {... |
delta in six.iteritems(quota_deltas): quota = self.quotas.get(name=name) if quota.is_exceeded(delta): errors.append('%s quota limit: %s, requires %s (%s)\n' % ( quota.name, quota.limit, quota.usage + delta, quota.scope)) if not raise_exception: return errors else: if errors: raise exceptions.QuotaExceededException(_('O... |
def get_sum_of_quotas_as_dict(cls, scopes, quota_names=None, fields=['usage', 'limit']): """ Return dictionary with sum of all scopes' quotas. Dictionary format: { 'quota_name1': 'sum of limits for quotas with such quota_name1', 'quota_name1_usage': 'sum of usages for quotas with such quota_name1', ... } All `scopes` h... |
not scopes: return {} if quota_names is None: quota_names = cls.get_quotas_names() scope_models = set([scope._meta.model for scope in scopes]) if len(scope_models) > 1: raise exceptions.QuotaError(_('All scopes have to be instances of the same model.')) filter_kwargs = { 'content_type': ct_models.ContentType.objects.ge... |
'_usage'] = item['usage'] if 'limit' in fields: unlimited_quotas = Quota.objects.filter(limit=-1, **filter_kwargs) unlimited_quotas = list(unlimited_quotas.values_list('name', flat=True)) for quota_name in unlimited_quotas: result[quota_name] = -1 items = Quota.objects\ .filter(**filter_kwargs)\ .exclude(name__in=unlim... |
def list(self, request, *args, **kwargs): """ To get a list of events - run **GET** against */api/events/* as authenticated user. Note that a user can only see events connected to objects she is allowed to see. Sorting is supported in ascending and descending order by specifying a field to an **?o=** parameter. By defa... |
against */api/events/* to create an event. Only users with staff privileges can create events. New event will be emitted with `custom_notification` event type. Request should contain following fields: - level: the level of current event. Following levels are supported: debug, info, warning, error - message: string repr... |
javascript POST /api/events/ Accept: application/json Content-Type: application/json Authorization: Token c84d653b9ec92c6cbac41c706593e66f567a7fa4 Host: example.com { "level": "info", "message": "message#1", "scope": "http://example.com/api/customers/9cd869201e1b4158a285427fcd790c1c/" } """ self.queryset = self.filter_... |
def count(self, request, *args, **kwargs): """ To get a count of events - run **GET** against */api/events/count/* as authenticated user. Endpoint support same filters as events list. Response example: .. code-block:: javascript {"count": 12321} """ self.queryset = self.filter_queryset(self.get_queryset()) return respo... |
def count_history(self, request, *args, **kwargs): """ To get a historical data of events amount - run **GET** against */api/events/count/history/*. Endpoint support same filters as events list. More about historical data - read at section *Historical data*. Response example: .. code-block:: javascript [ { "point": 141... |
request.query_params.get('points_count'), 'point_list': request.query_params.getlist('point'), } serializer = core_serializers.HistorySerializer(data={k: v for k, v in mapped.items() if v}) serializer.is_valid(raise_exception=True) timestamp_ranges = [{'end': point_date} for point_date in serializer.get_filter_data()] ... |
def scope_types(self, request, *args, **kwargs): """ Returns a list of scope types acceptable by events filter. """ return response.Response(utils.get_scope_types_mapping().keys()) |
def list(self, request, *args, **kwargs): """ To get a list of alerts, run **GET** against */api/alerts/* as authenticated user. Alert severity field can take one of this values: "Error", "Warning", "Info", "Debug". Field scope will contain link to object that cause alert. Context - dictionary that contains information... |
- ?alert_type=<alert_type> (can be list) - ?scope=<url> concrete alert scope - ?scope_type=<string> name of scope type (Ex.: instance, service_project_link, project...) DEPRECATED use ?content_type instead - ?created_from=<timestamp> - ?created_to=<timestamp> - ?closed_from=<timestamp> - ?closed_to=<timestamp> - ?from=... |
endpoint will return only alerts that are not closed - ?closed - if this argument is in GET request endpoint will return only alerts that are closed - ?aggregate=aggregate_model_name (default: 'customer'. Have to be from list: 'customer', project') - ?uuid=uuid_of_aggregate_model_object (not required. If this parameter... |
alerts - ?content_type=<string> name of scope content type in format <app_name>.<scope_type> (Ex.: structure.project, openstack.instance...) - ?exclude_features=<feature> (can be list) - exclude alert from output if it's type corresponds o one of given features Alerts can be ordered by: -?o=severity - order by severity... |
{ "url": "http://example.com/api/alerts/e80e48a4e58b48ff9a1320a0aa0d68ab/", "uuid": "e80e48a4e58b48ff9a1320a0aa0d68ab", "alert_type": "first_alert", "message": "message#1", "severity": "Debug", "scope": "http://example.com/api/instances/9d1d7e03b0d14fd0b42b5f649dfa3de5/", "created": "2015-05-29T14:24:27.342Z", "closed"... |
def create(self, request, *args, **kwargs): """ Run **POST** against */api/alerts/* to create or update alert. If alert with posted scope and alert_type already exists - it will be updated. Only users with staff privileges can create alerts. Request example: .. code-block:: javascript POST /api/alerts/ Accept: applicat... |
return super(AlertViewSet, self).create(request, *args, **kwargs) |
def close(self, request, *args, **kwargs): """ To close alert - run **POST** against */api/alerts/<alert_uuid>/close/*. No data is required. Only users with staff privileges can close alerts. """ if not request.user.is_staff: raise PermissionDenied() alert = self.get_object() alert.close() return response.Response(stat... |
def acknowledge(self, request, *args, **kwargs): """ To acknowledge alert - run **POST** against */api/alerts/<alert_uuid>/acknowledge/*. No payload is required. All users that can see alerts can also acknowledge it. If alert is already acknowledged endpoint will return error with code 409(conflict). """ alert = self.g... |
def stats(self, request, *args, **kwargs): """ To get count of alerts per severities - run **GET** request against */api/alerts/stats/*. This endpoint supports all filters that are available for alerts list (*/api/alerts/*). Response example: .. code-block:: javascript { "debug": 2, "error": 1, "info": 1, "warning": 1 ... |
need to return severity names in lower case. alerts_severities_count = { severity_names[asc['severity']].lower(): asc['count'] for asc in alerts_severities_count} for severity_name in severity_names.values(): if severity_name.lower() not in alerts_severities_count: alerts_severities_count[severity_name.lower()] = 0 ret... |
def create(self, request, *args, **kwargs): """ To create new web hook issue **POST** against */api/hooks-web/* as an authenticated user. You should specify list of event_types or event_groups. Example of a request: .. code-block:: http POST /api/hooks-web/ HTTP/1.1 Content-Type: application/json Accept: application/js... |
URL with the following data: .. code-block:: javascript { "timestamp": "2015-07-14T12:12:56.000000", "message": "Customer ABC LLC has been updated.", "type": "customer_update_succeeded", "context": { "user_native_name": "Walter Lebrowski", "customer_contact_details": "", "user_username": "Walter", "user_uuid": "1c3323f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.