code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class FuzzyList(factory.fuzzy.BaseFuzzyAttribute): <NEW_LINE> <INDENT> def __init__(self, fuzzy_attribute, max_len, min_len=1, **kwargs): <NEW_LINE> <INDENT> self.fuzzy_attribute = fuzzy_attribute <NEW_LINE> self.min_len = min_len <NEW_LINE> self.max_len = max_len <NEW_LINE> super(FuzzyList, self).__init__(**kwargs) <N...
FuzzyList provides a list of values generated using another fuzzy attribute
62598f8fdc8b845886d531d6
class ContributorStats(GitHubCore): <NEW_LINE> <INDENT> def _update_attributes(self, stats_object): <NEW_LINE> <INDENT> self.author = self._class_attribute( stats_object, 'author', users.ShortUser, self ) <NEW_LINE> self.total = self._get_attribute(stats_object, 'total') <NEW_LINE> self.weeks = self._get_attribute(stat...
This object provides easy access to information returned by the statistics section of the API. See http://developer.github.com/v3/repos/statistics/ for specifics.
62598f8f7b25080760ed70c8
class OrderEncInteger(IntegerWithPenalty): <NEW_LINE> <INDENT> def __init__(self, label, value_range, strength): <NEW_LINE> <INDENT> lower, upper = value_range <NEW_LINE> assert upper > lower, "upper value should be larger than lower value" <NEW_LINE> assert isinstance(lower, int) <NEW_LINE> assert isinstance(upper, in...
Order encoded integer. This encoding is useful when you want to know whether the integer is more than k or not. The value that takes :math:`[0, n]` is represented by :math:`\sum_{i=1}^{n}x_{i}`. Also we have the penalty function :math:`strength \times \left(\sum_{i=1}^{n-1} \left(x_{i+1}-x_{i}x_{i+1}\right)\right)` ...
62598f8f99cbb53fe6830aef
class Registro1620(Registro): <NEW_LINE> <INDENT> campos = [ CampoFixo(1, 'REG', '1620'), Campo(2, 'PER_APU_CRED', obrigatorio=True), Campo(3, 'ORIG_CRED', obrigatorio=True), Campo(4, 'COD_CRED', obrigatorio=True), CampoNumerico(5, 'VL_CRED', obrigatorio=True), ]
Demonstração do Crédito a Descontar da Contribuição Extemporânea – COFINS
62598f8f45492302aabfc0f0
class BaseLogsTestCase(tempest.test.BaseTestCase): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def setup_credentials(cls): <NEW_LINE> <INDENT> super(BaseLogsTestCase, cls).setup_credentials() <NEW_LINE> cls.admin_os = clients.Manager(cred_provider.get_configured_credentials('identity_admin')) <NEW_LINE> cls.os = client...
Base test case class for all Monitoring API tests.
62598f8ffbf16365ca793ccb
class Selector(Simulable, metaclass=ABCMeta): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def _get_non_administered( item_indices: List[int], administered_item_indices: List[int] ) -> list: <NEW_LINE> <INDENT> return [x for x in item_indice...
Base class representing a CAT item selector.
62598f8f2ae34c7f260aad02
class Builder: <NEW_LINE> <INDENT> clients = { 'bitbucket': { '1': BitbucketServerRequestSender, '2': BitbucketRequestSender }, 'gitlab': { '3': GitLabV3RequestSender, '4': GitLabRequestSender }, 'github': { '4': GithubRequestSender } } <NEW_LINE> @try_except_decor <NEW_LINE> def __init__(self, **request_dict): <NEW_LI...
This is a class builder that returns instance of provider depending on its git_client
62598f8fb7558d5895463247
class Packet(object): <NEW_LINE> <INDENT> json = _json <NEW_LINE> def __init__(self, packet_type=NOOP, data=None, binary=None, encoded_packet=None): <NEW_LINE> <INDENT> self.packet_type = packet_type <NEW_LINE> self.data = data <NEW_LINE> if binary is not None: <NEW_LINE> <INDENT> self.binary = binary <NEW_LINE> <DEDEN...
Engine.IO packet.
62598f8fbe383301e025341c
class ManageUserView(generics.RetrieveUpdateAPIView): <NEW_LINE> <INDENT> serializer_class = UserSerializer <NEW_LINE> authentication_classes = (authentication.TokenAuthentication,) <NEW_LINE> permissions_classes = (permissions.IsAuthenticated,) <NEW_LINE> def get_object(self): <NEW_LINE> <INDENT> return self.request.u...
Manage the authenticated user
62598f8fd486a94d0ba2bbec
class NetApp7modeISCSIDriver(driver.BaseVD, driver.ManageableVD, driver.ExtendVD, driver.TransferVD, driver.SnapshotVD): <NEW_LINE> <INDENT> DRIVER_NAME = 'NetApp_iSCSI_7mode_direct' <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(NetApp7modeISCSIDriver, self).__init__(*args, **kwargs) <NEW_LI...
NetApp 7-mode iSCSI volume driver.
62598f8f097d151d1a2c0c45
@work_object_class('file') <NEW_LINE> class BackupObjectFile(BackupObject): <NEW_LINE> <INDENT> def __init__(self, object_section): <NEW_LINE> <INDENT> super(BackupObjectFile, self).__init__(object_section) <NEW_LINE> self.src_file_path = object_section.src_file_path <NEW_LINE> self.target_file_name = object_section.ge...
File backup object.
62598f8f596a897236127896
class Meta(MultilingualModel.Meta, ActiveItemInShopBase.Meta, ProductBase.Meta, CategorizedItemBase.Meta, OrderedItemBase.Meta): <NEW_LINE> <INDENT> pass
Should'nt this stuff happen automatically? ;)
62598f8f91af0d3eaad39a1d
class ScanStoreSQL(object): <NEW_LINE> <INDENT> def __init__(self, scanname, scanid=1, datadir=None): <NEW_LINE> <INDENT> self.scanname = scanname <NEW_LINE> self.scanid = scanname <NEW_LINE> if datadir is None: <NEW_LINE> <INDENT> datadir = os.getcwd() <NEW_LINE> <DEDENT> self.datadir = datadir <NEW_LINE> _filename = ...
Generic SQLite parameter scan store.
62598f8f090684286d5934e4
class ProductCleanupTask(Task): <NEW_LINE> <INDENT> def run(self, asin): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> product = Product.objects.get(asin=asin) <NEW_LINE> <DEDENT> except Product.DoesNotExist: <NEW_LINE> <INDENT> logger.error('Product with ASIN %d does not exist, skipping ProductCleanupTask', asin) <NEW_...
Task for removing a product if it has no subscribers.
62598f8f0c0af96317c55f9e
class IPasswordHashToken(IAuthenticationToken): <NEW_LINE> <INDENT> pass
A hashed password
62598f8f8e71fb1e983bb6ce
class AbodeSwitch(AbodeDevice, SwitchEntity): <NEW_LINE> <INDENT> _device: AbodeSW <NEW_LINE> def turn_on(self, **kwargs: Any) -> None: <NEW_LINE> <INDENT> self._device.switch_on() <NEW_LINE> <DEDENT> def turn_off(self, **kwargs: Any) -> None: <NEW_LINE> <INDENT> self._device.switch_off() <NEW_LINE> <DEDENT> @property ...
Representation of an Abode switch.
62598f8f26068e7796d4c57b
class Relu(tile.Operation): <NEW_LINE> <INDENT> def __init__(self, x): <NEW_LINE> <INDENT> super(Relu, self).__init__('function (X) -> (Y) { Y = relu(X); }', [('X', x)], [('Y', x.shape)])
A Rectified Linear Unit.
62598f8feab8aa0e5d30b999
class RegExAbsSyn: <NEW_LINE> <INDENT> pass
Base class that all abstract syntax nodes inherit from. There are four node classes: - BaseAbsyn - StarAbsyn - DisjunctAbsyn - ConcatAbsyn
62598f8f0a50d4780f704fee
class FibonacciNumber: <NEW_LINE> <INDENT> def __init__(self,db_path="fibonaccis.txt"): <NEW_LINE> <INDENT> self.__db_path = db_path <NEW_LINE> if os.path.isfile(self.__db_path): <NEW_LINE> <INDENT> self.__read_db() <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.__fibonacci = [0, 1] <NEW_LINE> <DEDENT> self.__initi...
Has single method generate(nth) that returns nth fibonacci num
62598f8fa17c0f6771d5be55
class UserDetailsForm(forms.ModelForm): <NEW_LINE> <INDENT> error_messages = { 'duplicate_email': _("A user with that email address already exists. " "Please try again."), 'duplicate_username': _("A user with that username already exists. " "Please try again."), } <NEW_LINE> email = forms.EmailField(label=_("Email addr...
A form that allows a user to edit their details.
62598f8f85dfad0860cbf87f
class Menu(Widget, BaseList): <NEW_LINE> <INDENT> CHILD_ATTRIBUTE = "data"
Class to represent the top menu widget of a subreddit. Menus can generally be found as the first item in a subreddit's top bar. .. code-block:: python topbar = reddit.subreddit("redditdev").widgets.topbar if len(topbar) > 0: probably_menu = topbar[0] assert isinstance(probably_menu, praw.mode...
62598f8f287bf620b62717d6
class MechanismDriver(object): <NEW_LINE> <INDENT> __metaclass__ = ABCMeta <NEW_LINE> @abstractmethod <NEW_LINE> def initialize(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def create_network_precommit(self, context): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def create_network_postcommit(self, context): <NEW...
Define stable abstract interface for ML2 mechanism drivers. A mechanism driver is called on the creation, update, and deletion of networks and ports. For every event, there are two methods that get called - one within the database transaction (method suffix of _precommit), one right afterwards (method suffix of _postc...
62598f8f38b623060ffa8ca3
class JSONField(JSONFieldBase, models.TextField): <NEW_LINE> <INDENT> pass
JSONField is a generic textfield that serializes/unserializes JSON objects
62598f8fbaa26c4b54d4eed2
class BasicConv2d(nn.Module): <NEW_LINE> <INDENT> def __init__(self, in_planes, out_planes, kernel_size, stride, padding=0): <NEW_LINE> <INDENT> super(BasicConv2d, self).__init__() <NEW_LINE> self.conv = nn.Conv2d(in_planes, out_planes, kernel_size=kernel_size, stride=stride, padding=padding, bias=False) <NEW_LINE> sel...
Define the basic conv-bn-relu block
62598f8f76d4e153a661c835
class StewardsConfiguration(Configuration): <NEW_LINE> <INDENT> def __init__(self, masterFile, tmpFile, stewards): <NEW_LINE> <INDENT> super().__init__(masterFile, tmpFile) <NEW_LINE> self.stewards = stewards <NEW_LINE> <DEDENT> def getStewards(self): <NEW_LINE> <INDENT> return self.stewards <NEW_LINE> <DEDENT> def cre...
Encapsulates the configuration information related to stewards.
62598f8f29b78933be269eea
class AbstractGateActivation(Activation): <NEW_LINE> <INDENT> def calculate_next(self): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> @Activation.status.transition(source=STATUS.DONE, conditions=[all_leading_canceled]) <NEW_LINE> def activate_next(self): <NEW_LINE> <INDENT> raise NotImplementedError...
Base class for flow gates activation. .. graphviz:: digraph status { UNRIPE; NEW -> CANCELED [label="cancel"]; DONE -> NEW [label="undo"]; ERROR -> NEW [label="undo"]; NEW -> DONE [label="perform"]; NEW -> ERROR [label="perform"]; ERROR -> DONE [label="retry"]; ...
62598f8f0383005118f6d316
class MagickLiter(LightHardware): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(MagickLiter, self).__init__() <NEW_LINE> self._seq = 0 <NEW_LINE> self.size = 18 <NEW_LINE> self.name = 'outp-' <NEW_LINE> <DEDENT> def updateValues(self, values): <NEW_LINE> <INDENT> self._seq = self._seq + 1 <NEW_LINE>...
Write to an image file rather than the real hardware. Used for documentation
62598f8f8c0ade5d55dc349a
@dataclass <NEW_LINE> class SortBy: <NEW_LINE> <INDENT> sort_properties: List[SortProperty] <NEW_LINE> @classmethod <NEW_LINE> def from_string(cls, value: str): <NEW_LINE> <INDENT> props = [] <NEW_LINE> for field in value.split(","): <NEW_LINE> <INDENT> if "[" in field: <NEW_LINE> <INDENT> raise InvalidParameterValue( ...
The sortBy clause.
62598f8fd7e4931a7ef3bcbc
class ModuleMed(Module): <NEW_LINE> <INDENT> pass
Ship's module from medium slot. Required arguments: type_id -- type ID of item which should serve as base for this item. Optional arguments: state -- initial state this module takes, default is offline charge -- charge object to load into module, default is None Cooperative methods: __init__
62598f8ff7d966606f747bfd
class NetworkInterface(Resource): <NEW_LINE> <INDENT> _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}...
A network interface in a resource group. Variables are only populated by the server, and will be ignored when sending a request. :param id: Resource Identifier. :type id: str :ivar name: Resource name. :vartype name: str :ivar type: Resource type. :vartype type: str :param location: Resource location. :type location:...
62598f8f99cbb53fe6830af1
@csrf_exempt <NEW_LINE> class BookingViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = Booking.objects.all().order_by('-date_time') <NEW_LINE> serializer_class = BookingListSerializer
API endpoint that allows users to be viewed or edited.
62598f8f4e696a045264dc15
class ThreadsafeWrapper(object): <NEW_LINE> <INDENT> def __init__(self, obj, recursive=False, reentrant=True): <NEW_LINE> <INDENT> self.__TSOwrapped_object__ = obj <NEW_LINE> if reentrant: <NEW_LINE> <INDENT> self.__TSOwrap_lock__ = Mutex(QtCore.QMutex.Recursive) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.__TSO...
Wrapper that makes access to any object thread-safe (within reasonable limits). Mostly tested for wrapping lists, dicts, etc. NOTE: Do not instantiate directly; use threadsafe(obj) instead. - all method calls and attribute/item accesses are protected by mutex - optionally, attribute/item accesses may return prote...
62598f8ffbf16365ca793ccd
class AI(Component): <NEW_LINE> <INDENT> def __init__(self, entity: ecs.Entity): <NEW_LINE> <INDENT> self.entity = entity <NEW_LINE> self.priority = 0 <NEW_LINE> <DEDENT> def act(self, _: Act): <NEW_LINE> <INDENT> e = self.entity <NEW_LINE> logger.debug("%s is thinking." % e) <NEW_LINE> world = e.world <NEW_LINE> e_pos...
Component for AI controlled entities.
62598f8f2ae34c7f260aad04
class TestLengthConversion(TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.client = Client() <NEW_LINE> self.url = reverse('length:convert') <NEW_LINE> <DEDENT> def test_view_exists_at_desired_url(self): <NEW_LINE> <INDENT> response = self.client.get('/length/convert/') <NEW_LINE> self.assertEq...
This class contains tests that convert measurements from one unit of measurement to another
62598f8fb57a9660fecd169c
class Lcms(AutotoolsPackage): <NEW_LINE> <INDENT> homepage = "http://www.littlecms.com" <NEW_LINE> url = "http://downloads.sourceforge.net/project/lcms/lcms/2.9/lcms2-2.9.tar.gz" <NEW_LINE> version('2.9', '8de1b7724f578d2995c8fdfa35c3ad0e') <NEW_LINE> version('2.8', '87a5913f1a52464190bb655ad230539c') <NEW_LINE> v...
Little cms is a color management library. Implements fast transforms between ICC profiles. It is focused on speed, and is portable across several platforms (MIT license).
62598f8fe76e3b2f99fd8651
class STORE_SUBSCR(StackInstruction): <NEW_LINE> <INDENT> def run(self, value_stack, block_stack, globals_dict, locals_dict, closure_cells): <NEW_LINE> <INDENT> z = value_stack.pop() <NEW_LINE> y = value_stack.pop() <NEW_LINE> x = value_stack.pop() <NEW_LINE> y[x] = z <NEW_LINE> value_stack.push(z)
Implements TOS1[TOS] = TOS2.
62598f8fb5575c28eb712ada
class ImportCurrentOrderLineState(ImportMysqlToHiveTableTask): <NEW_LINE> <INDENT> @property <NEW_LINE> def table_name(self): <NEW_LINE> <INDENT> return 'order_line' <NEW_LINE> <DEDENT> @property <NEW_LINE> def columns(self): <NEW_LINE> <INDENT> return [ ('id', 'INT'), ('partner_name', 'STRING'), ('partner_sku', 'STRIN...
Ecommerce: Current: Imports current order line items from an ecommerce table to a destination directory and a HIVE metastore.
62598f8f3cc13d1c6d465387
class ContactPoint(object): <NEW_LINE> <INDENT> point_a: Vec2d <NEW_LINE> point_b: Vec2d <NEW_LINE> distance: float <NEW_LINE> __slots__ = ("point_a", "point_b", "distance") <NEW_LINE> def __init__( self, point_a: Vec2d, point_b: Vec2d, distance: float, ) -> None: <NEW_LINE> <INDENT> assert len(point_a) == 2 <NEW_LINE>...
Contains information about a contact point. point_a and point_b are the contact position on the surface of each shape. distance is the penetration distance of the two shapes. Overlapping means it will be negative. This value is calculated as dot(point2 - point1), normal) and is ignored when you set the Arbiter.contac...
62598f8f07d97122c42168c9
class Betacristobalite(mb.Compound): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(Betacristobalite, self).__init__() <NEW_LINE> mb.load( "beta-cristobalite-expanded.mol2", compound=self, relative_to_module=self.__module__, ) <NEW_LINE> self.periodicity = (True, True, False) <NEW_LINE> self.box = mb...
The beta-cristobalite form of SiO2. Area per port specifies the density of attachment sites in nm^2. The crystal is expanded to yield an area per port of 0.25 nm^2, the typical density of alkane monolayers on SiO2 although these are actually grown on amorphous SiO2 in experiment. See http://www.wikiwand.com/en/Silico...
62598f8f07f4c71912baf065
class Migration(migrations.Migration): <NEW_LINE> <INDENT> dependencies = [ ('catmaid', '0011_fix_transaction_label_typo'), ('performancetests', '0002_use_django_1_9_jsonfield') ] <NEW_LINE> operations = [ migrations.RunSQL(forward, migrations.RunSQL.noop) ]
Make sure the performancetest testview table uses a JSONB type in its history table. There is no need to alter the live table or a Django model, because this happend already in another migration.
62598f8f23849d37ff850cdf
class cachedproperty(object): <NEW_LINE> <INDENT> def __init__(self, fget=None, require_lock=True): <NEW_LINE> <INDENT> if require_lock: <NEW_LINE> <INDENT> self._lock = threading.RLock() <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self._lock = None <NEW_LINE> <DEDENT> if inspect.isfunction(fget): <NEW_LINE> <INDENT>...
A *thread-safe* descriptor property that is only evaluated once. This caching descriptor can be placed on instance methods to translate those methods into properties that will be cached in the instance (avoiding repeated attribute checking logic to do the equivalent). NOTE(harlowja): by default the property that will...
62598f8f0a50d4780f704fef
class ElasticAgent(abc.ABC): <NEW_LINE> <INDENT> @abc.abstractmethod <NEW_LINE> def run(self, role: str = DEFAULT_ROLE) -> RunResult: <NEW_LINE> <INDENT> raise NotImplementedError() <NEW_LINE> <DEDENT> @abc.abstractmethod <NEW_LINE> def get_worker_group(self, role: str = DEFAULT_ROLE) -> WorkerGroup: <NEW_LINE> <INDENT...
Agent process responsible for managing one or more worker processes. The worker processes are assumed to be regular distributed PyTorch scripts. When the worker process is created by the agent, the agent provides the necessary information for the worker processes to properly initialize a torch process group. The exact...
62598f8f76e4537e8c3ef1cd
class Trackable (Destiny): <NEW_LINE> <INDENT> def __init__ (self, *a, **kw): <NEW_LINE> <INDENT> super (Trackable, self).__init__ (*a, **kw) <NEW_LINE> self._sources = [] <NEW_LINE> <DEDENT> def __del__ (self): <NEW_LINE> <INDENT> self.disconnect_sources () <NEW_LINE> <DEDENT> def __getstate__ (self): <NEW_LINE> <INDE...
This is a Destiny that keeps track of all the sources that are connected to it, so you can disconnect from all of them from the destiny once you do not know about the source endpoints anymore, easing the avoidance of leaking connections. This class disconnects on the destructor also, so it can come very handy also when...
62598f8f3539df3088ecbedb
class Popen(subprocess.Popen): <NEW_LINE> <INDENT> def __init__(self, args, stdin=None, stdout=None, stderr=None, **kwds): <NEW_LINE> <INDENT> assert not kwds.get('universal_newlines') <NEW_LINE> assert kwds.get('bufsize', 0) == 0 <NEW_LINE> stdin_rfd = stdout_wfd = stderr_wfd = None <NEW_LINE> stdin_wh = stdout_rh = s...
Replacement for subprocess.Popen using overlapped pipe handles. The stdin, stdout, stderr are None or instances of PipeHandle.
62598f8f60cbc95b06363f62
class GrantType(Enum): <NEW_LINE> <INDENT> authorizationCode = 'authorization_code' <NEW_LINE> authorizationPin = 'authorization_pin' <NEW_LINE> clientCredentials = 'client_credentials' <NEW_LINE> refreshToken = 'refresh_token'
Enum for Authentication grant type. Possible values: - authorizationCode - authorizationPin - clientCredentials - refreshToken
62598f8f287bf620b62717d8
class BasicRatingSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Rating <NEW_LINE> fields = ('id', 'rating', 'rater', 'article')
Write Ratings serializer class
62598f8fbaa26c4b54d4eed4
class RunCommandDocumentBase(Model): <NEW_LINE> <INDENT> _validation = { 'schema': {'required': True}, 'id': {'required': True}, 'os_type': {'required': True}, 'label': {'required': True}, 'description': {'required': True}, } <NEW_LINE> _attribute_map = { 'schema': {'key': '$schema', 'type': 'str'}, 'id': {'key': 'id',...
Describes the properties of a Run Command metadata. :param schema: The VM run command schema. :type schema: str :param id: The VM run command id. :type id: str :param os_type: The Operating System type. Possible values include: 'Windows', 'Linux' :type os_type: str or ~azure.mgmt.compute.v2017_12_01.models.Operating...
62598f8f15baa72349461b9a
class TestRulesIfExist(BaseRuleTestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(TestRulesIfExist, self).setUp() <NEW_LINE> self.collection.register(IfExist()) <NEW_LINE> <DEDENT> def test_file_positive(self): <NEW_LINE> <INDENT> self.helper_file_positive() <NEW_LINE> <DEDENT> def test_file_nega...
Test Rules If conditions exist
62598f8f8e71fb1e983bb6d1
class LidarMeasurement(SensorData): <NEW_LINE> <INDENT> def __init__(self, frame_number, horizontal_angle, channels, point_count_by_channel, point_cloud): <NEW_LINE> <INDENT> super(LidarMeasurement, self).__init__(frame_number=frame_number) <NEW_LINE> assert numpy.sum(point_count_by_channel) == len(point_cloud.array) <...
Data generated by a Lidar.
62598f8fcad5886f8bdc4e9b
class SocialNetwork(Base): <NEW_LINE> <INDENT> __tablename__ = 'social_network' <NEW_LINE> id = sa.Column(sa.types.Integer, primary_key=True) <NEW_LINE> name = sa.Column(sa.types.Text, unique=True, nullable=False) <NEW_LINE> url = sa.Column(sa.types.Text, nullable=False) <NEW_LINE> logo = sa.Column(sa.types.Text, nulla...
Stores the social networks that people might be members of
62598f8ffbf16365ca793ccf
class RLogicalOrTypeMatcher(RAbstractTypeMatcher): <NEW_LINE> <INDENT> def __init__(self, left, right): <NEW_LINE> <INDENT> RArgs.check_is_instance(left, RAbstractTypeMatcher, "left") <NEW_LINE> RArgs.check_is_instance(right, RAbstractTypeMatcher, "right") <NEW_LINE> matcher_list = [] <NEW_LINE> if isinstance(left, RLo...
Combines two or more type matchers to create a unified logical OR type matcher This class is fully tested.
62598f8f45492302aabfc0f4
class NUBulkStatistics(NURESTObject): <NEW_LINE> <INDENT> __rest_name__ = "bulkstatistics" <NEW_LINE> __resource_name__ = "bulkstatistics" <NEW_LINE> def __init__(self, **kwargs): <NEW_LINE> <INDENT> super(NUBulkStatistics, self).__init__() <NEW_LINE> self._data = None <NEW_LINE> self._version = None <NEW_LINE> self._e...
Represents a BulkStatistics in the VSD Notes: Retrieves the statistics for a particular Entity and its immediate child entity.
62598f8fb7558d589546324b
class MolecularDistortion(object): <NEW_LINE> <INDENT> @classmethod <NEW_LINE> def read_from_file(cls, filename): <NEW_LINE> <INDENT> with open(filename) as f: <NEW_LINE> <INDENT> lines = list(line for line in f if line[0] != '#') <NEW_LINE> <DEDENT> r = [] <NEW_LINE> t = [] <NEW_LINE> for line in lines[:3]: <NEW_LINE>...
A geometeric manipulation (rotation + translation) of a part of molecule The data structure also comes with a straight forward human readable file format, which makes it easy to save the distortions for later reference.
62598f8fd53ae8145f9180a9
class ChromeosLoginCachedCredentialsAddUser(pyauto.PyUITest): <NEW_LINE> <INDENT> assert os.geteuid() == 0, 'Need to run this test as root' <NEW_LINE> def ShouldAutoLogin(self): <NEW_LINE> <INDENT> return False <NEW_LINE> <DEDENT> def setUp(self): <NEW_LINE> <INDENT> cros_ui.stop(allow_fail=True) <NEW_LINE> cryptohome....
TestCase for failing to add a user with invalid proxy settings.
62598f8fbe383301e0253420
class ModuleCase(TestCase, SaltClientTestCaseMixIn): <NEW_LINE> <INDENT> def minion_run(self, _function, *args, **kw): <NEW_LINE> <INDENT> return self.run_function(_function, args, **kw) <NEW_LINE> <DEDENT> def run_function(self, function, arg=(), minion_tgt='minion', timeout=25, **kwargs): <NEW_LINE> <INDENT> know_to_...
Execute a module function
62598f8f82261d6c5272fce5
class MAC_SSL: <NEW_LINE> <INDENT> def __init__(self, key, msg = None, digestmod = None): <NEW_LINE> <INDENT> if digestmod is None: <NEW_LINE> <INDENT> import md5 <NEW_LINE> digestmod = md5 <NEW_LINE> <DEDENT> if key == None: <NEW_LINE> <INDENT> return <NEW_LINE> <DEDENT> self.digestmod = digestmod <NEW_LINE> self.oute...
MAC_SSL class. This supports the API for Cryptographic Hash Functions (PEP 247).
62598f90d6c5a102081e1d60
class CaptureGroup(): <NEW_LINE> <INDENT> def __init__(self, group: str, *, location: List[int] = None) -> None: <NEW_LINE> <INDENT> self.group = group <NEW_LINE> self.location = location <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def from_dict(cls, _dict: Dict) -> 'CaptureGroup': <NEW_LINE> <INDENT> args = {} <NEW_LI...
CaptureGroup. :attr str group: A recognized capture group for the entity. :attr List[int] location: (optional) Zero-based character offsets that indicate where the entity value begins and ends in the input text.
62598f90f7d966606f747c00
class FileMode(IntEnum): <NEW_LINE> <INDENT> CLOSED = 0 <NEW_LINE> READ_ONLY = 1 <NEW_LINE> WRITE_ONLY = 2
file mode
62598f90925a0f43d25e7c58
class build_ext(_build_ext): <NEW_LINE> <INDENT> def get_export_symbols(self, ext): <NEW_LINE> <INDENT> def_file = GLPK_SRC_DIR / '../w64/glpk_4_65.def' <NEW_LINE> return scrape_makefile_list(def_file, 'EXPORTS\n', ';; end of file ;;')
Override get_export_symbols to provide them for Windows DLL.
62598f90090684286d5934e6
class DictSinkConfiguration(DebugModelConfiguration): <NEW_LINE> <INDENT> __slots__ = () <NEW_LINE> name = 'dict' <NEW_LINE> version = 1 <NEW_LINE> schema = {}
Configuration class for the dict sink.
62598f90b57a9660fecd169f
class IS_MST(object): <NEW_LINE> <INDENT> pack_s = struct.Struct('4B63sx') <NEW_LINE> def __init__(self, ReqI=0, Msg=''): <NEW_LINE> <INDENT> self.Size = 68 <NEW_LINE> self.Type = ISP_MST <NEW_LINE> self.ReqI = ReqI <NEW_LINE> self.Zero = 0 <NEW_LINE> self.Msg = Msg <NEW_LINE> <DEDENT> def pack(self): <NEW_LINE> <INDEN...
MSg Type - send to LFS to type message or command
62598f9076d4e153a661c839
class ExportMaterial(ExporterArchive): <NEW_LINE> <INDENT> def export(self): <NEW_LINE> <INDENT> print("Exporting materials...")
Represents shaders on materials related to material data-blocks
62598f908da39b475be02dff
class V1ServiceStatus(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swagger_types = { 'load_balancer': 'V1LoadBalancerStatus' } <NEW_LINE> self.attribute_map = { 'load_balancer': 'loadBalancer' } <NEW_LINE> self._load_balancer = None <NEW_LINE> <DEDENT> @property <NEW_LINE> def load_balancer...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f9071ff763f4b5e7393
class PrimaryMetadata(RecordWrapper): <NEW_LINE> <INDENT> TAG = 'Primary' <NEW_LINE> NS = 'pbmeta' <NEW_LINE> automationName = subaccs('AutomationName') <NEW_LINE> configFileName = subaccs('ConfigFileName') <NEW_LINE> sequencingCondition = subaccs('SequencingCondition') <NEW_LINE> outputOptions = accs('OutputOptions', ...
Doctest: >>> import os, tempfile >>> from pbcore.io import SubreadSet >>> import pbcore.data.datasets as data >>> ds1 = SubreadSet(data.getXml(5), skipMissing=True) >>> ds1.metadata.collections[0].primary.outputOptions.resultsFolder 'Analysis_Results' >>> ds1.metadata.collections[0].primary....
62598f906e29344779b00276
class BadExpirationDate(HeaderError): <NEW_LINE> <INDENT> description = 'The `apns-expiration` header is bad.'
Raised if the provided message expiration date is invalid.
62598f908e71fb1e983bb6d2
class ContextBaseSerializer(serializers.HyperlinkedModelSerializer): <NEW_LINE> <INDENT> data = serializers.WritableField() <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = models.Context <NEW_LINE> fields = ['id', 'url', 'entity', 'population', 'population_male', 'population_female', 'ground_surface', 'students', 's...
Base Context serializer, exposing our defaults for contexts.
62598f906aa9bd52df0d4aed
class BuyOrder(Order): <NEW_LINE> <INDENT> pass
The buy order
62598f900383005118f6d31a
class InfrastructureException(Exception): <NEW_LINE> <INDENT> pass
Custom exception to be raised to indicate a infrastructure function has failed its checks. You should be explicit in such checks.
62598f908c0ade5d55dc349c
class HuttonToolbar(tk.Frame): <NEW_LINE> <INDENT> def __init__(self, parent): <NEW_LINE> <INDENT> tk.Frame.__init__(self, parent) <NEW_LINE> BUTTONS = [ (HOT_IMAGE, lambda: open_trucker_browser(HOT_URL)), (INF_IMAGE, lambda: open_trucker_browser(INF_URL)), (STATS_IMAGE, lambda: open_trucker_browser(STATS_URL)), (RADIO...
The main toolbar. Not a plugin because it doesn't have preferences or watch the pilot.
62598f9010dbd63aa1c707dc
class Doc(object): <NEW_LINE> <INDENT> def __init__(self, filename): <NEW_LINE> <INDENT> self.filename = filename <NEW_LINE> <DEDENT> def save(self): <NEW_LINE> <INDENT> print('Saved!')
I am the model in MVC
62598f90507cdc57c63a49b2
class UserACL(BaseACL): <NEW_LINE> <INDENT> __context_class__ = User <NEW_LINE> def __init__(self, request): <NEW_LINE> <INDENT> super(UserACL, self).__init__(request) <NEW_LINE> self.acl = (Allow, Everyone, 'create') <NEW_LINE> <DEDENT> def context_acl(self, context): <NEW_LINE> <INDENT> return [ (Allow, str(context.i...
User level ACL mixin. Mix it with your ACL class that sets ``self.user`` to a currently authenticated user. Grants access: * collection 'create' to everyone. * item 'update', 'delete' to owner. * item 'index', 'show' to everyone.
62598f90a8ecb03325870e25
class ProductBugSharingPolicyTestCase(BaseSharingPolicyTests, TestCaseWithFactory): <NEW_LINE> <INDENT> layer = DatabaseFunctionalLayer <NEW_LINE> enum = BugSharingPolicy <NEW_LINE> public_policy = BugSharingPolicy.PUBLIC <NEW_LINE> commercial_policies = ( BugSharingPolicy.PUBLIC_OR_PROPRIETARY, BugSharingPolicy.PROPRI...
Test Product.bug_sharing_policy.
62598f90a17c0f6771d5be5a
class ServiceRegistryResourceRequests(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'cpu': {'readonly': True}, 'memory': {'readonly': True}, 'instance_count': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'cpu': {'key': 'cpu', 'type': 'str'}, 'memory': {'key': 'memory', 'type': 'str'}, 'instanc...
Resource request payload of Service Registry. Variables are only populated by the server, and will be ignored when sending a request. :ivar cpu: Cpu allocated to each Service Registry instance. :vartype cpu: str :ivar memory: Memory allocated to each Service Registry instance. :vartype memory: str :ivar instance_coun...
62598f90d486a94d0ba2bbf2
class _NamedImageTransformer(Transformer, HasInputCol, HasOutputCol): <NEW_LINE> <INDENT> modelName = Param(Params._dummy(), "modelName", "A deep learning model name", typeConverter=SparkDLTypeConverters.supportedNameConverter(SUPPORTED_MODELS)) <NEW_LINE> featurize = Param(Params._dummy(), "featurize", "If true, outpu...
For internal use only. NamedImagePredictor and NamedImageFeaturizer are the recommended classes to use. Applies the model specified by its popular name to the image column in DataFrame. There are two output modes: predictions or the featurization from the model. In either case the output is a MLlib Vector.
62598f90596a89723612789c
class AbstractPushBotOutputDevice(Enum): <NEW_LINE> <INDENT> def __new__( cls, value, protocol_property, min_value, max_value, time_between_send, send_type=SendType.SEND_TYPE_INT): <NEW_LINE> <INDENT> obj = object.__new__(cls) <NEW_LINE> obj._value_ = value <NEW_LINE> obj._protocol_property = protocol_property <NEW_LIN...
Superclass of all output device descriptors
62598f903c8af77a43b67d49
class SBBlock(HybridBlock): <NEW_LINE> <INDENT> def __init__(self, in_channels, out_channels, kernel_size, scale_factor, size, bn_epsilon, **kwargs): <NEW_LINE> <INDENT> super(SBBlock, self).__init__(**kwargs) <NEW_LINE> self.use_scale = (scale_factor > 1) <NEW_LINE> with self.name_scope(): <NEW_LINE> <INDENT> if self....
SB-block. Parameters: ---------- in_channels : int Number of input channels. out_channels : int Number of output channels. kernel_size : int Convolution window size for a factorized depthwise separable convolution block. scale_factor : int Scale factor. size : tuple of 2 int Spatial size of the out...
62598f900c0af96317c55fa4
class TestConstants(unittest.TestCase): <NEW_LINE> <INDENT> def test_APP_NAME(self): <NEW_LINE> <INDENT> self.assertEqual(APP_NAME, 'sentence_mangler') <NEW_LINE> <DEDENT> def test_DATA_PATH(self): <NEW_LINE> <INDENT> sentences_root = os.path.dirname(__file__).replace('tests', 'sentences') <NEW_LINE> self.assertEqual(D...
APP_NAME = 'sentence_mangler' DATA_PATH = os.path.join(os.path.dirname(__file__), 'data') DEFAULT_CONFIG = os.path.join(DATA_PATH, 'default.cfg') COUNTABLE_NOUNS_CSV = 'nouns.csv' UNCOUNTABLE_NOUNS_CSV = 'uncountable.csv' VERBS_CSV = 'verbs.csv'
62598f9024f1403a926856c0
class DuplicateColumnFound(SchemaError): <NEW_LINE> <INDENT> DEFAULT_MESSAGE = u'{column} of {schema} is already defined and cannot be duplicated'
Raised when there is a duplicate column found within a single hierarchy of a Model. :usage raise orb.errors.DuplicateColumnFound('User', 'username')
62598f90bde94217f3707478
class AllGroupsRhoParameter(RhoParameter): <NEW_LINE> <INDENT> def get_group_associations(self, market: 'Market') -> Array: <NEW_LINE> <INDENT> return np.ones((market.groups.group_count, 1), options.dtype)
Information about a rho parameter for all groups.
62598f908da39b475be02e01
class AppleTVPowerManager: <NEW_LINE> <INDENT> def __init__(self, hass, atv, is_off): <NEW_LINE> <INDENT> self.hass = hass <NEW_LINE> self.atv = atv <NEW_LINE> self.listeners = [] <NEW_LINE> self._is_on = not is_off <NEW_LINE> <DEDENT> def init(self): <NEW_LINE> <INDENT> if self._is_on: <NEW_LINE> <INDENT> self.atv.pus...
Manager for global power management of an Apple TV. An instance is used per device to share the same power state between several platforms.
62598f90a4f1c619b294e20c
class MLNaiveBayesClassifier(APrioriClassifier): <NEW_LINE> <INDENT> def __init__(self, df): <NEW_LINE> <INDENT> self.keys={str(key):None for key in df.keys()} <NEW_LINE> self.P2DL_dic = {attr:P2D_l(df, attr) for attr in self.keys} <NEW_LINE> self.dic = {0: None, 1: None} <NEW_LINE> <DEDENT> def estimProbas(self, attrs...
Utilise le maximum de vraisemblance pour estimer la classe d'un individu en utilisant l'hypothèse du Naïve Bayes.
62598f909b70327d1c57e9c1
class tetr_S(base_piece.Piece): <NEW_LINE> <INDENT> def __init__(self, board, color=DEFAULT_COLORS['tetr_S']): <NEW_LINE> <INDENT> base_piece.Piece.__init__(self, board, color) <NEW_LINE> mid = board.cols() / 2 - 1 <NEW_LINE> self._coords = [ ( 0, mid ), ( 0, mid + 1 ), ( 1, mid - 1 ), ( 1, mid ) ] <NEW_LINE> s...
Tetromino S piece.
62598f90a05bb46b3848a49f
class DeviceMeta(type): <NEW_LINE> <INDENT> pass
Mock for device metaclass.
62598f9010dbd63aa1c707de
class GetProductsBrowseNodeAttributesResponseData(Model): <NEW_LINE> <INDENT> def __init__(self, attr: Attr=None, sub_attrs: List[SubAttr]=None): <NEW_LINE> <INDENT> self.swagger_types = { 'attr': Attr, 'sub_attrs': List[SubAttr] } <NEW_LINE> self.attribute_map = { 'attr': 'attr', 'sub_attrs': 'sub_attrs' } <NEW_LINE> ...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598f9096565a6dacd2cd8a
class WanNianRiLi(object): <NEW_LINE> <INDENT> def __init__(self, year): <NEW_LINE> <INDENT> self.year = year <NEW_LINE> data = self.parseHTML() <NEW_LINE> <DEDENT> def parseHTML(self): <NEW_LINE> <INDENT> s = requests.session() <NEW_LINE> headers = { 'Host': 'wannianrili.bmcx.com', 'Connection': 'keep-alive', 'User-Ag...
万年日历接口数据抓取 Params:year 四位数年份字符串
62598f908da39b475be02e02
class TextureImage: <NEW_LINE> <INDENT> def __init__(self, picture_data, hotspot=None): <NEW_LINE> <INDENT> self.width = picture_data.shape[1] <NEW_LINE> self.height = picture_data.shape[0] <NEW_LINE> dbg("creating TextureImage with size %d x %d" % ( self.width, self.height), 3) <NEW_LINE> if hotspot is None: <NEW_LINE...
represents a image created from a (r,g,b,a) matrix.
62598f90b7558d589546324e
class ApplyAbsBoolOverride(LeafClass, ApplyAbsOverride): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def compute(self, plug, dataBlock): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def initializer(): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> attrValue = None <NEW_LINE> kType...
Apply a boolean absolute override.
62598f90097d151d1a2c0c4c
class ClassThis(object): <NEW_LINE> <INDENT> def __init__(self,value): <NEW_LINE> <INDENT> self.__value__ = str(value)
The This attribute : the value is converted to a string
62598f90dd821e528d6d8b55
class Term(object): <NEW_LINE> <INDENT> inputs = NotSpecified <NEW_LINE> window_length = NotSpecified <NEW_LINE> domain = None <NEW_LINE> dtype = float64 <NEW_LINE> _term_cache = WeakValueDictionary() <NEW_LINE> def __new__(cls, inputs=None, window_length=None, domain=None, dtype=None, *args, **kwargs): <NEW_LINE> <IND...
Base class for terms in an FFC API compute graph.
62598f90851cf427c66b7ee5
class KOBOTOUCHEXTENDEDConfig(KOBOTOUCHConfig): <NEW_LINE> <INDENT> def __init__( self, device_settings, all_formats, supports_subdirs, must_read_metadata, supports_use_author_sort, extra_customization_message, device, extra_customization_choices=None, parent=None, ): <NEW_LINE> <INDENT> super(KOBOTOUCHEXTENDEDConfig, ...
Configuration for KoboTouchExtended.
62598f90f7d966606f747c04
class MarkerFormatter(BaseColorFormatter): <NEW_LINE> <INDENT> @property <NEW_LINE> def marker_tag(self): <NEW_LINE> <INDENT> return self._marker_tag <NEW_LINE> <DEDENT> @property <NEW_LINE> def temp_fmt(self): <NEW_LINE> <INDENT> return self._temp_fmt <NEW_LINE> <DEDENT> @marker_tag.setter <NEW_LINE> def marker_tag(se...
Formats coloring styles based on a marker. If `fmt` is not supplied, the `style` is used. Extends: BaseColorFormatter Properties: marker_tag: a marker to be applied. temp_fmt : keeps initial format to be reset to after formatting. Args: fmt : human-readable format. Defaults t...
62598f90925a0f43d25e7c5c
class SanISCSIDriver(nova.volume.driver.ISCSIDriver): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(SanISCSIDriver, self).__init__(*args, **kwargs) <NEW_LINE> self.run_local = FLAGS.san_is_local <NEW_LINE> <DEDENT> def _build_iscsi_target_name(self, volume): <NEW_LINE> <INDENT> retu...
Base class for SAN-style storage volumes A SAN-style storage value is 'different' because the volume controller probably won't run on it, so we need to access is over SSH or another remote protocol.
62598f90090684286d5934e8
class Employee(models.Model): <NEW_LINE> <INDENT> store = models.ForeignKey(Store) <NEW_LINE> number = models.CharField(max_length=20) <NEW_LINE> first_name = models.CharField(max_length=100) <NEW_LINE> last_name = models.CharField(max_length=100) <NEW_LINE> hired_date = models.DateTimeField(default=timezone.now)
Location employee model. Foreign key to Store
62598f9060cbc95b06363f68
class ArticleList(ListView): <NEW_LINE> <INDENT> model = Article <NEW_LINE> context_object_name = 'articles' <NEW_LINE> paginate_by = 6 <NEW_LINE> template_name = 'article_paginated_list.html' <NEW_LINE> def get_queryset(self): <NEW_LINE> <INDENT> qs = Article.objects.order_by('-create_date') <NEW_LINE> return qs
Список статей для главной страницы.
62598f90b57a9660fecd16a3
class _ReplayKexClientConnection(asyncssh.SSHClientConnection): <NEW_LINE> <INDENT> def replay_kex(self): <NEW_LINE> <INDENT> self.send_packet(MSG_KEXINIT, self._client_kexinit[1:])
Test starting SSH key exchange while it is in progress
62598f9085dfad0860cbf883
class CustomPowerSupply: <NEW_LINE> <INDENT> def __init__(self, rm, address, conversion_factor): <NEW_LINE> <INDENT> self._driver = rm.open_resource(address) <NEW_LINE> self.conversion_factor = conversion_factor <NEW_LINE> <DEDENT> def close(self): <NEW_LINE> <INDENT> self._driver.close() <NEW_LINE> <DEDENT> def read_v...
Base class for power supplies other than the Oxford power supply. Parameters ---------- rm : visa.ResourceManager Resource manager to use to connect to the instrument. address : str Visa address of the instrument. conversion_factor : float Conversion factor between T and whatever unit the power supply is ...
62598f9045492302aabfc0f9
class DefaultService(Service): <NEW_LINE> <INDENT> def __init__(self, name, version, build, servers, hostname=None, fqdn=None, key=None): <NEW_LINE> <INDENT> self._name = name <NEW_LINE> self._version = version <NEW_LINE> self._build = build <NEW_LINE> self.servers = servers <NEW_LINE> self.hostname = hostname or socke...
Default service base class. A service is responsible for exposing the functionallity outlined in its service interface. The details of the service interface contract are defined in the form of a Thrift IDL. Each Service consist of one or more servers, which expose portions of the service interface through one or...
62598f90379a373c97d98c3c
class ProjectFileList(APIView): <NEW_LINE> <INDENT> authentication_classes = KamakiTokenAuthentication, <NEW_LINE> permission_classes = IsAuthenticated, <NEW_LINE> renderer_classes = JSONRenderer, XMLRenderer, BrowsableAPIRenderer <NEW_LINE> def get(self, request, format=None): <NEW_LINE> <INDENT> files = ProjectFile.o...
List uploaded files, upload a file to the users folder.
62598f9055399d3f05626140
class CreatedCommitContributionEdge(sgqlc.types.Type): <NEW_LINE> <INDENT> __schema__ = github_schema <NEW_LINE> __field_names__ = ('cursor', 'node') <NEW_LINE> cursor = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='cursor') <NEW_LINE> node = sgqlc.types.Field('CreatedCommitContribution', graphql_name='...
An edge in a connection.
62598f9030dc7b766599f47e
class EntityHealth(Model): <NEW_LINE> <INDENT> _attribute_map = { 'aggregated_health_state': {'key': 'AggregatedHealthState', 'type': 'str'}, 'health_events': {'key': 'HealthEvents', 'type': '[HealthEvent]'}, 'unhealthy_evaluations': {'key': 'UnhealthyEvaluations', 'type': '[HealthEvaluationWrapper]'}, } <NEW_LINE> def...
Health information common to all entities in the cluster. It contains the aggregated health state, health events and unhealthy evaluation. . :param aggregated_health_state: The HealthState representing the aggregated health state of the entity computed by Health Manager. The health evaluation of the entity reflects ...
62598f903eb6a72ae038a25b