code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class Dog(Animal): <NEW_LINE> <INDENT> def run(self): <NEW_LINE> <INDENT> print('Dog is running')
docstring for Dog
6259902e6fece00bbaccc9f9
class Tool(benchexec.tools.template.BaseTool): <NEW_LINE> <INDENT> def executable(self): <NEW_LINE> <INDENT> executable = util.find_executable('predatorHP.py') <NEW_LINE> executableDir = os.path.dirname(executable) <NEW_LINE> if not os.path.isfile(os.path.join(executableDir, "predator-build-ok")): <NEW_LINE> <INDENT> s...
Wrapper for a Predator - Hunting Party http://www.fit.vutbr.cz/research/groups/verifit/tools/predator-hp/
6259902e0a366e3fb87dda32
class SerializingManager(models.Manager): <NEW_LINE> <INDENT> def get_query_set(self): <NEW_LINE> <INDENT> return SerializingQuerySet(self.model, using=self._db)
Applies the SerializingQuerySet
6259902e507cdc57c63a5df3
class Tweet(DB.Model): <NEW_LINE> <INDENT> id = DB.Column(DB.BigInteger, primary_key=True) <NEW_LINE> text = DB.Column(DB.Unicode(500)) <NEW_LINE> embedding = DB.Column(DB.PickleType, nullable=False) <NEW_LINE> user_id = DB.Column(DB.BigInteger, DB.ForeignKey('user.id'), nullable=False) <NEW_LINE> user = DB.relationshi...
Tweets
6259902e73bcbd0ca4bcb2dc
class ready(Event): <NEW_LINE> <INDENT> pass
ready Event
6259902ea4f1c619b294f641
class Startstate(object): <NEW_LINE> <INDENT> board = [] <NEW_LINE> def __init__(self, teams, simulator): <NEW_LINE> <INDENT> counter = 0 <NEW_LINE> max_count = len(teams)/6; <NEW_LINE> for i in range(0, math.ceil(max_count)): <NEW_LINE> <INDENT> self.board.append([]) <NEW_LINE> <DEDENT> for i in sorted(teams, key=lamb...
UEFA - počiatočný stav. Tu sa udeje vygenerovanie tabuľky
6259902e96565a6dacd2d7b4
class CharNullField(models.CharField): <NEW_LINE> <INDENT> description = "CharField that stores NULL but returns ''" <NEW_LINE> def to_python(self, value): <NEW_LINE> <INDENT> if isinstance(value, models.CharField): <NEW_LINE> <INDENT> return value <NEW_LINE> <DEDENT> if value is None: <NEW_LINE> <INDENT> return "" <NE...
Courtesy of https://code.djangoproject.com/ticket/9590.
6259902e6e29344779b0169b
class Stock_Yahoo(Stock): <NEW_LINE> <INDENT> def __init__(self, symbol, *args, **kwargs): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.data = query(symbol)["query"]["results"]["quote"] <NEW_LINE> self.name = symbol
Creates a share-object from the date from Yahoo. You will need internet access, since the data are pulled live for yahoo.
6259902e8a43f66fc4bf31d1
class QuotaReport(InitDict): <NEW_LINE> <INDENT> required_arguments = [ "disk_limit", "file_limit", "threshold", "soft_disk_limit", "soft_file_limit", "quota_target", "files_used", "disk_used", "tree" ]
Data object representing a quota report.
6259902e15baa72349462fe4
class _PortPool: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._port_queue = collections.deque() <NEW_LINE> self.ports_checked_for_last_request = 0 <NEW_LINE> <DEDENT> def num_ports(self): <NEW_LINE> <INDENT> return len(self._port_queue) <NEW_LINE> <DEDENT> def get_port_for_process(self, pid): <NEW_L...
Manage available ports for processes. Ports are reclaimed when the reserving process exits and the reserved port is no longer in use. Only ports which are free for both TCP and UDP will be handed out. It is easier to not differentiate between protocols. The pool must be pre-seeded with add_port_to_free_pool() calls ...
6259902e73bcbd0ca4bcb2de
class Flickr(models.Source): <NEW_LINE> <INDENT> FAST_POLL = datetime.timedelta(minutes=60) <NEW_LINE> GR_CLASS = gr_flickr.Flickr <NEW_LINE> SHORT_NAME = 'flickr' <NEW_LINE> URL_CANONICALIZER = util.UrlCanonicalizer( domain=GR_CLASS.DOMAIN, approve=r'https://www\.flickr\.com/(photos|people)/[^/?]+/([^/?]+/)?$', reject...
A flickr account. The key name is the nsid
6259902e287bf620b6272c33
class TestTextPageDataRuleMetaData(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def testTextPageDataRuleMetaData(self): <NEW_LINE> <INDENT> pass
TextPageDataRuleMetaData unit test stubs
6259902e1d351010ab8f4b65
class HOdlcoin(Bitcoin): <NEW_LINE> <INDENT> name = 'hodlcoin' <NEW_LINE> symbols = ('HODL', ) <NEW_LINE> seeds = ("westcoast.hodlcoin.com", "eastcoast.hodlcoin.com", "europe.hodlcoin.com", "asia.hodlcoin.com", "seed.hodlcoin.oo.fi", "seed.hodlcoin.dk", "seed.hodlcoin.com") <NEW_LINE> port = 1989 <NEW_LINE> message_sta...
Class with all the necessary HOdlcoin network information based on https://github.com/HOdlcoin/HOdlcoin/blob/HODLCoin0.11.3/src/chainparams.cpp (date of access: 02/15/2018)
6259902ed4950a0f3b111664
class ManagedClusterSKU(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'tier': {'key': 'tier', 'type': 'str'}, } <NEW_LINE> def __init__( self, *, name: Optional[Union[str, "ManagedClusterSKUName"]] = None, tier: Optional[Union[str, "ManagedClusterSKUTier"]] ...
ManagedClusterSKU. :ivar name: Name of a managed cluster SKU. Possible values include: "Basic". :vartype name: str or ~azure.mgmt.containerservice.v2020_11_01.models.ManagedClusterSKUName :ivar tier: Tier of a managed cluster SKU. Possible values include: "Paid", "Free". :vartype tier: str or ~azure.mgmt.containerserv...
6259902e6e29344779b0169d
class COMTrans(object): <NEW_LINE> <INDENT> def Recv(): <NEW_LINE> <INDENT> while True: <NEW_LINE> <INDENT> count = ser.inWaiting() <NEW_LINE> if count!=0: <NEW_LINE> <INDENT> recv = ser.read(count) <NEW_LINE> currenttime = strftime("%Y-%m-%d %H:%M:%S",localtime(time())) <NEW_LINE> print(currenttime + '<< ' + recv.deco...
定义串口发送和接收功能; RunRecv()函数没有参数,打印接收的串口数据; RunSend(data),参数data:需要发送的数据;如发送字符串"root",则data='root'.encode('utf-8')
6259902e15baa72349462fe6
class DHCPEncodeError(DHCPException) : <NEW_LINE> <INDENT> pass
There was an error with the parameters while building the DHCP packet.
6259902e56b00c62f0fb390f
class ReadCounts(HighDimBase): <NEW_LINE> <INDENT> def _validate_header_extensions(self): <NEW_LINE> <INDENT> self._check_header_extensions() <NEW_LINE> <DEDENT> def remap_to(self, destination=None): <NEW_LINE> <INDENT> return self._remap_to_chromosomal_regions(destination) <NEW_LINE> <DEDENT> @property <NEW_LINE> def ...
Subclass for ReadCounts.
6259902e66673b3332c3143e
class MarketMonitor(BasicMonitor): <NEW_LINE> <INDENT> def __init__(self, eventEngine, parent=None): <NEW_LINE> <INDENT> super(MarketMonitor, self).__init__(eventEngine, parent) <NEW_LINE> d = OrderedDict() <NEW_LINE> d['symbol'] = {'chinese': u'合约代码', 'cellType': ""} <NEW_LINE> d['vtSymbol'] = {'chinese': u'名称', 'cell...
市场监控组件
6259902e23e79379d538d559
class OrderedDict(dict): <NEW_LINE> <INDENT> def __init__(self, d=None, **kwargs): <NEW_LINE> <INDENT> self._order = [] <NEW_LINE> self.data = {} <NEW_LINE> if d is not None: <NEW_LINE> <INDENT> if hasattr(d, 'keys'): <NEW_LINE> <INDENT> self.update(d) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> for k,v in d: <NEW_LI...
A UserDict that preserves insert order whenever possible.
6259902e287bf620b6272c35
@parser(Specs.ip_neigh_show) <NEW_LINE> class IpNeighShow(IpNeighParser): <NEW_LINE> <INDENT> pass
Class to parse ``ip neigh show`` or ``ip -s -s neigh show`` command output.
6259902e4e696a045264e649
class AssemblingError(Exception): <NEW_LINE> <INDENT> pass
Raised if the parser could not be configured due to malformed or conflicting command declarations.
6259902ee76e3b2f99fd9a5b
class Status(models.Model): <NEW_LINE> <INDENT> verbatim = models.ForeignKey(Verbatim) <NEW_LINE> country = models.ForeignKey(Country) <NEW_LINE> status = models.CharField(max_length=5, db_index=True) <NEW_LINE> def __unicode__(self): <NEW_LINE> <INDENT> return u"%s" % self.status <NEW_LINE> <DEDENT> class Meta: <NEW_L...
MODEL instances of status determined by a verbatim and a country (association model)
6259902ed164cc6175821fc0
class New(EndPoint): <NEW_LINE> <INDENT> argparse_noflag = "compose_version" <NEW_LINE> schema = { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": properties }
创建一个docker-compose文件. 当指定的dockercompose文件存在时创建全新内容并覆盖原来老的compose文件,老的会被重新保存为`原名.{timestamp}_bak`; 当指定的dockercompose文件不存在时创建新的compose文件. 更新操作只能更新如下内容: 1. service 2. 外部networks声明 3. 外部volumes声明 4. 外部configs声明 5. 外部secrits声明
6259902e287bf620b6272c36
class sale_agent(orm.Model): <NEW_LINE> <INDENT> _name = "sale.agent" <NEW_LINE> _description = "Sale agent" <NEW_LINE> _columns = { 'name': fields.char('Saleagent Name', size=125, required=True), 'type': fields.selection((('asesor', 'Adviser'), ('comercial', 'Commercial')), 'Type', required=True), 'partner_id': fields...
Agente de ventas
6259902e5166f23b2e244426
class MetricsResponse(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'date_time_begin': {'key': 'dateTimeBegin', 'type': 'iso-8601'}, 'date_time_end': {'key': 'dateTimeEnd', 'type': 'iso-8601'}, 'granularity': {'key': 'granularity', 'type': 'str'}, 'series': {'key': 'series', 'type': '[MetricsRespo...
Metrics Response. :param date_time_begin: :type date_time_begin: ~datetime.datetime :param date_time_end: :type date_time_end: ~datetime.datetime :param granularity: Possible values include: "PT5M", "PT1H", "P1D". :type granularity: str or ~azure.mgmt.cdn.models.MetricsResponseGranularity :param series: :type series:...
6259902e1d351010ab8f4b67
class VerseIter(object): <NEW_LINE> <INDENT> def __init__(self, start, end='Revelation of John 22:21'): <NEW_LINE> <INDENT> start, end = sorted([Verse(start), Verse(end)]) <NEW_LINE> self._verse_iter = iter(VerseRange(start, end)) <NEW_LINE> self._verse_ref = '' <NEW_LINE> <DEDENT> def __next__(self): <NEW_LINE> <INDEN...
Iterator of verse references.
6259902e50485f2cf55dbfcb
class UidPublish: <NEW_LINE> <INDENT> def __init__(self, signal, raise_if_disconnected=False, **put_kw): <NEW_LINE> <INDENT> self._uid = None <NEW_LINE> self.last_start = None <NEW_LINE> self.uid_signal = signal <NEW_LINE> self.put_kw = put_kw <NEW_LINE> self.raise_if_disconnected = raise_if_disconnected <NEW_LINE> <DE...
Publishes current run start document UID to a given signal Processed on every start/end document. Note: If used with an EpicsSignal, it's recommended to use a waveform in place of a stringin record on the EPICS side, as the start document UID will be published both on run start and run completion. A stringin record w...
6259902e96565a6dacd2d7b6
class TwoPortElement(Element): <NEW_LINE> <INDENT> def __init__(self, name, node_plus, node_minus, *args, **kwargs): <NEW_LINE> <INDENT> pins = (Pin(self, 'plus', node_plus), Pin(self, 'minus', node_minus)) <NEW_LINE> super(TwoPortElement, self).__init__(name, pins, *args, **kwargs) <NEW_LINE> <DEDENT> @property <NEW_L...
This class implements a base class for a two-port element.
6259902e50485f2cf55dbfcc
class GCodeParserSpecialCharacter(GCodeParserElementBase): <NEW_LINE> <INDENT> pass
G-code parser special character element
6259902e5e10d32532ce412b
class GitLabUser(GitLabMixin, User): <NEW_LINE> <INDENT> def __init__(self, token: Union[GitLabPrivateToken, GitLabOAuthToken], identifier: Optional[Union[str, int]]=None): <NEW_LINE> <INDENT> self._token = token <NEW_LINE> self._url = '/user' <NEW_LINE> self._id = identifier <NEW_LINE> if identifier: <NEW_LINE> <INDEN...
A GitLab user, e.g. sils :)
6259902e8e05c05ec3f6f683
class Anova(object): <NEW_LINE> <INDENT> def __init__(self, model_a, model_b, acquisition_directions, tensor): <NEW_LINE> <INDENT> super(Anova, self).__init__() <NEW_LINE> self.__model_a = model_a <NEW_LINE> self.__model_b = model_b <NEW_LINE> self.__acquisition_directions = acquisition_directions <NEW_LINE> self.__ten...
Analysis of Variance
6259902e30c21e258be9985c
class BinResponse(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swagger_types = { 'id': 'int' } <NEW_LINE> self.attribute_map = { 'id': 'id' } <NEW_LINE> self._id = None <NEW_LINE> <DEDENT> @property <NEW_LINE> def id(self): <NEW_LINE> <INDENT> return self._id <NEW_LINE> <DEDENT> @id.setter ...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
6259902ed99f1b3c44d066f3
class Investment(BaseObject): <NEW_LINE> <INDENT> CODE_TYPE_ISIN = u'ISIN' <NEW_LINE> CODE_TYPE_AMF = u'AMF' <NEW_LINE> label = StringField('Label of stocks') <NEW_LINE> code = StringField('Identifier of the stock') <NEW_LINE> code_type = StringField('Type of stock code (ISIN or AMF)') <NEW_LINE> description =...
Investment in a financial market.
6259902e56b00c62f0fb3911
class PreviewScreen(Screen): <NEW_LINE> <INDENT> def on_enter(self, *args): <NEW_LINE> <INDENT> widget = walk_toolbar(disabled=False) <NEW_LINE> widget.icon = 'arrow-left-bold-outline' <NEW_LINE> setattr(widget, 'on_release', lambda: setattr(self.parent, 'current', 'picker')) <NEW_LINE> self.parent.transition.direction...
Shows list in progress
6259902e287bf620b6272c38
class RecipeSerializer(serializers.ModelSerializer): <NEW_LINE> <INDENT> ingredients = serializers.PrimaryKeyRelatedField( many=True, queryset=Ingredient.objects.all() ) <NEW_LINE> tags = serializers.PrimaryKeyRelatedField( many=True, queryset=Tag.objects.all() ) <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = Recip...
Serialize for recipe objects
6259902e5166f23b2e244428
class SublocationAPIViewSet(viewsets.ReadOnlyModelViewSet): <NEW_LINE> <INDENT> queryset = Location.objects.all() <NEW_LINE> serializer_class = LocationListSerializer <NEW_LINE> permission_classes = (rest_permissions.AllowAny,) <NEW_LINE> paginate_by = None <NEW_LINE> def get_queryset(self): <NEW_LINE> <INDENT> pk = se...
Prosty widok umożliwiający pobranie listy lokalizacji z podstawowymi informacjami. Domyślnie prezentowana jest lista wszystkich lokalizacji. Do parametrów GET możemy dodać `pk` lokalizacji, której bezpośrednie "dzieci" chcemy pobrać, np.: ```/api-locations/sublocations/pk=1```
6259902e30c21e258be9985e
class CollectorService(os_service.Service): <NEW_LINE> <INDENT> def start(self): <NEW_LINE> <INDENT> dispatcher_managers = dispatcher.load_dispatcher_manager() <NEW_LINE> (self.meter_manager, self.event_manager) = dispatcher_managers <NEW_LINE> self.sample_listener = None <NEW_LINE> self.event_listener = None <NEW_LINE...
Listener for the collector service.
6259902e1f5feb6acb163c42
class Body37(InstanceCreateRequest): <NEW_LINE> <INDENT> swagger_types = { } <NEW_LINE> if hasattr(InstanceCreateRequest, "swagger_types"): <NEW_LINE> <INDENT> swagger_types.update(InstanceCreateRequest.swagger_types) <NEW_LINE> <DEDENT> attribute_map = { } <NEW_LINE> if hasattr(InstanceCreateRequest, "attribute_map"):...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
6259902e796e427e5384f7ce
class FastHttpUser(User): <NEW_LINE> <INDENT> client: FastHttpSession = None <NEW_LINE> network_timeout: float = 60.0 <NEW_LINE> connection_timeout: float = 60.0 <NEW_LINE> max_redirects: int = 5 <NEW_LINE> max_retries: int = 1 <NEW_LINE> insecure: bool = True <NEW_LINE> abstract = True <NEW_LINE> def __init__(self, en...
FastHttpUser uses a different HTTP client (geventhttpclient) compared to HttpUser (python-requests). It's significantly faster, but not as capable. The behaviour of this user is defined by it's tasks. Tasks can be declared either directly on the class by using the :py:func:`@task decorator <locust.task>` on the method...
6259902e507cdc57c63a5dfb
class StatMain(tk.Frame): <NEW_LINE> <INDENT> def __init__(self, parent): <NEW_LINE> <INDENT> tk.Frame.__init__(self, parent) <NEW_LINE> fm_top = tk.Frame(self) <NEW_LINE> fm_top.pack(side=tk.TOP, fill=tk.X, pady=20, padx=5) <NEW_LINE> self.btn_home = tk.Button(fm_top, text='Home') <NEW_LINE> self.btn_home.pack(side=tk...
StatMain is a frame and
6259902e66673b3332c31443
class Storage(object): <NEW_LINE> <INDENT> def __init__(self, name, for_sync): <NEW_LINE> <INDENT> self.is_new = not os.path.exists(name) <NEW_LINE> self.for_sync = for_sync or self.is_new <NEW_LINE> self.open(name, create=self.is_new) <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def import_module(cls): <NEW_LINE> <INDE...
Abstract base class of the DB backend abstraction.
6259902e8c3a8732951f75ab
class PowerManagerAdapter(SuspendAdapter): <NEW_LINE> <INDENT> def __init__(self, bus_name='org.freedesktop.PowerManagement', object_name='/org/freedesktop/PowerManagement/Inhibit', interface_name='org.freedesktop.PowerManagement.Inhibit'): <NEW_LINE> <INDENT> SuspendAdapter.__init__(self, bus_name, object_name, interf...
Default Adapter, implemented by most desktop sessions Adapter for org.freedesktop.PowerManagement.Inhibit Interface Some desktop sesssions use different bus names for this interface and have other small variances
6259902ee76e3b2f99fd9a5f
class test_schema01(wttest.WiredTigerTestCase): <NEW_LINE> <INDENT> basename = 'test_schema01' <NEW_LINE> tablename = 'table:' + basename <NEW_LINE> cgname = 'colgroup:' + basename <NEW_LINE> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> wttest.WiredTigerTestCase.__init__(self, *args, **kwargs) <NEW_LINE> se...
Test various tree types becoming empty
6259902ea4f1c619b294f649
class PyPyprof2html(PythonPackage): <NEW_LINE> <INDENT> pypi = "pyprof2html/pyprof2html-0.3.1.tar.gz" <NEW_LINE> version('0.3.1', sha256='db2d37e21d8c76f2fd25fb1ba9273c9b3ff4a98a327e37d943fed1ea225a6720') <NEW_LINE> patch('version_0.3.1.patch', when="@0.3.1") <NEW_LINE> depends_on('py-setuptools', type='build') <NEW_LI...
Python cProfile and hotshot profile's data to HTML Converter
6259902eec188e330fdf98e6
class V1PolyaxonSidecarContainer(BaseConfig, polyaxon_sdk.V1PolyaxonSidecarContainer): <NEW_LINE> <INDENT> SCHEMA = PolyaxonSidecarContainerSchema <NEW_LINE> IDENTIFIER = "polyaxon_sidecar" <NEW_LINE> REDUCED_ATTRIBUTES = [ "imageTag", "imagePullPolicy", "sleepInterval", "resources", "syncInterval", "monitorLogs", ] <N...
Polyaxon sidecar is a helper container that collects outputs, artifacts, and metadata about the main container. Polyaxon CE and Polyaxon Agent are deployed with default values for the sidecar container, however if you need to control or update one or several aspects of how the sidecar container that gets injected, thi...
6259902ed4950a0f3b111667
class itkInPlaceImageFilterIF2ICVF22(itkImageToImageFilterBPython.itkImageToImageFilterIF2ICVF22): <NEW_LINE> <INDENT> thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <NEW_LINE> def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined") <N...
Proxy of C++ itkInPlaceImageFilterIF2ICVF22 class
6259902e30c21e258be99860
class TestQueueResult(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def testQueueResult(self): <NEW_LINE> <INDENT> pass
QueueResult unit test stubs
6259902e925a0f43d25e909c
class JSONField(with_metaclass(models.SubfieldBase, models.TextField)): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> default = kwargs.get('default', None) <NEW_LINE> if default is None: <NEW_LINE> <INDENT> kwargs['default'] = '{}' <NEW_LINE> <DEDENT> models.TextField.__init__(self, *args...
Simple JSON field that stores python structures as JSON strings on database. Borrowed from django-social-auth :): https://github.com/omab/django-social-auth/blob/master/social_auth/fields.py
6259902e8a349b6b4368728f
class NcpdqError(ExternalCommandError): <NEW_LINE> <INDENT> def __init__(self, class_name, filename, command, traceback_text): <NEW_LINE> <INDENT> super().__init__(class_name, 'ncpdq', filename, command, traceback_text)
When ncpdq fails.
6259902ed10714528d69eeb5
class ScoreService(Service): <NEW_LINE> <INDENT> __model__ = Score <NEW_LINE> def new_score(self, winner, loser, first_user_score, second_user_score): <NEW_LINE> <INDENT> if first_user_score == second_user_score: <NEW_LINE> <INDENT> raise endpoints.BadRequestException('Score cannot be created, game was a draw') <NEW_LI...
Service class interacting with the Score datastore
6259902e507cdc57c63a5dfd
class UpdateFleetNameRequest(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.FleetId = None <NEW_LINE> self.Name = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> self.FleetId = params.get("FleetId") <NEW_LINE> self.Name = params.get("Name") <NEW_LINE> memeb...
UpdateFleetName请求参数结构体
6259902e66673b3332c31445
@dataclass <NEW_LINE> class Synchronizer: <NEW_LINE> <INDENT> src: Database <NEW_LINE> dst: Database <NEW_LINE> user: UserSynchronizer_ = field(init=False, repr=False) <NEW_LINE> group: GroupSynchronizer_ = field(init=False, repr=False) <NEW_LINE> UserSynchronizer: ClassVar[Type[UserSynchronizer_]] = UserSynchronizer <...
A user database synchronizer
6259902e1d351010ab8f4b6c
class ModelNameIdentBase: <NEW_LINE> <INDENT> def __init__(self, rootName=""): <NEW_LINE> <INDENT> self._root = rootName <NEW_LINE> self.componentCounter = 0 <NEW_LINE> <DEDENT> def setComponentCounter(self, c): <NEW_LINE> <INDENT> self.componentCounter = c <NEW_LINE> <DEDENT> def getComponentCounter(self): <NEW_LINE> ...
Managing the naming of model components. This class handles the names of models or model components. Individual names or identifiers are composed of a "root name" and a "component counter". The root name is supposed to be a concise string summarizing the type of model, while the component counter is used to distinguis...
6259902ea4f1c619b294f64b
class PluginContext(Context): <NEW_LINE> <INDENT> def __init__(self, request, dict=None, current_app=None): <NEW_LINE> <INDENT> if current_app is None: <NEW_LINE> <INDENT> Context.__init__(self, dict) <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> Context.__init__(self, dict, current_app=current_app) <NEW_LINE> <DEDENT>...
A template Context class similar to :class:`~django.template.context.RequestContext`, that enters some pre-filled data. This ensures that variables such as ``STATIC_URL`` and ``request`` are available in the plugin templates.
6259902eb57a9660fecd2ad8
class ConfirmDialogWithInput(ConfirmDialog): <NEW_LINE> <INDENT> def __init__(self, *args): <NEW_LINE> <INDENT> super(ConfirmDialogWithInput, self).__init__(*args) <NEW_LINE> self.keyboard = input.Keyboard.create() <NEW_LINE> <DEDENT> def enter_text(self, text, clear=True): <NEW_LINE> <INDENT> text_field = self._select...
ConfirmDialogWithInput Autopilot emulator.
6259902e5166f23b2e24442c
class AbstractChemenvError(Exception): <NEW_LINE> <INDENT> def __init__(self, cls, method, msg): <NEW_LINE> <INDENT> self.cls = cls <NEW_LINE> self.method = method <NEW_LINE> self.msg = msg <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> return str(self.cls) + ": " + self.method + "\n" + repr(self.msg)
Abstract class for Chemenv errors.
6259902ed99f1b3c44d066f9
class TextGenericDropForSectionTV(TextGenericDropForPropertyTV): <NEW_LINE> <INDENT> targets = [BaseProperty, BaseSection]
can drop Properties and Section, inherited is the capability to only drop Properties into Sections (not into Documents)
6259902e8c3a8732951f75ae
class S3Config(BaseConfig): <NEW_LINE> <INDENT> targets = ( ('buckets', 'Buckets', 'list_buckets', {}, False), ) <NEW_LINE> def __init__(self, thread_config): <NEW_LINE> <INDENT> self.buckets = {} <NEW_LINE> self.buckets_count = 0 <NEW_LINE> super(S3Config, self).__init__(thread_config) <NEW_LINE> <DEDENT> def parse_bu...
S3 configuration for all AWS regions :cvar targets: Tuple with all S3 resource names that may be fetched
6259902ebe8e80087fbc00d1
class SpectrumParameterWidget(ChoiceParameterWidget): <NEW_LINE> <INDENT> def __init__(self, ds, **kwargs): <NEW_LINE> <INDENT> self.choice_dict = {"{}".format(str(s)):s for s in ds.get_all_spectra().values()} <NEW_LINE> if len(self.choice_dict) == 0: <NEW_LINE> <INDENT> self.choice_dict = {"...
A widget for a dropdown menu of spectra.
6259902e0a366e3fb87dda3e
class TGSTTADataset(TGSDataset): <NEW_LINE> <INDENT> def __init__(self, postproc=None, **kwargs): <NEW_LINE> <INDENT> super().__init__(**kwargs) <NEW_LINE> self.postproc = postproc <NEW_LINE> <DEDENT> def __len__(self): <NEW_LINE> <INDENT> return 2 * super().__len__() <NEW_LINE> <DEDENT> def __getitem__(self, idx): <NE...
Dataset with test time augmentations Parameters: postproc: function receives (image, mask) and returns postprocessed versions of these two Returns a dict with keys: id, image, mask, depth
6259902ed6c5a102081e317d
class ChanceScheduler(driver.Scheduler): <NEW_LINE> <INDENT> def _filter_hosts(self, request_spec, hosts, **kwargs): <NEW_LINE> <INDENT> filter_properties = kwargs.get('filter_properties', {}) <NEW_LINE> ignore_hosts = filter_properties.get('ignore_hosts', []) <NEW_LINE> hosts = [host for host in hosts if host not in i...
Implements Scheduler as a random node selector.
6259902e9b70327d1c57fddb
class TestAppDirectoriesFinder(StaticFilesTestCase, FinderTestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> super(TestAppDirectoriesFinder, self).setUp() <NEW_LINE> self.finder = finders.AppDirectoriesFinder() <NEW_LINE> test_file_path = os.path.join(django_settings.TEST_ROOT, 'apps/test/static/test/f...
Test AppDirectoriesFinder.
6259902e6e29344779b016a7
class Type3RecurrenceModel(BaseRecurrenceModel): <NEW_LINE> <INDENT> def cumulative_value(self, slip_moment, mmax, mag_value, bbar, dbar): <NEW_LINE> <INDENT> moment_ratio = slip_moment / _scale_moment(mmax) <NEW_LINE> delta_m = mmax - mag_value <NEW_LINE> rhs_1 = (dbar * (dbar - bbar)) / bbar <NEW_LINE> rhs_3 = (1. / ...
Calculate N(M > mag_value) using Anderson & Luco Type 1 formula as inverse of formula III.5 of Table 4 in Anderson & Luco (1993).
6259902ed99f1b3c44d066fb
class RFPDupeFilter(BaseDupeFilter): <NEW_LINE> <INDENT> logger = logger <NEW_LINE> def __init__(self, server, key, debug=False): <NEW_LINE> <INDENT> self.server = server <NEW_LINE> self.key = key <NEW_LINE> self.debug = debug <NEW_LINE> self.logdupes = True <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def from_settings...
Redis-based request duplicates filter. This class can also be used with default Scrapy's scheduler.
6259902e8e05c05ec3f6f687
class ParentLogHandler(ChildLogHandler): <NEW_LINE> <INDENT> def __init__(self, handlers, queue): <NEW_LINE> <INDENT> ChildLogHandler.__init__(self, queue) <NEW_LINE> self._handlers = handlers <NEW_LINE> for handler in self._handlers: <NEW_LINE> <INDENT> handler.setFormatter(memdam.FORMATTER) <NEW_LINE> <DEDENT> self._...
Collects all logs from child processes and sends them to a set of handlers at the parent. Note: this flushes the logs at exit, but be sure not to register any other atexit calls which might make logging calls BEFORE creating this log handler, otherwise there is no guarantee that the messages will be written!
6259902e8c3a8732951f75b0
class wb_standard_slave_sequencer(UVMSequencer): <NEW_LINE> <INDENT> def __init__(self, name, parent=None): <NEW_LINE> <INDENT> super().__init__(name, parent) <NEW_LINE> self.seq_item_export = UVMBlockingPeekPort("seq_item_export", self)
Class: Memory Interface Read Slave Sequencer Definition: Contains functions, tasks and methods of this agent's sequencer.
6259902e91af0d3eaad3ae83
class GadgetType(object): <NEW_LINE> <INDENT> NoOperation = 0 <NEW_LINE> Jump = 1 <NEW_LINE> MoveRegister = 2 <NEW_LINE> LoadConstant = 3 <NEW_LINE> Arithmetic = 4 <NEW_LINE> LoadMemory = 5 <NEW_LINE> StoreMemory = 6 <NEW_LINE> ArithmeticLoad = 7 <NEW_LINE> ArithmeticStore = 8 <NEW_L...
Enumeration of Gadget Types.
6259902eb57a9660fecd2adc
class notify_around(ContextDecorator): <NEW_LINE> <INDENT> def __init__(self, event, *args, **kwargs): <NEW_LINE> <INDENT> self.event = event <NEW_LINE> self.args = args <NEW_LINE> self.kwargs = kwargs <NEW_LINE> if 'uuid' not in kwargs: <NEW_LINE> <INDENT> kwargs['uuid'] = str(uuid.uuid4()) <NEW_LINE> <DEDENT> <DEDENT...
class is decorator and context manager. In order to match up BEFORE and AFTER events, a uuid field is included in the kwargs for loggers/etc. If an exception occurs in the wrapped function, then the NotifyType.EXCEPTION type is sent is used.
6259902e63f4b57ef008659f
class ParsedConfig(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.pragmas = [] <NEW_LINE> self.pipelines = [] <NEW_LINE> self.jobs = [] <NEW_LINE> self.project_templates = [] <NEW_LINE> self.projects = [] <NEW_LINE> self.projects_by_regex = {} <NEW_LINE> self.nodesets = [] <NEW_LINE> self.sec...
A collection of parsed config objects.
6259902e8a43f66fc4bf31df
class _FakeStuffCreator(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> from ..gui.plotter import digital, analog <NEW_LINE> from io import BytesIO <NEW_LINE> self.BytesIO = BytesIO <NEW_LINE> self.mod_D, self.mod_A = digital, analog <NEW_LINE> D, A = self.mod_D.example_signals, self.mod_A.example_...
class to create fake data for testing Signals(Set) classes
6259902e66673b3332c3144b
class DocumentsMetadataConfiguration(AWSProperty): <NEW_LINE> <INDENT> props: PropsDictType = { "S3Prefix": (str, False), }
`DocumentsMetadataConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-documentsmetadataconfiguration.html>`__
6259902e4e696a045264e64f
class UserFollowingGroup(domain_object.DomainObject): <NEW_LINE> <INDENT> def __init__(self, follower_id, object_id): <NEW_LINE> <INDENT> self.follower_id = follower_id <NEW_LINE> self.object_id = object_id <NEW_LINE> self.datetime = datetime.datetime.now() <NEW_LINE> <DEDENT> @classmethod <NEW_LINE> def get(self, foll...
A many-many relationship between users and groups. A relationship between a user (the follower) and a group (the object), that means that the user is currently following the group.
6259902e287bf620b6272c42
class Rectangle: <NEW_LINE> <INDENT> number_of_instances = 0 <NEW_LINE> print_symbol = '#' <NEW_LINE> def __init__(self, width=0, height=0): <NEW_LINE> <INDENT> self.width = width <NEW_LINE> self.height = height <NEW_LINE> type(self).number_of_instances += 1 <NEW_LINE> <DEDENT> @property <NEW_LINE> def width(self): <NE...
Class that defines a rectangle
6259902e1d351010ab8f4b73
class Solution: <NEW_LINE> <INDENT> def inorderTraversal(self, root): <NEW_LINE> <INDENT> if root is None: <NEW_LINE> <INDENT> return [] <NEW_LINE> <DEDENT> return self.inorderTraversal(root.left)+[root.val]+self.inorderTraversal(root.right)
@param root: A Tree @return: Inorder in ArrayList which contains node values.
6259902ebe8e80087fbc00d7
class LibdepsGraph(networkx.DiGraph): <NEW_LINE> <INDENT> def __init__(self, graph=networkx.DiGraph()): <NEW_LINE> <INDENT> super().__init__(incoming_graph_data=graph) <NEW_LINE> self._progressbar = None <NEW_LINE> self._deptypes = None <NEW_LINE> <DEDENT> def get_deptype(self, deptype): <NEW_LINE> <INDENT> if not self...
Class for analyzing the graph.
6259902e8e05c05ec3f6f689
class LoggingMiddleware(object): <NEW_LINE> <INDENT> def __init__(self, logger_name='cf.falcon.logger'): <NEW_LINE> <INDENT> self._logger_name = logger_name <NEW_LINE> <DEDENT> def process_request(self, request, response): <NEW_LINE> <INDENT> framework = cf_logging.FRAMEWORK <NEW_LINE> cid = framework.request_reader.ge...
Falcon logging middleware
6259902e30c21e258be99868
class TestTaskCreate(APITestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.user1 = create_user(1) <NEW_LINE> self.skill1 = create_skill("Python") <NEW_LINE> self.skill2 = create_skill("PHP") <NEW_LINE> <DEDENT> def test_task_create(self): <NEW_LINE> <INDENT> token = api_login(self.user1) <NEW_LINE...
Model tests for create tasks
6259902e8c3a8732951f75b4
class IsAuthenticatedWithPermission(IsAuthenticated): <NEW_LINE> <INDENT> def has_object_permission(self, request, view, obj): <NEW_LINE> <INDENT> return obj.has_permission(request.user)
Implements `has_object_permission` to check for object level permission Author: Himanshu Shankar (https://himanshus.com)
6259902e15baa72349462ff4
class TargetReference(msrest.serialization.Model): <NEW_LINE> <INDENT> _validation = { 'type': {'required': True, 'constant': True}, 'id': {'required': True, 'pattern': r'^\/[Ss][Uu][Bb][Ss][Cc][Rr][Ii][Pp][Tt][Ii][Oo][Nn][Ss]\/[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\/[Rr][Ee][Ss][Oo...
Model that represents a reference to a Target in the selector. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. :ivar type: Enum of the Target reference type. Has constant value: "ChaosTarget". :vartype type: ...
6259902e796e427e5384f7d8
class InlineQueryResultGif(InlineQueryResult): <NEW_LINE> <INDENT> type: base.String = fields.Field(alias='type', default='gif') <NEW_LINE> gif_url: base.String = fields.Field() <NEW_LINE> gif_width: base.Integer = fields.Field() <NEW_LINE> gif_height: base.Integer = fields.Field() <NEW_LINE> gif_duration: base.Integer...
Represents a link to an animated GIF file. By default, this animated GIF file will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the animation. https://core.telegram.org/bots/api#inlinequeryresultgif
6259902ed10714528d69eeb9
class GuessMachine(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.number_to_guess=random.randint(MIN,MAX) <NEW_LINE> self.number_of_attempt=0 <NEW_LINE> <DEDENT> def guess (self,num): <NEW_LINE> <INDENT> self.number_of_attempt +=1 <NEW_LINE> if num < self.number_to_guess: <NEW_LINE> <INDENT> return...
I have a number in mind, you have to guess it !! +self.number_to_guess is generated during creation of the object + use'guess(num)' method to make a guess +I'll count the number of attempt in self.number_of_attempt
6259902e4e696a045264e650
class RelationValidateError(ValidateError): <NEW_LINE> <INDENT> pass
A base validate error for RelationValidator
6259902e26238365f5fadbaf
class TestSocket(): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def sendall(str_to_send): <NEW_LINE> <INDENT> pprint.pprint(str_to_send) <NEW_LINE> <DEDENT> @staticmethod <NEW_LINE> def recv(len_header): <NEW_LINE> <INDENT> read = click.prompt( 'This is a simulation as no socket is here, please input the string you wa...
This emulates the mysql socket even though we dont actually have one
6259902e6fece00bbaccca0c
class ItemListView(ListView): <NEW_LINE> <INDENT> model = Item <NEW_LINE> template_name = 'salesmanager/item/item_list.html' <NEW_LINE> context_object_name = 'items'
List all the items
6259902e6e29344779b016ad
class Model(Resource): <NEW_LINE> <INDENT> DATABASE_DATA = { 'database': 'triage', 'user': 'model_handler', 'password': 'password', 'host': 'db', 'port': '5432' } <NEW_LINE> arg_schema_post = { 'clinic_id': fields.Int(required=True), 'model_weights': fields.Field(), 'severity': fields.Int(required=True), 'accuracy': fi...
The `Model` class handles all of the requests relative to new model data uploads for the API.
6259902ebe8e80087fbc00d9
class DirectionWrapper(NumGridWrapper, gym.ActionWrapper): <NEW_LINE> <INDENT> def __init__(self, env, distance=1): <NEW_LINE> <INDENT> super().__init__(env) <NEW_LINE> self.distance = distance <NEW_LINE> self.direction_space = spaces.Direction() <NEW_LINE> self.action_space = gym.spaces.Tuple((self.digit_space, self.d...
An action wrapper for NumGrid converting directions into positions. Since it needs access to the cursor position, which is not saved in the wrapper stack, it must be used first in the stack.
6259902e796e427e5384f7da
class CapabilityStatementImplementation(backboneelement.BackboneElement): <NEW_LINE> <INDENT> resource_type = "CapabilityStatementImplementation" <NEW_LINE> def __init__(self, jsondict=None, strict=True): <NEW_LINE> <INDENT> self.custodian = None <NEW_LINE> self.description = None <NEW_LINE> self.url = None <NEW_LINE> ...
If this describes a specific instance. Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program.
6259902e507cdc57c63a5e07
class SoftwareDeployment(BASE, HeatBase, StateAware): <NEW_LINE> <INDENT> __tablename__ = 'software_deployment' <NEW_LINE> __table_args__ = ( sqlalchemy.Index('ix_software_deployment_created_at', 'created_at'),) <NEW_LINE> id = sqlalchemy.Column('id', sqlalchemy.String(36), primary_key=True, default=lambda: str(uuid.uu...
Represents applying a software configuration resource to a single server resource.
6259902e0a366e3fb87dda46
class check_required_params: <NEW_LINE> <INDENT> def __init__(self, required_params: list) -> None: <NEW_LINE> <INDENT> assert required_params <NEW_LINE> self.required_params = required_params <NEW_LINE> <DEDENT> def __call__(self, function: Callable) -> Callable: <NEW_LINE> <INDENT> @wraps(function) <NEW_LINE> def wra...
This will return 400 from a view if a required param/params are missing.
6259902e287bf620b6272c46
class CryptoManager: <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.cwd = os.getcwd() <NEW_LINE> self.now = datetime.datetime.now() <NEW_LINE> self.dfop = pd.DataFrame() <NEW_LINE> self.summary_table = pd.DataFrame() <NEW_LINE> logger.info("CryptoManager class created") <NEW_LINE> <DEDENT> def save_cr...
Manager for Crypto operations
6259902e9b70327d1c57fde3
class Authorization(object): <NEW_LINE> <INDENT> def __get__(self, instance, owner): <NEW_LINE> <INDENT> self.resource_meta = instance <NEW_LINE> return self <NEW_LINE> <DEDENT> def read_list(self, object_list, bundle): <NEW_LINE> <INDENT> return object_list <NEW_LINE> <DEDENT> def read_detail(self, object_list, bundle...
A base class that provides no permissions checking.
6259902eac7a0e7691f73548
class AdaptiveDetrend(CtrlNode): <NEW_LINE> <INDENT> nodeName = 'AdaptiveDetrend' <NEW_LINE> uiTemplate = [ ('threshold', 'doubleSpin', {'value': 3.0, 'min': 0, 'max': 1000000}) ] <NEW_LINE> def processData(self, data): <NEW_LINE> <INDENT> return functions.adaptiveDetrend(data, threshold=self.ctrls['threshold'].value()...
Removes baseline from data, ignoring anomalous events
6259902e63f4b57ef00865a2
class StabilityShares(Bitcoin): <NEW_LINE> <INDENT> name = 'stability_shares' <NEW_LINE> symbols = ('XSS', ) <NEW_LINE> nodes = ("80.112.144.84", "82.139.127.205", "23.253.82.83", "27.33.1.58", "87.147.43.53", "174.108.122.202", "204.195.130.236", "92.55.41.212", "88.127.170.75", "94.23.196.92") <NEW_LINE> port = 7711 ...
Class with all the necessary Stability Shares network information based on https://bitcointalk.org/index.php?topic=490529.0 (date of access: 02/16/2018)
6259902e6fece00bbaccca0e
class Variable(NameBlock): <NEW_LINE> <INDENT> KIND = "variable" <NEW_LINE> def __repr__(self): <NEW_LINE> <INDENT> return "#<%s %s %s>" % (self.KIND, self.name, self.body.get("default", None))
``variable`` block. Exposes `.name` as a property. If you're defining a variable without a type or a description (90% of the cases in practice), it is probably easier to use :func:`variables <p10s.terraform.variables>`.
6259902ed4950a0f3b11166d
class Container: <NEW_LINE> <INDENT> def __init__(self,saveprefix,savefolder,plotformat,overwrite): <NEW_LINE> <INDENT> self.data = {'saveprefix':saveprefix, 'savefolder':savefolder, 'plotformat':plotformat, 'overwrite':overwrite } <NEW_LINE> self._prep_container() <NEW_LINE> <DEDENT> def _prep_container(self): <NEW_LI...
Container is a class facilitating how the output files would be named, and packaged in a folder. Name convention of HSTPHOT files is ./savefolder/saveprefix_suffix.ext. suffix and ext would be chosen internally in the pipeline. If it is a graphic file such as plots, plotformat determines its ext. overwrite, if set True...
6259902e8c3a8732951f75b7
class Smoke1(module_framework.AvocadoTest): <NEW_LINE> <INDENT> def test_uname(self): <NEW_LINE> <INDENT> self.start() <NEW_LINE> self.run("uname | grep Linux") <NEW_LINE> <DEDENT> def test_echo(self): <NEW_LINE> <INDENT> self.start() <NEW_LINE> self.runHost("echo test | grep test")
:avocado: enable
6259902ed99f1b3c44d06703
@with_author <NEW_LINE> class PriceLevel(TimeStampedModel, models.Model): <NEW_LINE> <INDENT> pricable = models.ForeignKey( settings.PRICE_LEVEL_MODEL, verbose_name=_("Pricable"), on_delete=models.CASCADE, ) <NEW_LINE> name = models.CharField( verbose_name=_("Name"), max_length=127, ) <NEW_LINE> price = models.FloatFie...
Stores price levels.
6259902e6fece00bbaccca0f
class TestenvConfig: <NEW_LINE> <INDENT> def __init__(self, envname, config, factors, reader): <NEW_LINE> <INDENT> self.envname = envname <NEW_LINE> self.config = config <NEW_LINE> self.factors = factors <NEW_LINE> self._reader = reader <NEW_LINE> <DEDENT> def get_envbindir(self): <NEW_LINE> <INDENT> if (sys.platform =...
Testenv Configuration object. In addition to some core attributes/properties this config object holds all per-testenv ini attributes as attributes, see "tox --help-ini" for an overview.
6259902e796e427e5384f7dc
class PlayerState: <NEW_LINE> <INDENT> def __init__(self, world, player_index, cards=[]): <NEW_LINE> <INDENT> self.world = world <NEW_LINE> self.player_index = player_index <NEW_LINE> self.cards = cards.copy() <NEW_LINE> self.world.n_cards[self.player_index] = len(self.cards) <NEW_LINE> <DEDENT> def _add_cards(self, ca...
The current world's state, as viewed by a specific player.
6259902e0a366e3fb87dda48
class PropertiesDifference(Difference): <NEW_LINE> <INDENT> modified_properties = DiffResultDescriptor("diff_properties") <NEW_LINE> def diff_properties(self): <NEW_LINE> <INDENT> self.modified_properties = [] <NEW_LINE> if self.left_policy.handle_unknown != self.right_policy.handle_unknown: <NEW_LINE> <INDENT> self.mo...
Determine the difference in policy properties (unknown permissions, MLS, etc.) between two policies.
6259902ec432627299fa4055