code
stringlengths
4
4.48k
docstring
stringlengths
1
6.45k
_id
stringlengths
24
24
class FundamentalSettingToggleMixin(ClassprefsTooltipMixin): <NEW_LINE> <INDENT> local_setting = None <NEW_LINE> def isChecked(self): <NEW_LINE> <INDENT> return getattr(self.mode.locals, self.local_setting) <NEW_LINE> <DEDENT> def action(self, index=-1, multiplier=1): <NEW_LINE> <INDENT> value = self.isChecked() <NEW_L...
Abstract class used to implement a toggle button for a setting of FundamentalMode.
62598f9f8da39b475be02ffd
class PersonAdmin(TranslatableAdmin): <NEW_LINE> <INDENT> inlines = [LinkInline, ] <NEW_LINE> list_display = [ 'roman_first_name', 'roman_last_name', 'non_roman_first_name_link', 'non_roman_last_name', 'chosen_name', 'gender', 'title', 'role', 'phone', 'email', 'ordering', 'all_translations', ] <NEW_LINE> list_select_r...
Admin for the ``Person`` model.
62598f9f3eb6a72ae038a45f
class ExtraFunction(Function): <NEW_LINE> <INDENT> def __init__(self, cname, prototype, pathfordoc): <NEW_LINE> <INDENT> self.name = cname <NEW_LINE> self.pyname = cname.split('era')[-1].lower() <NEW_LINE> self.filepath, self.filename = os.path.split(pathfordoc) <NEW_LINE> self.prototype = prototype.strip() <NEW_LINE> ...
An "extra" function - e.g. one not following the SOFA/ERFA standard format. Parameters ---------- cname : str The name of the function in C prototype : str The prototype for the function (usually derived from the header) pathfordoc : str The path to a file that contains the prototype, with the documentatio...
62598f9f4f6381625f1993cb
class BudgetFactory(factory.django.DjangoModelFactory): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = Budget <NEW_LINE> <DEDENT> user = factory.SubFactory(UserFactory) <NEW_LINE> name = factory.Faker('word') <NEW_LINE> total_budget = 1000.0
Create budget instance for test purposes
62598f9f45492302aabfc2f4
class TestAbout(object): <NEW_LINE> <INDENT> def test_about_view(self): <NEW_LINE> <INDENT> request = DummyRequest(route='/about') <NEW_LINE> response = about_view(request) <NEW_LINE> assert response <NEW_LINE> assert response["page"] == "aboutpage" <NEW_LINE> assert response["title"] == "About"
This class tests the functionality of the About view.
62598f9f3617ad0b5ee05f6f
class PairedDataset(Dataset): <NEW_LINE> <INDENT> def __init__(self, initial_dataset, number_of_pairs, seed=0): <NEW_LINE> <INDENT> self.initial_dataset = initial_dataset <NEW_LINE> pairs_list = self.initial_dataset.pairs_list <NEW_LINE> np.random.seed(seed) <NEW_LINE> if pairs_list is None: <NEW_LINE> <INDENT> max_idx...
Dataset of pairs for transfer.
62598f9f435de62698e9bc12
class Index(FablePage): <NEW_LINE> <INDENT> def __init__(self, request, response): <NEW_LINE> <INDENT> FablePage.__init__(self, request, response, "index.html")
/index page
62598f9f236d856c2adc9349
class Person(Atom): <NEW_LINE> <INDENT> name = Str() <NEW_LINE> age = Range(low=0) <NEW_LINE> dog = Typed(Dog, ()) <NEW_LINE> def _observe_age(self, change: ChangeDict) -> None: <NEW_LINE> <INDENT> print("Age changed: {0}".format(change["value"])) <NEW_LINE> <DEDENT> @observe("name") <NEW_LINE> def any_name_i_want(self...
A simple class representing a person object.
62598f9f8a43f66fc4bf1f9a
class PacketCaptureListResult(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'value': {'key': 'value', 'type': '[PacketCaptureResult]'}, } <NEW_LINE> def __init__( self, **kwargs ): <NEW_LINE> <INDENT> super(PacketCaptureListResult, self).__init__(**kwargs) <NEW_LINE> self.value = kwargs.get('value...
List of packet capture sessions. :param value: Information about packet capture sessions. :type value: list[~azure.mgmt.network.v2018_12_01.models.PacketCaptureResult]
62598f9fb7558d589546344c
class Code(BaseCode): <NEW_LINE> <INDENT> _type = object.Type(u"Code") <NEW_LINE> __immutable_fields__ = ["_consts[*]", "_bytecode", "_stack_size", "_meta"] <NEW_LINE> def type(self): <NEW_LINE> <INDENT> return Code._type <NEW_LINE> <DEDENT> def __init__(self, name, bytecode, consts, stack_size, debug_points, meta=nil)...
Interpreted code block. Contains consts and
62598f9f4e4d562566372242
class Bars(object): <NEW_LINE> <INDENT> def __init__(self, latest_bars, single_bar=False): <NEW_LINE> <INDENT> self.length = len(latest_bars) <NEW_LINE> if single_bar: <NEW_LINE> <INDENT> self.datetime = latest_bars[-1][0] <NEW_LINE> self.open = latest_bars[-1][1] <NEW_LINE> self.high = latest_bars[-1][2] <NEW_LINE> se...
Object exposed to users to reflect prices on a single or on multiple days.
62598f9f6e29344779b0047a
class FirewallAction: <NEW_LINE> <INDENT> def __init__(self, do_command, undo_command): <NEW_LINE> <INDENT> self.do_command = do_command <NEW_LINE> self.undo_command = undo_command <NEW_LINE> <DEDENT> def __repr__(self): <NEW_LINE> <INDENT> return "{}({!r}, {!r})".format( self.__class__.__name__, self.do_command, self....
FirewallAction encapsulates a ufw command and a means of undoing it.
62598f9f30bbd72246469886
class LSTM(link.Chain): <NEW_LINE> <INDENT> def __init__(self, in_size, out_size): <NEW_LINE> <INDENT> super(LSTM, self).__init__( upward=linear.Linear(in_size, 4 * out_size), lateral=linear.Linear(out_size, 4 * out_size, nobias=True), ) <NEW_LINE> self.state_size = out_size <NEW_LINE> self.reset_state() <NEW_LINE> <DE...
Fully-connected LSTM layer. This is a fully-connected LSTM layer as a chain. Unlike the :func:`~chainer.functions.lstm` function, which is defined as a stateless activation function, this chain holds upward and lateral connections as child links. It also maintains *states*, including the cell state and the output at ...
62598f9f925a0f43d25e7e5b
class atualizaFestaForm(ModelForm): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> model = festa <NEW_LINE> fields = list(set(festa_fields) - set(not_editable_fields))
Formulario para atualizacao de novo evento do tipo festa.
62598f9f85dfad0860cbf984
class Miner(): <NEW_LINE> <INDENT> def __init__(self, parent, uncles, coinbase): <NEW_LINE> <INDENT> self.nonce = 0 <NEW_LINE> ts = max(int(time.time()), parent.timestamp+1) <NEW_LINE> self.block = blocks.Block.init_from_parent(parent, coinbase, timestamp=ts, uncles=[u.list_header() for u in uncles]) <NEW_LINE> self.pr...
Mines on the current head Stores received transactions The process of finalising a block involves four stages: 1) Validate (or, if mining, determine) uncles; 2) validate (or, if mining, determine) transactions; 3) apply rewards; 4) verify (or, if mining, compute a valid) state and nonce.
62598f9f76e4537e8c3ef3d6
class EngineError(LoggableError): <NEW_LINE> <INDENT> pass
Connection or other backend error.
62598f9f3d592f4c4edbaced
class XMLServer(SimpleXMLRPCServer): <NEW_LINE> <INDENT> def __init__(self, *args): <NEW_LINE> <INDENT> SimpleXMLRPCServer.__init__(self, (args[0], args[1])) <NEW_LINE> <DEDENT> def server_bind(self): <NEW_LINE> <INDENT> self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) <NEW_LINE> SimpleXMLRPCServer.ser...
Augmented XML-RPC server class
62598f9fa79ad16197769e84
class ElectraPreTrainedModel(BertPreTrainedModel): <NEW_LINE> <INDENT> config_class = ElectraConfig <NEW_LINE> pretrained_model_archive_map = ELECTRA_PRETRAINED_MODEL_ARCHIVE_MAP <NEW_LINE> load_tf_weights = load_tf_weights_in_electra <NEW_LINE> base_model_prefix = "electra"
An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained models.
62598f9f596a897236127a9b
class ColumnFlagsFlag(Flags): <NEW_LINE> <INDENT> pass
Column flags representation class of groonga
62598f9f7cff6e4e811b5843
class MXNetBackend(Backend): <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> def perform_import_export(graph_proto, input_shape): <NEW_LINE> <INDENT> graph = GraphProto() <NEW_LINE> sym, arg_params, aux_params = graph.from_onnx(graph_proto) <NEW_LINE> params = {} <NEW_LINE> params.update(arg_params) <NEW_LINE> params.upda...
MXNet backend for ONNX
62598f9f462c4b4f79dbb82b
class AppServiceCertificatePatchResource(ProxyOnlyResource): <NEW_LINE> <INDENT> _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, 'provisioning_state': {'readonly': True}, } <NEW_LINE> _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type':...
Key Vault container ARM resource for a certificate that is purchased through Azure. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Resource Id. :vartype id: str :ivar name: Resource Name. :vartype name: str :ivar kind: Kind of resource. :vartype kind: str :ivar type:...
62598f9f009cb60464d01344
class AutoBatchingMixin(object): <NEW_LINE> <INDENT> MIN_IDEAL_BATCH_DURATION = .2 <NEW_LINE> MAX_IDEAL_BATCH_DURATION = 2 <NEW_LINE> _effective_batch_size = 1 <NEW_LINE> _smoothed_batch_duration = 0.0 <NEW_LINE> def compute_batch_size(self): <NEW_LINE> <INDENT> old_batch_size = self._effective_batch_size <NEW_LINE> ba...
A helper class for automagically batching jobs.
62598f9fd7e4931a7ef3beb8
class MainWidget(UiComponent): <NEW_LINE> <INDENT> component_type = "main_widget" <NEW_LINE> instantiate = UiComponent.IMMEDIATELY <NEW_LINE> def information_box(self, message): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> def question_box(self, question, option0, option1, option2): <NEW_LINE> <IND...
Describes the interface that the main widget needs to implement in order to be used by the main controller.
62598f9f24f1403a926857c2
class Image(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.display = None <NEW_LINE> <DEDENT> def show_image(self, image, width, height): <NEW_LINE> <INDENT> size = (width, height) <NEW_LINE> self.display = pygame.display.set_mode(size, 0) <NEW_LINE> self.snapshot = pygame.surface.Surface(siz...
Image object
62598f9f07f4c71912baf26b
class EventViewSet(ListModelMixin, CreateModelMixin, GenericViewSet): <NEW_LINE> <INDENT> permission_classes = (IsAuthenticated, IsEventOwnerOrReadOnly) <NEW_LINE> serializer_class = EventSerializer <NEW_LINE> filter_fields = ('module', 'module_name', 'start_date', 'end_date') <NEW_LINE> search_fields = ('name', 'descr...
Authenticated users can see any event, owners can modify their own event.
62598f9f1f5feb6acb162a42
class SocketError(Error): <NEW_LINE> <INDENT> def __init__(self, message): <NEW_LINE> <INDENT> super().__init__(message, 200)
To be raised when the request was sucessful, but the server was unable to notify one or more of the clients in real time because of some kind of problem concerning messaging via Web Sockets. THE RESPONSE STATUS IS STILL 200
62598f9f7047854f4633f203
@implements_iterator <NEW_LINE> class TemplateStream(object): <NEW_LINE> <INDENT> def __init__(self, gen): <NEW_LINE> <INDENT> self._gen = gen <NEW_LINE> self.disable_buffering() <NEW_LINE> <DEDENT> def dump(self, fp, encoding=None, errors='strict'): <NEW_LINE> <INDENT> close = False <NEW_LINE> if isinstance(fp, string...
A template stream works pretty much like an ordinary python generator but it can buffer multiple items to reduce the number of total iterations. Per default the output is unbuffered which means that for every unbuffered instruction in the template one unicode string is yielded. If buffering is enabled with a buffer si...
62598f9f236d856c2adc934a
class QLearningAgent(ReinforcementAgent): <NEW_LINE> <INDENT> def __init__(self, **args): <NEW_LINE> <INDENT> ReinforcementAgent.__init__(self, **args) <NEW_LINE> self.qvalue = [] <NEW_LINE> <DEDENT> def getQValue(self, state, action): <NEW_LINE> <INDENT> if self.qvalue: <NEW_LINE> <INDENT> for qval in self.qvalue: <NE...
Q-Learning Agent Functions you should fill in: - getQValue - getAction - getValue - getPolicy - update Instance variables you have access to - self.epsilon (exploration prob) - self.alpha (learning rate) - self.gamma (discount rate) Functions you should use - self.getLegalActions(state) whic...
62598f9feab8aa0e5d30bba7
class LVMReader(): <NEW_LINE> <INDENT> def __init__(self, path): <NEW_LINE> <INDENT> self.filename = path.split("/")[-1][:-4] + ".dat" <NEW_LINE> self._raw = list() <NEW_LINE> self.__data = list() <NEW_LINE> with open(path) as lvm: <NEW_LINE> <INDENT> self._raw = lvm.readlines() <NEW_LINE> <DEDENT> self.__clean() <NEW_...
Load *.lvm files exported by LabView Parameters ---------- path: string Location of the file Attributes ---------- filename: string Filename to export to. data: 2D-array The converted and cleaned up data. Every column is a list inside of the data list. transposed: 2D-array The data attribute trans...
62598f9f3539df3088ecc0d5
class CollectGoogleSections(CollectSectionsBase): <NEW_LINE> <INDENT> def __init__(self, *args, **kwargs): <NEW_LINE> <INDENT> super(CollectGoogleSections, self).__init__(*args, **kwargs) <NEW_LINE> self._to_remove = None <NEW_LINE> <DEDENT> def get_handler_name(self, node): <NEW_LINE> <INDENT> if isinstance(node, node...
Transform to collect google-style sections.
62598f9fa17c0f6771d5c05b
class BaseConfigTest(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> from Products.FileSystemStorage.configuration import schema <NEW_LINE> self.schema = schema.fssSchema <NEW_LINE> return
Common resources for testing FSS configuration
62598f9f4a966d76dd5eed02
class Umesimd(CMakePackage): <NEW_LINE> <INDENT> homepage = "https://github.com/edanor/umesimd" <NEW_LINE> url = "https://github.com/edanor/umesimd/archive/v0.8.1.tar.gz" <NEW_LINE> version('0.8.1', sha256='78f457634ee593495083cf8eb6ec1cf7f274db5ff7210c37b3a954f1a712d357') <NEW_LINE> version('0.7.1', sha256='c5377...
UME::SIMD is an explicit vectorization library. The library defines homogeneous interface for accessing functionality of SIMD registers of AVX, AVX2, AVX512 and IMCI (KNCNI, k1om) instruction set.
62598f9f1b99ca400228f43e
class Solution: <NEW_LINE> <INDENT> def climbStairs(self, n): <NEW_LINE> <INDENT> if n == 0: <NEW_LINE> <INDENT> return 0 <NEW_LINE> <DEDENT> dp = [1 for i in range(n + 1)] <NEW_LINE> for i in range(2, n + 1): <NEW_LINE> <INDENT> dp[i] = dp[i - 1] + dp[i - 2] <NEW_LINE> <DEDENT> return dp[-1]
@param n: An integer @return: An integer
62598f9f01c39578d7f12b9f
class MDTabsLabel(ToggleButtonBehavior, Label): <NEW_LINE> <INDENT> text_color_normal = ListProperty((1, 1, 1, 1)) <NEW_LINE> text_color_active = ListProperty((1, 1, 1, 1)) <NEW_LINE> tab = ObjectProperty() <NEW_LINE> tab_bar = ObjectProperty() <NEW_LINE> callback = ObjectProperty() <NEW_LINE> def __init__(self, **kwar...
This class it represent the label of each tab.
62598f9f21bff66bcd722a84
class my_DQPSK_Demod(object): <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): <NEW_LINE> <INDENT> raise AttributeError("No constructor defined") <NEW_LINE> <DEDENT> __repr__ = _swig_repr <NEW_LINE...
Proxy of C++ gr::guyu::my_DQPSK_Demod class.
62598f9f3539df3088ecc0d6
class StockBasic(BaseModel): <NEW_LINE> <INDENT> class Meta: <NEW_LINE> <INDENT> db_table = 'stock_basic' <NEW_LINE> <DEDENT> code = CharField() <NEW_LINE> name = CharField() <NEW_LINE> industry = CharField() <NEW_LINE> area = CharField() <NEW_LINE> pe = DecimalField(max_digits=12, decimal_places=2) <NEW_LINE> outstand...
股票列表
62598f9f5f7d997b871f92f0
class InputRecord(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.primer_info = [] <NEW_LINE> <DEDENT> def __str__(self): <NEW_LINE> <INDENT> output = "" <NEW_LINE> for name, primer1, primer2 in self.primer_info: <NEW_LINE> <INDENT> output += "%s %s %s\n" % (name, primer1, primer2) <NEW_LINE> ...
Represent the input file into the primersearch program. This makes it easy to add primer information and write it out to the simple primer file format.
62598f9f4527f215b58e9d05
class Block(models.Model): <NEW_LINE> <INDENT> name = models.CharField("板块标题", max_length=100) <NEW_LINE> desc = models.CharField("板块描述", max_length=100) <NEW_LINE> manager_name = models.CharField("管理员名字", max_length=100) <NEW_LINE> status = models.IntegerField("状态", choices =((0, "正常"), (-1, "删除"))) <NEW_LINE> def __s...
定义表结构,就是对类进行定义属性
62598f9f0a50d4780f7051fb
class new_LakeShore(Device): <NEW_LINE> <INDENT> input_A = Cpt(EpicsSignal, '{Env:01-Chan:A}T-I') <NEW_LINE> input_A_celsius = Cpt(EpicsSignal, '{Env:01-Chan:A}T:C-I') <NEW_LINE> input_B = Cpt(EpicsSignal, '{Env:01-Chan:B}T-I') <NEW_LINE> input_C = Cpt(EpicsSignal, '{Env:01-Chan:C}T-I') <NEW_LINE> input_D = Cpt(EpicsSi...
Lakeshore is the device reading the temperature from the heating stage for SAXS and GISAXS. This class define the PVs to read and write to control lakeshore :param Device: ophyd device
62598f9f30dc7b766599f66f
class Payment(models.Model): <NEW_LINE> <INDENT> customer = models.ForeignKey("Customer", db_constraint=False) <NEW_LINE> course = models.ForeignKey("Course", verbose_name="所报课程", db_constraint=False) <NEW_LINE> amount = models.PositiveIntegerField(verbose_name="数额", default=500) <NEW_LINE> consultant = models.ForeignK...
交费记录表
62598f9f56ac1b37e630200c
class UPSMultiExporter(UPSExporter): <NEW_LINE> <INDENT> def __init__( self, config, insecure=False, threading=False, verbose=False, login_timeout=3 ): <NEW_LINE> <INDENT> self.logger = create_logger( f"{__name__}.{self.__class__.__name__}", not verbose ) <NEW_LINE> self.insecure = insecure <NEW_LINE> self.threading = ...
Prometheus exporter for multiple UPSs. Collects metrics from multiple UPSs at the same time. If threading is enabled, multiple threads will be used to collect sensor readings which is considerably faster. :param config: str Path to the configuration file, containing UPS ip/hostname, username, and password com...
62598f9f07f4c71912baf26d
class Movie(Video): <NEW_LINE> <INDENT> def __init__(self, object_dict, connector): <NEW_LINE> <INDENT> super().__init__(object_dict, connector) <NEW_LINE> <DEDENT> @property <NEW_LINE> def premiere_date(self): <NEW_LINE> <INDENT> return self.object_dict.get('PremiereDate')
Class representing movie objects Parameters ---------- object_dict : dict same as for `EmbyObject` connector : embypy.utils.connector.Connector same as for `EmbyObject`
62598f9ff548e778e596b3cf
class SFparkAvailabilityRecord(Base): <NEW_LINE> <INDENT> __tablename__ = 'sfpark_avl' <NEW_LINE> id = Column(BigInteger, primary_key=True, autoincrement=True) <NEW_LINE> loc_id = Column(BigInteger, ForeignKey('sfpark_loc.id')) <NEW_LINE> date_id = Column(Integer) <NEW_LINE> availability_updated_timestamp = Column(Date...
Maps the object representation of a single availability (main) record of SFPark data to its representation in a relational database. These will be udpated every minute. A corresponding database, named sfdata, should be available, and contain a table with the following definition: CREATE TABLE sfpark_avl (...
62598f9f498bea3a75a57943
class ProfileTestCase(test.TestCase): <NEW_LINE> <INDENT> def _pre_setup(self): <NEW_LINE> <INDENT> self._original_installed_apps = list(settings.INSTALLED_APPS) <NEW_LINE> settings.INSTALLED_APPS += ('userena.tests.profiles',) <NEW_LINE> loading.cache.loaded = False <NEW_LINE> call_command('syncdb', interactive=False,...
A custom TestCase that loads the profile application for testing purposes
62598f9f7047854f4633f204
class DPTFrequency(DPT4ByteFloat): <NEW_LINE> <INDENT> dpt_main_number = 14 <NEW_LINE> dpt_sub_number = 33 <NEW_LINE> value_type = "frequency" <NEW_LINE> unit = "Hz"
DPT 14.033 DPT_Value_Frequency.
62598f9f090684286d5935eb
class Radius(ContinuousRange): <NEW_LINE> <INDENT> def __init__(self, centre, radius): <NEW_LINE> <INDENT> self._centre = centre <NEW_LINE> self._radius = radius <NEW_LINE> self._start = self._centre - self._radius <NEW_LINE> self._end = self._centre + self._radius
Used to tell proxy methods that a range of values defined by a centre and a radius should be queried for - special case of filter clauses.
62598f9f236d856c2adc934b
class IRCMessage: <NEW_LINE> <INDENT> def __init__(self, command, *args, prefix=None): <NEW_LINE> <INDENT> if command.isdigit(): <NEW_LINE> <INDENT> self.command = NUMERICS.get(command, command) <NEW_LINE> self.numeric = command <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.command = command <NEW_LINE> self.numeri...
IRCMessage A class that abstracts parsing and rendering of IRC messages.
62598f9f63b5f9789fe84f97
class RayleighConfigBaseClass(object): <NEW_LINE> <INDENT> def __init__(self, aerosol_type, atm_type='us-standard'): <NEW_LINE> <INDENT> options = get_config() <NEW_LINE> self.do_download = 'download_from_internet' in options and options['download_from_internet'] <NEW_LINE> self._lutfiles_version_uptodate = False <NEW_...
A base class for the Atmospheric correction, handling the configuration and LUT download.
62598f9f92d797404e388a77
class MergePR(ClusterMethod): <NEW_LINE> <INDENT> def __init__(self, map): <NEW_LINE> <INDENT> in1 = map["$p"] <NEW_LINE> in2 = map["$r"] <NEW_LINE> outvars = set(in1.vars).union(in2.vars) <NEW_LINE> out = Rigid(outvars) <NEW_LINE> self._inputs = [in1, in2] <NEW_LINE> self._outputs = [out] <NEW_LINE> ClusterMethod.__in...
Represents a merging of a one-point cluster with any other rigid The first cluster determines the orientation of the resulting cluster
62598f9f2ae34c7f260aaf02
class ContentLoss(nn.Module): <NEW_LINE> <INDENT> def __init__(self, target, weight): <NEW_LINE> <INDENT> super(ContentLoss, self).__init__() <NEW_LINE> self.target = target.detach() * weight <NEW_LINE> self.weight = weight <NEW_LINE> self.criterion = nn.MSELoss() <NEW_LINE> <DEDENT> def forward(self, input): <NEW_LINE...
Calculate the loss of the content layers
62598f9f7d847024c075c1e8
class RotationTCPServer(socketserver.ThreadingMixIn, socketserver.TCPServer): <NEW_LINE> <INDENT> def __init__( self, server_address, RequestHandlerClass, broadcaster, bind_and_activate=True, ): <NEW_LINE> <INDENT> self.broadcaster = broadcaster <NEW_LINE> socketserver.TCPServer.__init__( self, server_address, RequestH...
TCP server will be in its own thread, and handle TCP connection requests.
62598f9f9c8ee8231304007f
class CustomUser(AbstractBaseUser, PermissionsMixin): <NEW_LINE> <INDENT> uuid = models.CharField(unique=True,auto_created=True,default=uuid.uuid4,editable=False,max_length=50,primary_key=True) <NEW_LINE> email = models.EmailField(_(u'邮箱'), max_length=254, unique=True) <NEW_LINE> username = models.CharField(_(u'用户名'), ...
A fully featured User model with admin-compliant permissions that uses a full-length email field as the username. Email and password are required. Other fields are optional.
62598f9f45492302aabfc2f9
class AxisGenerator(object): <NEW_LINE> <INDENT> LOGGER = logging.getLogger(__name__) <NEW_LINE> @staticmethod <NEW_LINE> def _subdivide_circle(centre, n_lines, random_radius=False): <NEW_LINE> <INDENT> segment_list = [] <NEW_LINE> for i in xrange(0, n_lines): <NEW_LINE> <INDENT> angle = radians(i * (360/n_lines)) <NEW...
Static class with methods to generate DataFrames representing axis
62598f9f97e22403b383ad2e
class TranslationNotFound(BaseError): <NEW_LINE> <INDENT> def __init__(self, val, message='No translation was found using the current translator. Try another translator?'): <NEW_LINE> <INDENT> super(TranslationNotFound, self).__init__(val, message)
exception thrown if no translation was found for the text provided by the user
62598f9f44b2445a339b687e
class Config: <NEW_LINE> <INDENT> pass
The config class
62598f9f3539df3088ecc0d7
class GreaterThanZeroInt( GreaterThanZero ): <NEW_LINE> <INDENT> def __set__( self, inst, value ): <NEW_LINE> <INDENT> super( GreaterThanZeroInt, self ).__set__( inst, int( value ) )
Force value to be a Int
62598f9f32920d7e50bc5e79
class Genetic_Algorithm(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def select_parents(self, population, num_parents): <NEW_LINE> <INDENT> parents_by_fitness = population[0:int(num_parents * cv.PARENTS_BY_FITNESS_PERCENT)] <NEW_LINE> proper_parents = [x for x in popula...
Docstring for Genetic_Algorithm.
62598f9f85dfad0860cbf986
class FUNCKIND(Enum,IComparable,IFormattable,IConvertible): <NEW_LINE> <INDENT> def __eq__(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __format__(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __ge__(self,*args): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def __gt__(self,*args): <NEW_...
Use System.Runtime.InteropServices.ComTypes.FUNCKIND instead. enum FUNCKIND,values: FUNC_DISPATCH (4),FUNC_NONVIRTUAL (2),FUNC_PUREVIRTUAL (1),FUNC_STATIC (3),FUNC_VIRTUAL (0)
62598f9f76e4537e8c3ef3da
class MypyFileItem(MypyItem): <NEW_LINE> <INDENT> def runtest(self): <NEW_LINE> <INDENT> results = MypyResults.from_session(self.session) <NEW_LINE> abspath = os.path.abspath(str(self.fspath)) <NEW_LINE> errors = results.abspath_errors.get(abspath) <NEW_LINE> if errors: <NEW_LINE> <INDENT> raise MypyError(file_error_fo...
A check for Mypy errors in a File.
62598f9f3539df3088ecc0d8
class GrpcRequestLogger(grpc.UnaryUnaryClientInterceptor, grpc.UnaryStreamClientInterceptor): <NEW_LINE> <INDENT> def __init__(self, log_file): <NEW_LINE> <INDENT> self.log_file = log_file <NEW_LINE> with open(self.log_file, 'w') as f: <NEW_LINE> <INDENT> f.write("") <NEW_LINE> <DEDENT> <DEDENT> def log_message(self, m...
Implementation of a gRPC interceptor that logs request to a file
62598fa00c0af96317c561a4
@register_heartbeat_backend <NEW_LINE> @zope.interface.implementer(IHeartbeatBackend) <NEW_LINE> @zope.component.adapter(IClient) <NEW_LINE> class NoOpHeartbeatBackendForClient(_BaseHeartbeatBackend): <NEW_LINE> <INDENT> name = 'noop_heartbeat_backend' <NEW_LINE> async def handle_heartbeat(self, *args): <NEW_LINE> <IND...
No op Heartbeat
62598fa05fdd1c0f98e5ddbc
class Waiter(BaseHandler): <NEW_LINE> <INDENT> def __init__(self, name, matcher, stream=None): <NEW_LINE> <INDENT> BaseHandler.__init__(self, name, matcher, stream=stream) <NEW_LINE> self._payload = queue.Queue() <NEW_LINE> <DEDENT> def prerun(self, payload): <NEW_LINE> <INDENT> self._payload.put(payload) <NEW_LINE> <D...
The Waiter handler allows an event handler to block until a particular stanza has been received. The handler will either be given the matched stanza, or False if the waiter has timed out. Methods: check_delete -- Overrides BaseHandler.check_delete prerun -- Overrides BaseHandler.prerun run -...
62598fa091f36d47f2230db2
class ScreenStitchSession(models.Model): <NEW_LINE> <INDENT> key_name = models.CharField(max_length=32) <NEW_LINE> timestamp = models.DateTimeField(auto_now_add=True) <NEW_LINE> connected = models.BooleanField(default=False)
Bare bones model for a session between a client and a host. This is currently setup to only have one connection, since the connected field is Boolean, its either connected or not. The timestamp can be used to delete old sessions if they don't get deleted when the host disconnects.
62598fa0f7d966606f747e05
class CIMStorageVolume(LogicalDisk, CIMComponent): <NEW_LINE> <INDENT> def getRRDTemplates(self): <NEW_LINE> <INDENT> templates = [] <NEW_LINE> for tname in [self.__class__.__name__]: <NEW_LINE> <INDENT> templ = self.getRRDTemplateByName(tname) <NEW_LINE> if templ: templates.append(templ) <NEW_LINE> <DEDENT> return tem...
StorageVolume object
62598fa04e4d562566372247
class DiskCache(QNetworkDiskCache): <NEW_LINE> <INDENT> def __init__(self, parent=None): <NEW_LINE> <INDENT> super().__init__(parent) <NEW_LINE> cache_dir = standarddir.get(QStandardPaths.CacheLocation) <NEW_LINE> self.setCacheDirectory(os.path.join(cache_dir, 'http')) <NEW_LINE> self.setMaximumCacheSize(config.get('st...
Disk cache which sets correct cache dir and size.
62598fa06fb2d068a7693d46
class Analysis: <NEW_LINE> <INDENT> def __init__(self, minimizer, main_config, mc_config=None): <NEW_LINE> <INDENT> self.config = main_config <NEW_LINE> self.minimizer = minimizer <NEW_LINE> self.mc_config = mc_config <NEW_LINE> pass <NEW_LINE> <DEDENT> def chi2_scan(self): <NEW_LINE> <INDENT> if 'chi2 scan' not in sel...
Vega analysis class. - Compute parameter scan - Create Monte Carlo realizations of the data - Run FastMC analysis
62598fa0e1aae11d1e7ce736
class CornersProblem(search.SearchProblem): <NEW_LINE> <INDENT> def __init__(self, startingGameState): <NEW_LINE> <INDENT> self.walls = startingGameState.getWalls() <NEW_LINE> self.startingPosition = startingGameState.getPacmanPosition() <NEW_LINE> top, right = self.walls.height-2, self.walls.width-2 <NEW_LINE> self.co...
This search problem finds paths through all four corners of a layout. You must select a suitable state space and successor function
62598fa0e76e3b2f99fd885b
class Message: <NEW_LINE> <INDENT> magic: int <NEW_LINE> message_type: MessageType <NEW_LINE> src_id: int <NEW_LINE> local_time: int <NEW_LINE> payload_len: int <NEW_LINE> payload: bytes <NEW_LINE> def __init__(self, msg_type: MessageType, src_id: int, local_time=0, payload=b''): <NEW_LINE> <INDENT> self.magic = MESSAG...
Класс, представляющий сообщение, которыми обмениваются процессы распределённой системы.
62598fa0462c4b4f79dbb82f
class UserCredentials(object): <NEW_LINE> <INDENT> def __init__(self, app_info, user_id, credentials): <NEW_LINE> <INDENT> self.app_info = app_info <NEW_LINE> self.user_id = user_id <NEW_LINE> self._credentials = credentials <NEW_LINE> <DEDENT> def credentials(self): <NEW_LINE> <INDENT> return self._credentials <NEW_LI...
This class holds user_id and credentials (password or OAuth2 tokens). Credentials is a dictionary here.
62598fa0097d151d1a2c0e4c
class ReceiveSMSHandler(BaseHandler): <NEW_LINE> <INDENT> allowed_methods = ('GET',) <NEW_LINE> exclude = ('user',) <NEW_LINE> @throttle(60, 60) <NEW_LINE> def read(self, request): <NEW_LINE> <INDENT> form = forms.ReceivedSMSForm({ 'user': request.user.pk, 'to_msisdn': request.GET.get('r'), 'from_msisdn': request.GET.g...
NOTE: This gateway sends the variables to us via GET instead of POST.
62598fa04428ac0f6e65834f
class funcional_analyzer(object): <NEW_LINE> <INDENT> pass
This class is in charge of parsing given functions and parameters of environment and providing class <environment_properties> with needed input data TODO
62598fa0e64d504609df92ca
class Bcf( Binary): <NEW_LINE> <INDENT> edam_format = "format_3020" <NEW_LINE> edam_data = "data_3498" <NEW_LINE> file_ext = "bcf" <NEW_LINE> MetadataElement( name="bcf_index", desc="BCF Index File", param=metadata.FileParameter, file_ext="csi", readonly=True, no_value=None, visible=False, optional=True ) <NEW_LINE> de...
Class describing a BCF file
62598fa030dc7b766599f671
class DestinyEntitiesItemsDestinyItemSocketsComponent(object): <NEW_LINE> <INDENT> swagger_types = { 'sockets': 'list[DestinyEntitiesItemsDestinyItemSocketState]' } <NEW_LINE> attribute_map = { 'sockets': 'sockets' } <NEW_LINE> def __init__(self, sockets=None): <NEW_LINE> <INDENT> self._sockets = None <NEW_LINE> self.d...
NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
62598fa0d486a94d0ba2bdf9
class dataset: <NEW_LINE> <INDENT> def __init__(self, alias, fullpath, isData, unitsPerJob=1, totalUnits=1, splitting='FileBased', priority=1, inputDBS='global', label='', doHLT=1, doJetFilter=0): <NEW_LINE> <INDENT> self.alias = alias <NEW_LINE> self.fullpath = fullpath <NEW_LINE> self.isData = isData <N...
Simple class to hold information relevant to a given dataset for CRAB jobs. label is unused member that can be used to hold extra information specific to each MultiCRAB config. E.g. dataset("WJetsToLNuInclusive", "/WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/AODSIM", ...
62598fa024f1403a926857c4
class TestSiteObjectDeprecatedFunctions(DefaultSiteTestCase, DeprecationTestCase): <NEW_LINE> <INDENT> cached = True <NEW_LINE> user = True <NEW_LINE> def test_live_version(self): <NEW_LINE> <INDENT> mysite = self.get_site() <NEW_LINE> ver = mysite.live_version() <NEW_LINE> self.assertIsInstance(ver, tuple) <NEW_LINE> ...
Test cases for Site deprecated methods.
62598fa0d268445f26639a95
class Account: <NEW_LINE> <INDENT> def __init__(self, account, password, proxy=None): <NEW_LINE> <INDENT> self.account = account <NEW_LINE> self.password = password <NEW_LINE> self._proxy = proxy <NEW_LINE> self._token = None <NEW_LINE> <DEDENT> def _parse_token(self, response=None): <NEW_LINE> <INDENT> token_url = 'ht...
This class contains methods to do login/logout and check if logged in or not.
62598fa0009cb60464d01349
class FloatField(Field): <NEW_LINE> <INDENT> def __init__(self, name=None, primary_key=False, default=None, ddl='FLOAT'): <NEW_LINE> <INDENT> super().__init__(name, ddl, primary_key, default)
浮点类型
62598fa04e4d562566372248
class Miscellanea(ListTableBase): <NEW_LINE> <INDENT> Columns = [ Column('name', align=QtCore.Qt.AlignLeft, editable=True), Column('mtype', 'Type', align=QtCore.Qt.AlignCenter, editable=True), Column('useFor', editable=True), Column('amount', editable=True), Column('timing.use', editable=True), Column('timing.duration'...
Provides for a list of misc objects, specifically created to aid in parsing Excel database files and display within a QtTableView.
62598fa02c8b7c6e89bd35eb
class StreamUpdate: <NEW_LINE> <INDENT> update_id: UUID <NEW_LINE> update_moment: datetime <NEW_LINE> update_type: StreamUpdateType <NEW_LINE> raw_data: Dict[str, any] <NEW_LINE> def __init__(self, update_moment: datetime, update_type: StreamUpdateType, acct_info: dict = None, symbol: str = None, candle: dict = None, o...
An update from the broker or live data stream, meant to trigger strategy logic.
62598fa03cc13d1c6d465590
class GxWorkspaceFolder(CoClass): <NEW_LINE> <INDENT> _reg_clsid_ = GUID('{A58934AD-0EC4-4B18-9AE3-DE3A7221302B}') <NEW_LINE> _idlflags_ = [] <NEW_LINE> _typelib_path_ = typelib_path <NEW_LINE> _reg_typelib_ = ('{ADC7DE29-DC0B-448E-BBF6-27E4E34CF2EC}', 10, 2)
GxObject that represents a workspace folder.
62598fa0e5267d203ee6b732
class TestStandardCLI(unittest.TestCase): <NEW_LINE> <INDENT> def test_can_call_standard_help(self): <NEW_LINE> <INDENT> command = ['ogo', 'calib', 'standard', '--help'] <NEW_LINE> self.assertTrue(subprocess.check_output(command)) <NEW_LINE> <DEDENT> def test_blank_standard_call_fails(self): <NEW_LINE> <INDENT> command...
Test the ogo command line interface for calib standard
62598fa0a79ad16197769e89
class DeleteItem(EWSAccountService, EWSPooledMixIn): <NEW_LINE> <INDENT> SERVICE_NAME = 'DeleteItem' <NEW_LINE> element_container_name = None <NEW_LINE> def call(self, items, delete_type, send_meeting_cancellations, affected_task_occurrences, suppress_read_receipts): <NEW_LINE> <INDENT> return self._pool_requests(paylo...
Takes a folder and a list of (id, changekey) tuples. Returns result of deletion as a list of tuples (success[True|False], errormessage), in the same order as the input list. MSDN: https://msdn.microsoft.com/en-us/library/office/aa562961(v=exchg.150).aspx
62598fa021a7993f00c65da8
class BonusFire(Bonus): <NEW_LINE> <INDENT> def __init__(self,cube): <NEW_LINE> <INDENT> Bonus.__init__(self,cube) <NEW_LINE> self.color=(1., 0., 0., .7) <NEW_LINE> <DEDENT> def collect(self,player): <NEW_LINE> <INDENT> Bonus.collect(self,player) <NEW_LINE> player.flameStrength+=1
gives the player extra fire strength
62598fa0baa26c4b54d4f0d4
class LaunchdJob(object): <NEW_LINE> <INDENT> def __init__(self, label, pid=-1, laststatus=""): <NEW_LINE> <INDENT> self._label = label <NEW_LINE> if pid != -1: <NEW_LINE> <INDENT> self._pid = pid <NEW_LINE> <DEDENT> if laststatus != "": <NEW_LINE> <INDENT> self._laststatus = laststatus <NEW_LINE> <DEDENT> self._proper...
Class to lazily query the properties of the LaunchdJob when accessed.
62598fa00c0af96317c561a7
class Scte20PlusEmbeddedDestinationSettings(AWSProperty): <NEW_LINE> <INDENT> props: PropsDictType = {}
`Scte20PlusEmbeddedDestinationSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-scte20plusembeddeddestinationsettings.html>`__
62598fa0d58c6744b42dc1e5
class ExceptionHandler(AbstractExceptionHandler): <NEW_LINE> <INDENT> def can_handle(self, handler_input, exception): <NEW_LINE> <INDENT> return True <NEW_LINE> <DEDENT> def handle(self, handler_input, exception): <NEW_LINE> <INDENT> logger.error(exception, exc_info=True) <NEW_LINE> return ( handler_input.response_buil...
Generic error handling to capture any syntax or routing errors. If you receive an error stating the request handler chain is not found, you have not implemented a handler for the intent being invoked or included it in the skill builder below.
62598fa0fbf16365ca793edf
class PasteBlock(Action): <NEW_LINE> <INDENT> def execute(self, instance): <NEW_LINE> <INDENT> pass
Editing->Block->Paste
62598fa07cff6e4e811b5849
class DefaultNodeAssignmentBackend(object): <NEW_LINE> <INDENT> implements(INodeAssignment) <NEW_LINE> def __init__(self, service_entry=None, **kw): <NEW_LINE> <INDENT> self._service_entry = service_entry <NEW_LINE> self._metadata = defaultdict(dict) <NEW_LINE> self._flag = defaultdict(bool) <NEW_LINE> <DEDENT> @proper...
Dead simple NodeAssignment backend always returning the same service entry. This is useful in the case we don't need to deal with multiple services (e.g if someone wants to setup his own tokenserver always using the same node)
62598fa04428ac0f6e658350
class Term(PseudoConst): <NEW_LINE> <INDENT> def __init__(self, a): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.a = a <NEW_LINE> <DEDENT> def return_value(self): <NEW_LINE> <INDENT> if _default_graph.n - self.a >= 0: <NEW_LINE> <INDENT> return(_default_graph.y_true[_default_graph.n - self.a]) <NEW_LINE> <DED...
the output value will be u_n-a a is a positive integer
62598fa01f037a2d8b9e3f0d
class PcapReader(): <NEW_LINE> <INDENT> def __init__(self, filename, link_type=dpkt.pcap.DLT_EN10MB): <NEW_LINE> <INDENT> self.filename = filename <NEW_LINE> self.pcap_reader = None <NEW_LINE> try: <NEW_LINE> <INDENT> f = open(self.filename, "r") <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> logger.error("Could not o...
Very simple class to create a pcap file from a network stream
62598fa0f548e778e596b3d3
class RedisClient(): <NEW_LINE> <INDENT> def __init__(self,type,host=REDIS_HOST,port=REDIS_PORT,password=REDIS_PASSWORD): <NEW_LINE> <INDENT> self.db = redis.StrictRedis(host=host,port=port,password=password) <NEW_LINE> pass <NEW_LINE> <DEDENT> def get(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def set(self): ...
为连接数据库提供封装的方法 
62598fa0656771135c4894a9
class IRequire(Interface): <NEW_LINE> <INDENT> permission = Permission( title=u"Permission ID", description=u"The id of the permission to require.")
Require a permission to access selected module attributes The given permission is required to access any names provided directly in the attributes attribute or any names defined by interfaces listed in the interface attribute.
62598fa0b7558d5895463454
class BuildDefinitionStep(Model): <NEW_LINE> <INDENT> _attribute_map = { 'always_run': {'key': 'alwaysRun', 'type': 'bool'}, 'condition': {'key': 'condition', 'type': 'str'}, 'continue_on_error': {'key': 'continueOnError', 'type': 'bool'}, 'display_name': {'key': 'displayName', 'type': 'str'}, 'enabled': {'key': 'enabl...
BuildDefinitionStep. :param always_run: Indicates whether this step should run even if a previous step fails. :type always_run: bool :param condition: A condition that determines whether this step should run. :type condition: str :param continue_on_error: Indicates whether the phase should continue even if this step f...
62598fa0925a0f43d25e7e63
class CoreV2ServicesModelEdgeRouterHosts(object): <NEW_LINE> <INDENT> openapi_types = { 'edge_router_id': 'str', 'server_egress': 'CoreV2ServicesModelServerEgress' } <NEW_LINE> attribute_map = { 'edge_router_id': 'edgeRouterId', 'server_egress': 'serverEgress' } <NEW_LINE> def __init__(self, edge_router_id=None, server...
NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech Do not edit the class manually.
62598fa0a17c0f6771d5c060
class IssueTracker(object): <NEW_LINE> <INDENT> pass
Parent of all IssueTracker objects.
62598fa0a219f33f346c6640
class Collection(SwordHttpHandler): <NEW_LINE> <INDENT> def GET(self, collection): <NEW_LINE> <INDENT> ssslog.debug("GET on Collection (list collection contents); Incoming HTTP headers: " + str(web.ctx.environ)) <NEW_LINE> try: <NEW_LINE> <INDENT> auth = self.http_basic_authenticate(web) <NEW_LINE> <DEDENT> except Swor...
Handle all requests to SWORD/ATOM Collections (these are the collections listed in the Service Document) - Col-URI
62598fa0442bda511e95c280
class NetChop(object): <NEW_LINE> <INDENT> def predict(self, sequences): <NEW_LINE> <INDENT> with tempfile.NamedTemporaryFile(suffix=".fsa", mode="w") as input_fd: <NEW_LINE> <INDENT> for (i, sequence) in enumerate(sequences): <NEW_LINE> <INDENT> input_fd.write("> %d\n" % i) <NEW_LINE> input_fd.write(sequence) <NEW_LIN...
Wrapper around netChop tool. Assumes netChop is in your PATH.
62598fa0a17c0f6771d5c061
class MaxPool2d(_Pooling2d): <NEW_LINE> <INDENT> def __init__(self, kernel_size, stride, padding=0, dilation=1): <NEW_LINE> <INDENT> super().__init__("Max", kernel_size, stride, padding, dilation) <NEW_LINE> self.args = [kernel_size, stride, padding, dilation] <NEW_LINE> <DEDENT> def set_input(self, input_shape): <NEW_...
2-D max pooling layer. Arguments: kernel_size (int): size of kernel to be used for pooling operation stride (int): stride for the kernel in pooling operations padding (int, optional): padding for the image to handle edges while pooling (default: 0) dilation (int, optional): dilation for the pooling op...
62598fa032920d7e50bc5e7d
class SH1106_SPI(_SH1106): <NEW_LINE> <INDENT> def __init__(self, width, height, spi, dc, reset, cs, *, external_vcc=False, baudrate=8000000, polarity=0, phase=0): <NEW_LINE> <INDENT> self.rate = 10 * 1024 * 1024 <NEW_LINE> dc.switch_to_output(value=0) <NEW_LINE> cs.switch_to_output(value=1) <NEW_LINE> self.spi_bus = s...
SPI class for SH1106 :param width: the width of the physical screen in pixels, :param height: the height of the physical screen in pixels, :param spi: the SPI peripheral to use, :param dc: the data/command pin to use (often labeled "D/C"), :param reset: the reset pin to use, :param cs: the chip-select pin to use (some...
62598fa021bff66bcd722a8a
class install_scripts(_install): <NEW_LINE> <INDENT> description = "Install the Shell Profile (Linux/Unix)" <NEW_LINE> user_options = _install.user_options + [ ('root=', None, "install everything relative to this alternate root directory"), ] <NEW_LINE> boolean_options = _install.boolean_options + ['skip-profile'] <NEW...
Install MySQL Utilities scripts
62598fa056b00c62f0fb26d7