code stringlengths 4 4.48k | docstring stringlengths 1 6.45k | _id stringlengths 24 24 |
|---|---|---|
class ChowGroup_degree_class(SageObject): <NEW_LINE> <INDENT> def __init__(self, A, d): <NEW_LINE> <INDENT> self._Chow_group = A <NEW_LINE> self._degree = d <NEW_LINE> toric_variety = A.scheme() <NEW_LINE> fan = toric_variety.fan() <NEW_LINE> gens = [] <NEW_LINE> for cone in fan(codim=d): <NEW_LINE> <INDENT> gen = A._c... | A fixed-degree subgroup of the Chow group of a toric variety.
.. WARNING::
Use
:meth:`~sage.schemes.toric.chow_group.ChowGroup_class.degree`
to construct :class:`ChowGroup_degree_class` instances.
EXAMPLES::
sage: P2 = toric_varieties.P2()
sage: A = P2.Chow_group()
sage: A
Chow group of ... | 6259908e099cdd3c63676239 |
class SKLearnPerformanceDatasetWrapper(BasePerformanceDatasetWrapper): <NEW_LINE> <INDENT> dataset_map = { SKLearnDatasets.BOSTON: (datasets.load_boston, [FeatureType.CONTINUOUS] * 3 + [FeatureType.NOMINAL] + [FeatureType.CONTINUOUS] * 10), SKLearnDatasets.IRIS: (datasets.load_iris, [FeatureType.CONTINUOUS] * 4 + [Feat... | sklearn Datasets | 6259908e283ffb24f3cf551f |
class LongRunningActor(ThreadedGeneratorActor): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(LongRunningActor, self).__init__() <NEW_LINE> self.result = 0 <NEW_LINE> <DEDENT> def loop(self): <NEW_LINE> <INDENT> while self.processing: <NEW_LINE> <INDENT> self.result += 1 <NEW_LINE> if self.parent is... | LongRunningActor
| 6259908e3617ad0b5ee07dd0 |
class ESubsamplingLayerCalculating(cnn.common.ELayerException): <NEW_LINE> <INDENT> def get_base_msg(self): <NEW_LINE> <INDENT> base_msg = 'Outputs of subsampling layer cannot be calculated!' <NEW_LINE> layer_str = self.get_layer_id_as_string() <NEW_LINE> if len(layer_str) > 0: <NEW_LINE> <INDENT> base_msg = 'Outputs o... | Ошибка генерируется в случае, если данные (входные карты), поданные на вход слоя
подвыборки, некорректны, т.е. не соответствуют по своей структуре этому слою подвыборки. | 6259908ebe7bc26dc9252c95 |
class Config(BaseConfig): <NEW_LINE> <INDENT> name = "Transformer" <NEW_LINE> embedding_dim = 100 <NEW_LINE> seq_length = 120 <NEW_LINE> num_classes = 10 <NEW_LINE> vocab_size = 8000 <NEW_LINE> num_units = 100 <NEW_LINE> ffn_dim = 2048 <NEW_LINE> num_heads = 4 <NEW_LINE> dropout_keep_prob = 0.8 <NEW_LINE> learning_rate... | Transformer配置文件 | 6259908e283ffb24f3cf5520 |
class TestGeneratingServiceList(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.temp_dir = tempfile.TemporaryDirectory() <NEW_LINE> self.controlfile = join(self.temp_dir.name, 'Controlfile') <NEW_LINE> self.conf = { "services": { "foo": { "image": "busybox", "container": { "name": "foo... | Make sure that the service list is generated correctly, when a
metaservice exists | 6259908ebf627c535bcb3153 |
class CompactTrieClusteringResult(Result): <NEW_LINE> <INDENT> def __init__(self, taskId, chromosome): <NEW_LINE> <INDENT> Result.__init__(self, taskId) <NEW_LINE> self.chromosome = chromosome | Class for giving clustering results and fitness | 6259908e4a966d76dd5f0b66 |
class InstanceTypeField(serializers.Field): <NEW_LINE> <INDENT> def to_representation(self, obj): <NEW_LINE> <INDENT> return obj.name.lower() | Serialize django content type field from a generic relation to string. | 6259908e5fc7496912d490ab |
class QArkClickableLabel( QtGui.QLabel ): <NEW_LINE> <INDENT> clicked = QtCore.pyqtSignal() <NEW_LINE> def __init__( self , parent=None ): <NEW_LINE> <INDENT> super( QArkClickableLabel, self).__init__( parent ) <NEW_LINE> <DEDENT> def mouseReleaseEvent(self, ev): <NEW_LINE> <INDENT> print( 'clicked' ) <NEW_LINE> self.c... | A clickable label widget | 6259908ebf627c535bcb3155 |
class MultiMap(Dict): <NEW_LINE> <INDENT> def update(self, other=None, **kwargs): <NEW_LINE> <INDENT> if other is not None and hasattr(other, 'keys'): <NEW_LINE> <INDENT> for key in other: <NEW_LINE> <INDENT> self[key] = other[key] <NEW_LINE> <DEDENT> <DEDENT> elif other is not None and hasattr(other, '__iter__'): <NEW... | A :class:`MultiMap` is a generalization of a :const:`dict` type in which
more than one value may be associated with and returned for a given key | 6259908eec188e330fdfa532 |
class EmailIdentity(AbstractModel): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.IdentityName = None <NEW_LINE> self.IdentityType = None <NEW_LINE> self.SendingEnabled = None <NEW_LINE> <DEDENT> def _deserialize(self, params): <NEW_LINE> <INDENT> self.IdentityName = params.get("IdentityName") <NEW_L... | 发信域名验证列表结构体
| 6259908ebe7bc26dc9252c97 |
class WidgetsListener: <NEW_LINE> <INDENT> def on_get(self, req, res): <NEW_LINE> <INDENT> name = req.get_param("name") <NEW_LINE> widget_type = req.get_param("type") <NEW_LINE> size = req.get_param("size") <NEW_LINE> limit = req.get_param_as_int("limit") or 10 <NEW_LINE> skip = req.get_param_as_int("skip") or 0 <NEW_L... | A `widgets` listener | 6259908e8a349b6b43687ee3 |
class Session(object): <NEW_LINE> <INDENT> def __init__(self, url, uid, pwd, verify_ssl=False): <NEW_LINE> <INDENT> if 'https://' in url: <NEW_LINE> <INDENT> self.ipaddr = url[len('https://'):] <NEW_LINE> <DEDENT> else: <NEW_LINE> <INDENT> self.ipaddr = url[len('http://'):] <NEW_LINE> <DEDENT> self.uid = uid <NEW_LINE>... | Session class
This class is responsible for all communication with the APIC. | 6259908ef9cc0f698b1c610d |
class PostProcess(nn.Module): <NEW_LINE> <INDENT> @torch.no_grad() <NEW_LINE> def forward(self, outputs, target_sizes): <NEW_LINE> <INDENT> out_logits, out_bbox = outputs["pred_logits"], outputs["pred_boxes"] <NEW_LINE> assert len(out_logits) == len(target_sizes) <NEW_LINE> assert target_sizes.shape[1] == 2 <NEW_LINE> ... | This module converts the model's output into the format expected by the coco api | 6259908e4c3428357761bf3f |
class MnemonicsManeuverTable(SelfControlManeuverTable): <NEW_LINE> <INDENT> def __init__(self, **kwargs): <NEW_LINE> <INDENT> trace.entry() <NEW_LINE> super().__init__(**kwargs) <NEW_LINE> self.weeks_past = IntVar() <NEW_LINE> self.carefully_learned = IntVar() <NEW_LINE> self.pc_impact = IntVar() <NEW_LINE> trace.exit(... | Mnemonics static maneuver table.
Methods:
setup_maneuver_skill_frames(self, parent_frame)
skill_type_bonus(self) | 6259908ead47b63b2c5a94d5 |
class CjdnsClientPublicKeySerializer(JsonObjectSerializer): <NEW_LINE> <INDENT> model = CjdnsClientPublicKey <NEW_LINE> properties = [ 'client_public_key', ] | Serialize a Person. | 6259908ebf627c535bcb3157 |
class Solver(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self._constraints = [] <NEW_LINE> self._deps = {} <NEW_LINE> <DEDENT> def add(self, c): <NEW_LINE> <INDENT> self._constraints.append(c) <NEW_LINE> for d in c.variables: <NEW_LINE> <INDENT> if d in self._deps: <NEW_LINE> <INDENT> deps = se... | Constraint solver.
:Attributes:
_constraints
List of constraints.
_dep
Dependencies between constraints. | 6259908ed8ef3951e32c8c9f |
class ResolutionError(RuntimeError): <NEW_LINE> <INDENT> pass | Raised when crawling resulted in unexpected results.
e.g. multiple titles, empty bodies, etc. | 6259908e97e22403b383cb7c |
class MeasureFiberProfileConfig(Config): <NEW_LINE> <INDENT> buildFiberTraces = ConfigurableField(target=BuildFiberTracesTask, doc="Build fiber traces") <NEW_LINE> rejIter = Field(dtype=int, default=3, doc="Number of rejection iterations for collapsing the profile") <NEW_LINE> rejThresh = Field(dtype=float, default=3.0... | Configuration for MeasureFiberProfileTask | 6259908e26068e7796d4e5c8 |
class LambdaQuoter(Quoter): <NEW_LINE> <INDENT> options = Quoter.options.add( func = None, prefix = Prohibited, suffix = Prohibited, pair = Prohibited, ) <NEW_LINE> def _interpret_args(self, args): <NEW_LINE> <INDENT> if args: <NEW_LINE> <INDENT> self.options.addflat(args, ['func']) <NEW_LINE> <DEDENT> <DEDENT> def... | A Quoter that uses code to decide what quotes to use, based on the value. | 6259908ebf627c535bcb3159 |
class LazyWavelet(tfp.bijectors.Bijector): <NEW_LINE> <INDENT> def __init__(self, validate_args=False, name="lazy_wavelet"): <NEW_LINE> <INDENT> super().__init__( validate_args=validate_args, forward_min_event_ndims=1, name=name) <NEW_LINE> <DEDENT> def _forward(self, x): <NEW_LINE> <INDENT> x_evens = x[0::2] <NEW_LINE... | This layer corresponds to the downsampling step of a single-step wavelet transform.
Input to _forward: 1D tensor of even length.
Output of _forward: Two stacked 1D tensors of the form [[even x componenents], [odd x components]]
See https://uk.mathworks.com/help/wavelet/ug/lifting-method-for-constructing-wavelets.html
f... | 6259908e50812a4eaa621a09 |
class Vector(ValuePacket): <NEW_LINE> <INDENT> _fields_ = ("scalar_count","value") <NEW_LINE> @classmethod <NEW_LINE> def from_stream(cls, stream, scalar_type, offset=None, decoder=None): <NEW_LINE> <INDENT> if offset is not None: <NEW_LINE> <INDENT> stream.seek(offset, SEEK_SET) <NEW_LINE> <DEDENT> else: <NEW_LINE> <I... | Represents the value from a VT_VECTOR packet.
.. attribute:: scalar_count
The number of elements in the vector.
.. attribute:: value
A list of elements in the vector. | 6259908e3346ee7daa3384a5 |
class MakeRecord(): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.players = [] <NEW_LINE> self.game_history = [] <NEW_LINE> <DEDENT> def add_player(self, player_obj): <NEW_LINE> <INDENT> if player_obj.choose_pawn_delegate is None: <NEW_LINE> <INDENT> is_computer = True <NEW_LINE> <DEDENT> else: <NEW_... | save game data
as a nested list which is
saved with pickle | 6259908e60cbc95b06365bab |
class Net: <NEW_LINE> <INDENT> def __init__(self, source: Cell = None, sinks: Cell = None, num=-1): <NEW_LINE> <INDENT> if sinks is None: <NEW_LINE> <INDENT> sinks = [] <NEW_LINE> <DEDENT> self.source = source <NEW_LINE> self.sinks = sinks <NEW_LINE> self.wireCells = [] <NEW_LINE> self.congestedCells = [] <NEW_LINE> se... | A collection of cells | 6259908e3617ad0b5ee07dd8 |
class AjaxItemPasteHandler(BaseHandler): <NEW_LINE> <INDENT> @addslash <NEW_LINE> @session <NEW_LINE> @authenticated <NEW_LINE> def post(self, eid): <NEW_LINE> <INDENT> uid = self.SESSION['uid'] <NEW_LINE> vid = self.get_argument('vid', None) <NEW_LINE> e = Item() <NEW_LINE> r = e._api.copy(eid, **{'vid':vid, 'vtype':u... | ajax方式粘贴作品
| 6259908e3617ad0b5ee07dda |
class EtatTelefrag(Etat): <NEW_LINE> <INDENT> def __init__(self, nom, debDans, duree, nomSort, lanceur=None, desc=""): <NEW_LINE> <INDENT> self.nomSort = nomSort <NEW_LINE> super().__init__(nom, debDans, duree, lanceur, desc) <NEW_LINE> <DEDENT> def __deepcopy__(self, memo): <NEW_LINE> <INDENT> return EtatTelefrag(self... | @summary: Classe décrivant un état Téléfrag. | 6259908ef9cc0f698b1c6110 |
class TestStr(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.board = Board(2, 2) <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> self.board = None <NEW_LINE> <DEDENT> def testStr(self): <NEW_LINE> <INDENT> result = self.board.__str__() <NEW_LINE> self.assertEqual(result, '... | Test behaviour of __str__ function. | 6259908ed8ef3951e32c8ca2 |
class D_Dt_Fast_numpy: <NEW_LINE> <INDENT> def __init__(self, tSym, dimSyms, dimAxes, eqD, t_dep_FD, state_dep_FD, bForceStateDimensions = False, dtype=np.complex128): <NEW_LINE> <INDENT> state_dep_syms = list(state_dep_FD.keys()) <NEW_LINE> t_dep_syms = list(t_dep_FD.keys()) <NEW_LINE> indep_syms = t_dep_syms + state_... | attributes:
* dimAxes
* state_shape
* Npars
* flatten
* unflatten
* d_dt | 6259908e099cdd3c6367623f |
class GoldenRatioStrategy(DiscoveryStrategy): <NEW_LINE> <INDENT> def __init__(self, overlay, golden_ratio=9 / 16, target_peers=23): <NEW_LINE> <INDENT> super().__init__(overlay) <NEW_LINE> self.golden_ratio = golden_ratio <NEW_LINE> self.target_peers = target_peers <NEW_LINE> self.intro_sent = {} <NEW_LINE> assert tar... | Strategy for removing peers once we have too many in the TunnelCommunity.
This strategy will remove a "normal" peer if the current ratio of "normal" peers to exit node peers is larger
than the set golden ratio.
This strategy will remove an exit peer if the current ratio of "normal" peers to exit node peers is smaller ... | 6259908e656771135c48ae76 |
class AnacondaDoc(sublime_plugin.TextCommand): <NEW_LINE> <INDENT> documentation = None <NEW_LINE> def run(self, edit): <NEW_LINE> <INDENT> if self.documentation is None: <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> location = self.view.rowcol(self.view.sel()[0].begin()) <NEW_LINE> if self.view.substr(self.view.sel()[0... | Jedi get documentation string for Sublime Text
| 6259908e283ffb24f3cf552b |
class PiopioUserManager(BaseUserManager): <NEW_LINE> <INDENT> def create(self, email, username, password, profile, **extra_fields): <NEW_LINE> <INDENT> if not email: <NEW_LINE> <INDENT> raise ValueError('Email address is required.') <NEW_LINE> <DEDENT> if not username: <NEW_LINE> <INDENT> raise ValueError('Username is ... | Custom user model manager where email is the unique identifiers
for authentication instead of usernames. | 6259908eec188e330fdfa53a |
class PingChecker(threading.Thread): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.setDaemon(True) <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> message = {'type': RequestTypes.PING} <NEW_LINE> error_manager = ErrorManager(__name__, 10) <NEW_LINE> while True: <N... | Continuously sends pings to the RPI. If the RPI cannot be reached
for some reasons, alert the user. The goal is to catch network problems
as soon as possible. | 6259908e55399d3f0562819f |
class triangle(): <NEW_LINE> <INDENT> def __init__(self,angle1,angle2,angle3): <NEW_LINE> <INDENT> self.angle_1 = angle1 <NEW_LINE> self.angle_2 = angle2 <NEW_LINE> self.angle_3 = angle3 <NEW_LINE> self.number_of_sides = 3 <NEW_LINE> <DEDENT> def check_angles(self): <NEW_LINE> <INDENT> print("no_of ... | The triangle class checks angles to verify it. | 6259908e8a349b6b43687eeb |
class AutoscalingPolicyQueueBasedScalingCloudPubSub(_messages.Message): <NEW_LINE> <INDENT> subscription = _messages.StringField(1) <NEW_LINE> topic = _messages.StringField(2) | Configuration parameters for scaling based on Cloud Pub/Sub subscription
queue.
Fields:
subscription: Cloud Pub/Sub subscription used for scaling. Provide the
partial URL (starting with projects/) or just the subscription name. The
subscription must be assigned to the topic specified in topicName and
mus... | 6259908e26068e7796d4e5ce |
class MAVLink_nav_filter_bias_message(MAVLink_message): <NEW_LINE> <INDENT> id = MAVLINK_MSG_ID_NAV_FILTER_BIAS <NEW_LINE> name = 'NAV_FILTER_BIAS' <NEW_LINE> fieldnames = ['usec', 'accel_0', 'accel_1', 'accel_2', 'gyro_0', 'gyro_1', 'gyro_2'] <NEW_LINE> ordered_fieldnames = [ 'usec', 'accel_0', 'accel_1', 'accel_2', '... | Accelerometer and Gyro biases from the navigation filter | 6259908e5fc7496912d490b1 |
class Config(object): <NEW_LINE> <INDENT> def __getattr__(self, name): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> return app.config.get(name) <NEW_LINE> <DEDENT> except: <NEW_LINE> <INDENT> return getattr(eve, name) | Helper class used trorough the code to access configuration settings.
If the main flaskapp object is not instantiated yet, returns the default
setting in the eve __init__.py module, otherwise returns the flaskapp
config value (which value might override the static defaults). | 6259908e5fdd1c0f98e5fc04 |
class TestLiuEtAl2006NSRC(unittest.TestCase): <NEW_LINE> <INDENT> pass | #TODO: implement test | 6259908e8a349b6b43687eed |
class BMUFParamServer(BaseParamServer): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(BMUFParamServer, self).__init__() <NEW_LINE> self._grad_momentum = None <NEW_LINE> <DEDENT> def update(self, local_params): <NEW_LINE> <INDENT> params = list() <NEW_LINE> for local in local_params: <NEW_LINE> <INDE... | Block-wise Model Update Filtering ParamServer
see https://www.microsoft.com/en-us/research/wp-content/uploads/2016/08/0005880.pdf | 6259908e283ffb24f3cf552e |
class CompositionConfig(VegaLiteSchema): <NEW_LINE> <INDENT> _schema = {'$ref': '#/definitions/CompositionConfig'} <NEW_LINE> def __init__(self, columns=Undefined, spacing=Undefined, **kwds): <NEW_LINE> <INDENT> super(CompositionConfig, self).__init__(columns=columns, spacing=spacing, **kwds) | CompositionConfig schema wrapper
Mapping(required=[])
Attributes
----------
columns : float
The number of columns to include in the view composition layout.
**Default value** : ``undefined`` -- An infinite number of columns (a single row)
will be assumed. This is equivalent to ``hconcat`` (for ``concat`... | 6259908e7cff6e4e811b76d0 |
@pytest.mark.slow <NEW_LINE> @pytest.mark.contract <NEW_LINE> class TestBigmap: <NEW_LINE> <INDENT> def test_bigmap(self, client): <NEW_LINE> <INDENT> contract = path.join(MACROS_CONTRACT_PATH, 'big_map_mem.tz') <NEW_LINE> init_with_transfer( client, contract, '(Pair { Elt 1 Unit ; Elt 2 Unit ; Elt 3 Unit } Unit)', 100... | Tests on the big_map_mem contract. | 6259908ed8ef3951e32c8ca4 |
class CheckCollections(Application): <NEW_LINE> <INDENT> def __init__(self, paramdict = None): <NEW_LINE> <INDENT> self.collections = [] <NEW_LINE> super(CheckCollections, self).__init__( paramdict ) <NEW_LINE> if not self.version: <NEW_LINE> <INDENT> self.version = 'HEAD' <NEW_LINE> <DEDENT> self._modulename = "CheckC... | Helper to check collection
Example:
>>> check = OverlayInput()
>>> check.setInputFile( [slcioFile_1.slcio , slcioFile_2.slcio , slcioFile_3.slcio] )
>>> check.setCollections( ["some_collection_name"] ) | 6259908e7cff6e4e811b76d2 |
class FullNameGenerator(generators.FirstNameGenerator, generators.LastNameGenerator): <NEW_LINE> <INDENT> def __init__(self, gender=None): <NEW_LINE> <INDENT> self.gender = gender <NEW_LINE> self.all = self.male + self.female <NEW_LINE> <DEDENT> def generate(self): <NEW_LINE> <INDENT> if self.gender == 'm': <NEW_LINE> ... | Generates a full_name of the form 'fname lname' | 6259908ead47b63b2c5a94e1 |
@dataclass <NEW_LINE> class Account: <NEW_LINE> <INDENT> id: str <NEW_LINE> name: str <NEW_LINE> type: str <NEW_LINE> on_budget: bool <NEW_LINE> closed: bool <NEW_LINE> note: str <NEW_LINE> balance: int <NEW_LINE> cleared_balance: int <NEW_LINE> uncleared_balance: int <NEW_LINE> transfer_payee_id: str <NEW_LINE> delete... | Data Class to represent Account data returned by YNAB API | 6259908ed8ef3951e32c8ca5 |
class UserViewSet(viewsets.ModelViewSet): <NEW_LINE> <INDENT> queryset = User.objects.all().order_by('-date_joined') <NEW_LINE> serializer_class = UserSerializer | API endpoint that allows users tobe viewed or edited. | 6259908e099cdd3c63676242 |
class TestCal(): <NEW_LINE> <INDENT> @pytest.mark.parametrize(('a'), cfg['add']) <NEW_LINE> @pytest.mark.dependency() <NEW_LINE> def test_add(self, a, start_message): <NEW_LINE> <INDENT> assert a[2] == cal.add(a[0], a[1]) <NEW_LINE> <DEDENT> '''减法用例''' <NEW_LINE> @pytest.mark.parametrize(('a'), cfg['cut']) <NEW_LINE> @... | 加法用例 | 6259908e55399d3f056281a5 |
class JSONComponentView(AbstractIssuerAPIEndpoint): <NEW_LINE> <INDENT> permission_classes = (permissions.AllowAny,) <NEW_LINE> def get(self, request, slug): <NEW_LINE> <INDENT> try: <NEW_LINE> <INDENT> current_object = self.model.objects.get(slug=slug) <NEW_LINE> <DEDENT> except self.model.DoesNotExist: <NEW_LINE> <IN... | Abstract Component Class | 6259908e8a349b6b43687ef1 |
class Alert(Html): <NEW_LINE> <INDENT> INFO = 'info' <NEW_LINE> SUCCESS = 'success' <NEW_LINE> WARNING = 'warning' <NEW_LINE> DANGER = 'danger' <NEW_LINE> tag = 'div' <NEW_LINE> color_class = 'alert alert-{color}' <NEW_LINE> def __init__(self, html, alert='success', no_margin=False, **options): <NEW_LINE> <INDENT> opti... | Bootstrap alert | 6259908ef9cc0f698b1c6114 |
class ClientHandler(SocketListener): <NEW_LINE> <INDENT> def __init__(self, server, socket, id, encoder): <NEW_LINE> <INDENT> SocketListener.__init__(self, encoder) <NEW_LINE> self.server = server <NEW_LINE> self.id = id <NEW_LINE> lockable_attrs(self, socket = socket ) <NEW_LINE> socket.setblocking(False) <NEW_LINE> <... | A client handler which handles messages from a single client
on the server. After constructing, "start" method should be invoked
to begin ClientHandler running in its own thread. | 6259908f5fdd1c0f98e5fc0a |
class INumericCounter(INumericValue): <NEW_LINE> <INDENT> pass | A counter that can be incremented. Conflicts are resolved by
merging the numeric value of the difference in magnitude of
changes. Intended to be used for monotonically increasing
counters, typically integers. | 6259908fd8ef3951e32c8ca7 |
class IC_7410(Base_14pin): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.pins = [None, 0, 0, 0, 0, 0, None, 0, None, 0, 0, 0, None, 0, 0] <NEW_LINE> <DEDENT> def run(self): <NEW_LINE> <INDENT> output = {} <NEW_LINE> output[12] = NAND(self.pins[1], self.pins[2], self.pins[13]).output() <NEW_LINE> outp... | This is a Triple 3 input NAND gate IC
Pin Number Description
1 A Input Gate 1
2 B Input Gate 1
3 A Input Gate 2
4 B Input Gate 2
5 C Input gate 2
6 Y Output Gate 2
7 Ground
8 Y Output Gate 3
9 A Input Case 3
10 B Input ... | 6259908fa05bb46b3848bf6f |
class Line(Shape): <NEW_LINE> <INDENT> DEFAULTS = LINE_DEFAULTS <NEW_LINE> def __init__(self, start, end): <NEW_LINE> <INDENT> self.start = start <NEW_LINE> self.end = end <NEW_LINE> self.color = Line.DEFAULTS['color'] <NEW_LINE> self.thicknesss = Line.DEFAULTS['thickness'] <NEW_LINE> super().__init__() <NEW_LINE> <DED... | A Line has Points for its start and end.
Options allow it to have: xxx. | 6259908f656771135c48ae7b |
class Conotate(Annotate): <NEW_LINE> <INDENT> def __init__(self, definition, *args, **kws): <NEW_LINE> <INDENT> definition = coroutine(definition) <NEW_LINE> super().__init__(definition, *args, **kws) | annotation that is defined as a coroutine | 6259908f3346ee7daa3384ac |
class ContactView(FormView): <NEW_LINE> <INDENT> SUCCESS_MESSAGE = "Votre question a bien été transmise à l'administrateur du site." <NEW_LINE> form_class = ContactForm <NEW_LINE> success_url = '/contact' <NEW_LINE> template_name = 'referendum/contact.html' <NEW_LINE> def get_form(self, form_class=None): <NEW_LINE> <IN... | A contact form view | 6259908fec188e330fdfa544 |
class HTTPConfiguration(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'method': {'key': 'method', 'type': 'str'}, 'headers': {'key': 'headers', 'type': '[HTTPHeader]'}, 'valid_status_codes': {'key': 'validStatusCodes', 'type': '[int]'}, } <NEW_LINE> def __init__( self, **kwargs ): <NEW_LINE> <INDE... | HTTP configuration of the connectivity check.
:param method: HTTP method. Possible values include: "Get".
:type method: str or ~azure.mgmt.network.v2021_02_01.models.HTTPMethod
:param headers: List of HTTP headers.
:type headers: list[~azure.mgmt.network.v2021_02_01.models.HTTPHeader]
:param valid_status_codes: Valid ... | 6259908ff9cc0f698b1c6116 |
class CallbackMap(EventMap): <NEW_LINE> <INDENT> def get_callbacks(self, event_key): <NEW_LINE> <INDENT> if event_key not in self._callback_lut: <NEW_LINE> <INDENT> return [] <NEW_LINE> <DEDENT> return self._callback_lut[event_key] | An event decorator that maps events to callbacks.
Example use:
>>> class Foo(object):
>>> cmap = CallbackMap()
>>> @emap('foo', 'bar')
>>> def foo_or_bar(*args):
>>> print 'foo_or_bar called with args', repr(args)
>>> def handle(self, event_name):
>>> for cb in self.cmap.get_callbacks(... | 6259908f283ffb24f3cf5536 |
class _TensorSpecCodec(object): <NEW_LINE> <INDENT> def can_encode(self, pyobj): <NEW_LINE> <INDENT> return isinstance(pyobj, tensor_spec.TensorSpec) <NEW_LINE> <DEDENT> def do_encode(self, tensor_spec_value, encode_fn): <NEW_LINE> <INDENT> encoded_tensor_spec = struct_pb2.StructuredValue() <NEW_LINE> encoded_tensor_sp... | Codec for `TensorSpec`. | 6259908fad47b63b2c5a94e7 |
class Function: <NEW_LINE> <INDENT> def __init__(self, args, body): <NEW_LINE> <INDENT> raise NotImplementedError <NEW_LINE> <DEDENT> def evaluate(self, scope): <NEW_LINE> <INDENT> raise NotImplementedError | Function - представляет функцию в программе.
Функция - второй тип поддерживаемый языком.
Функции можно передавать в другие функции,
и возвращать из функций.
Функция состоит из тела и списка имен аргументов.
Тело функции это список выражений,
т. е. у каждого из них есть метод evaluate.
Во время вычисления функции (мето... | 6259908f50812a4eaa621a11 |
class IMEXSerializer(object): <NEW_LINE> <INDENT> type_name = None <NEW_LINE> type_slug = None <NEW_LINE> type_mime = None <NEW_LINE> type_ext = None | (De)Serialize base class for import/export modules
Each serializer must implement at least one of the following methods:
- `serialize(self, **kwargs)`
- `deserialize(self, **kwargs)` | 6259908fa05bb46b3848bf70 |
class PlaneTracker(Tracker): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> p1 = Draft.get3DView().getPoint((100,100)) <NEW_LINE> p2 = Draft.get3DView().getPoint((110,100)) <NEW_LINE> bl = (p2.sub(p1)).Length * (Draft.getParam("snapRange")/2) <NEW_LINE> pick = coin.SoPickStyle() <NEW_LINE> pick.style.setVa... | A working plane tracker | 6259908f283ffb24f3cf5537 |
class OrganizationField(DummyField): <NEW_LINE> <INDENT> replacements = { '_name': (models.CharField, {'max_length':255, 'null':True}), '_adr': (AddressField, {}), } | A field for representing an organization.
Creating an OrganizationField named 'organization', for example, will (under the hood) create two fields:
* ``pharmacy_name``, the name of the organization
* ``organization_adr``, the address at which the organization is located (an :py:class:`~indivo.fields.AddressField`)
W... | 6259908f3617ad0b5ee07de8 |
class AddMemberAction(BaseRequestHandler): <NEW_LINE> <INDENT> def post(self): <NEW_LINE> <INDENT> slide_set = SlideSet.get(self.request.get('list')) <NEW_LINE> email = self.request.get('email') <NEW_LINE> if not slide_set or not email: <NEW_LINE> <INDENT> self.error(403) <NEW_LINE> return <NEW_LINE> <DEDENT> if not sl... | Adds a new User to a SlideSet ACL. | 6259908f8a349b6b43687ef7 |
class DecimatePro(FilterBase): <NEW_LINE> <INDENT> __version__ = 0 <NEW_LINE> filter = Instance(tvtk.DecimatePro, args=(), allow_none=False, record=True) <NEW_LINE> input_info = PipelineInfo(datasets=['poly_data'], attribute_types=['any'], attributes=['any']) <NEW_LINE> output_info = PipelineInfo(datasets=['poly_data']... | Reduces the number of triangles in a mesh using the
tvtk.DecimatePro class. | 6259908f283ffb24f3cf5538 |
class PreAuthSecondaryTransactionAllOf(object): <NEW_LINE> <INDENT> openapi_types = { 'transaction_amount': 'Amount', 'decremental_flag': 'bool' } <NEW_LINE> attribute_map = { 'transaction_amount': 'transactionAmount', 'decremental_flag': 'decrementalFlag' } <NEW_LINE> def __init__(self, transaction_amount=None, decrem... | NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually. | 6259908f4c3428357761bf53 |
class AdminBuildTestCase(unittest.TestCase): <NEW_LINE> <INDENT> def setUp(self): <NEW_LINE> <INDENT> self.version_info = 'Python 2.7.8' <NEW_LINE> self.version_prefix = 'Python' <NEW_LINE> <DEDENT> def tearDown(self): <NEW_LINE> <INDENT> pass <NEW_LINE> <DEDENT> def test_decode_version(self): <NEW_LINE> <INDENT> v = b... | Test Case of admin.build module.
| 6259908fbf627c535bcb316b |
class GecosAccessData(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.url = '' <NEW_LINE> self.login = '' <NEW_LINE> self.password = '' <NEW_LINE> <DEDENT> def get_url(self): <NEW_LINE> <INDENT> return self.__url <NEW_LINE> <DEDENT> def get_login(self): <NEW_LINE> <INDENT> return self.__login ... | DTO object that represents the data to access a GECOS CC. | 6259908fdc8b845886d55251 |
class GrandLodgeDeposit(users.Model): <NEW_LINE> <INDENT> payer = models.ForeignKey( users.Affiliation, verbose_name=_('payer'), related_name='grand_lodge_deposits', related_query_name='grand_lodge_deposit', on_delete=models.PROTECT, db_index=True ) <NEW_LINE> amount = models.DecimalField( _('amount'), max_digits=12, d... | A `payer` deposits money directly to the Grand Lodge's bank account.
Need to confirm it has been properly accredited by both the bank and the GL. | 6259908f7cff6e4e811b76dc |
class OperationListResult(msrest.serialization.Model): <NEW_LINE> <INDENT> _attribute_map = { 'value': {'key': 'value', 'type': '[Operation]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } <NEW_LINE> def __init__( self, *, value: Optional[List["Operation"]] = None, next_link: Optional[str] = None, **kwargs ): <NE... | Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.
:ivar value: List of Microsoft.Resources operations.
:vartype value: list[~azure.mgmt.resource.resources.v2021_01_01.models.Operation]
:ivar next_link: URL to get the next set o... | 6259908f099cdd3c63676247 |
class BlogView(APIView): <NEW_LINE> <INDENT> def get(self,request): <NEW_LINE> <INDENT> blogs = Blog.objects.all() <NEW_LINE> serializer = BlogSerializer(blogs, many=True) <NEW_LINE> return Response(serializer.data) <NEW_LINE> <DEDENT> def post(self,request): <NEW_LINE> <INDENT> request.data['slug'] = slugify(request.d... | API to list all the blogs saved in the application and to create a new blog. | 6259908f656771135c48ae7e |
class InstanciaAdministrativa(models.Model): <NEW_LINE> <INDENT> nombre = models.CharField(max_length=100) <NEW_LINE> publicar = models.BooleanField(default=False) <NEW_LINE> def __str__(self): <NEW_LINE> <INDENT> return self.nombre <NEW_LINE> <DEDENT> class Meta: <NEW_LINE> <INDENT> ordering = ['nombre', ] <NEW_LINE> ... | Este modelo controla las instancias administrativas para luego poder
referenciar los teléfonos, correos, etc. de las localidades de las IEU | 6259908f5fdd1c0f98e5fc12 |
class ArithmeticError(Exception): <NEW_LINE> <INDENT> pass | Raised by arithmetic_eval() on errors in the evaluated expression. | 6259908f97e22403b383cb92 |
class HasCouplingVars(object): <NEW_LINE> <INDENT> def __init__(self,parent): <NEW_LINE> <INDENT> self._parent = parent <NEW_LINE> self._couples = ordereddict.OrderedDict() <NEW_LINE> <DEDENT> def add_coupling_var(self,indep_dep,name=None,start=None): <NEW_LINE> <INDENT> indep,dep = indep_dep <NEW_LINE> expr_indep = Co... | This class provides an implementation of the IHasCouplingVar interface.
parent: Assembly
Assembly object that this object belongs to. | 6259908f55399d3f056281af |
class BackAction(Action): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(BackAction, self).__init__("system::back") <NEW_LINE> <DEDENT> def call(self, context): <NEW_LINE> <INDENT> context.popStack() <NEW_LINE> context.popStack() | BACK | 6259908f26068e7796d4e5de |
class PerfilResponse(object): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> self.swagger_types = { 'id': 'int', 'nome': 'str' } <NEW_LINE> self.attribute_map = { 'id': 'id', 'nome': 'nome' } <NEW_LINE> self._id = None <NEW_LINE> self._nome = None <NEW_LINE> <DEDENT> @property <NEW_LINE> def id(self): <NEW... | NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. | 6259908fbf627c535bcb316f |
class SailtrailSitemap(Sitemap): <NEW_LINE> <INDENT> priority = 0.5 <NEW_LINE> protocol = 'https' | Base sitemap settings | 6259908fd8ef3951e32c8cab |
class ApiViewsTest(APITestCase): <NEW_LINE> <INDENT> fixtures = ["trek"] <NEW_LINE> def build_random_url(self, query_params=None): <NEW_LINE> <INDENT> url = f'http://testserver{reverse("website:random")}' <NEW_LINE> if query_params: <NEW_LINE> <INDENT> url = ( url + "?" + "&".join([f"{key}={value}" for key, value in qu... | API views test case. | 6259908f97e22403b383cb94 |
class ParameterGroupingPostOptionalParameters(Model): <NEW_LINE> <INDENT> def __init__(self, custom_header=None, query=30, **kwargs): <NEW_LINE> <INDENT> self.custom_header = custom_header <NEW_LINE> self.query = query | Additional parameters for the postOptional operation.
:param custom_header:
:type custom_header: str
:param query: Query parameter with default. Default value: 30 .
:type query: int | 6259908fbe7bc26dc9252ca4 |
class ComparativeIssues(Comparison): <NEW_LINE> <INDENT> def gather_items_by_key(self, items): <NEW_LINE> <INDENT> result = {} <NEW_LINE> for ai in items: <NEW_LINE> <INDENT> text = ai.message.text <NEW_LINE> m = re.match('^(.+) at (.+):[0-9]+$', text) <NEW_LINE> if m: <NEW_LINE> <INDENT> text = m.group(1) <NEW_LINE> ... | Comparison of a pair of lists of AnalysisIssue : what's new, what's
fixed, etc | 6259908f7cff6e4e811b76e0 |
class df_Imputer(TransformerMixin): <NEW_LINE> <INDENT> def __init__(self, strategy='mean', missing_values=np.NaN, fill_value=None): <NEW_LINE> <INDENT> self.strategy = strategy <NEW_LINE> self.missing_values = missing_values <NEW_LINE> self.fill_value = fill_value <NEW_LINE> self.imp = None <NEW_LINE> self.statistics_... | Imputation transformer for completing missing values
Parameters
----------
strategy: str (default='mean')
-- 'mean'
-- 'median'
-- 'most_frequent'
-- 'constant'
fill_value: str of num (default=None)
missing_values: number, string, np.nan (default) or None
---------- | 6259908fbf627c535bcb3171 |
class change_simulation_line(models.TransientModel): <NEW_LINE> <INDENT> _name = 'change.simulation.line' <NEW_LINE> _description = 'Change product and quantity of a simulation line' <NEW_LINE> def _get_product_id(self): <NEW_LINE> <INDENT> line_id = self.env['simulation.line'].browse(self.env.context['active_id']) <NE... | Change product and quantity of a simulation line | 6259908fd8ef3951e32c8cac |
class EntryCreate(generics.CreateAPIView): <NEW_LINE> <INDENT> serializer_class = EntrySerializer | Create entry | 6259908f283ffb24f3cf553f |
class INV401KBAL(Aggregate): <NEW_LINE> <INDENT> cashbal = Decimal() <NEW_LINE> pretax = Decimal() <NEW_LINE> aftertax = Decimal() <NEW_LINE> match = Decimal() <NEW_LINE> profitsharing = Decimal() <NEW_LINE> rollover = Decimal() <NEW_LINE> othervest = Decimal() <NEW_LINE> othernonvest = Decimal() <NEW_LINE> total = Dec... | OFX section 13.9.2.9 | 6259908fec188e330fdfa550 |
class Sun2PointInTimeSensor(Sun2Sensor): <NEW_LINE> <INDENT> def __init__(self, hass, sensor_type, icon): <NEW_LINE> <INDENT> super().__init__(hass, sensor_type, icon, 'civil') <NEW_LINE> <DEDENT> @property <NEW_LINE> def device_class(self): <NEW_LINE> <INDENT> return DEVICE_CLASS_TIMESTAMP <NEW_LINE> <DEDENT> def _upd... | Sun2 Point in Time Sensor. | 6259908f97e22403b383cb99 |
class AddTag(TagCommand): <NEW_LINE> <INDENT> SYNOPSIS = (None, 'tag/add', 'tag/add', '<tag>') <NEW_LINE> ORDER = ('Tagging', 0) <NEW_LINE> SPLIT_ARG = False <NEW_LINE> HTTP_CALLABLE = ('POST', ) <NEW_LINE> HTTP_POST_VARS = { 'name': 'tag name', 'slug': 'tag slug', 'icon': 'tag icon', 'label': 'display as label in sear... | Create a new tag | 6259908fbf627c535bcb3175 |
class GLADEncoder_global_local_no_rnn_v2(nn.Module): <NEW_LINE> <INDENT> def __init__(self, din, dhid, slots, dropout=None): <NEW_LINE> <INDENT> super().__init__() <NEW_LINE> self.dropout = dropout or {} <NEW_LINE> self.global_selfattn = SelfAttention_transformer_v2(2 * dhid, dropout=self.dropout.get('selfattn', 0.)) <... | the GLAD encoder described in https://arxiv.org/abs/1805.09655. | 6259908fd8ef3951e32c8cae |
class SlimtaError(Exception): <NEW_LINE> <INDENT> pass | The base exception for all custom errors in :mod:`slimta`. | 6259908f656771135c48ae82 |
class TestTxtStatussMessages(unittest.TestCase): <NEW_LINE> <INDENT> def test_valid_messages(self): <NEW_LINE> <INDENT> for message_file in glob.glob("../status/*-OK-*.txt"): <NEW_LINE> <INDENT> with open(message_file) as message: <NEW_LINE> <INDENT> for header in message.readlines(): <NEW_LINE> <INDENT> try: <NEW_LINE... | Test the conformance of Status message test vectors. | 6259908f7cff6e4e811b76e7 |
class DataGenerator(keras.utils.Sequence): <NEW_LINE> <INDENT> def __init__(self, list_IDs, labels, filepaths, cache=True, shuffle=True): <NEW_LINE> <INDENT> self.labels = labels <NEW_LINE> self.filepaths = filepaths <NEW_LINE> self.list_IDs = list_IDs <NEW_LINE> self.shuffle = shuffle <NEW_LINE> self.cache = cache <NE... | Generates data for Keras | 6259908fad47b63b2c5a94f5 |
class UserCreate(generics.CreateAPIView): <NEW_LINE> <INDENT> serializer_class = UserSerializer <NEW_LINE> authentication_classes = () <NEW_LINE> permission_classes = () | Create a User | 6259908f099cdd3c6367624c |
class Arrangement: <NEW_LINE> <INDENT> @staticmethod <NEW_LINE> async def async_save(connection: iterm2.connection.Connection, name: str): <NEW_LINE> <INDENT> result = await iterm2.rpc.async_save_arrangement(connection, name) <NEW_LINE> status = result.saved_arrangement_response.status <NEW_LINE> if status != iterm2.ap... | Provides access to saved arrangements. | 6259908f5fdd1c0f98e5fc1e |
class Room(BaseModel): <NEW_LINE> <INDENT> schema = RoomSchema() <NEW_LINE> fields = ( ('_id', None), ('room_name', None), ('members', []), ('created', BaseModel.default_current_time), ('is_active', True), ) <NEW_LINE> def __str__(self) -> str: <NEW_LINE> <INDENT> instance_id = None <NEW_LINE> if hasattr(self, "_id"): ... | Room for manipulation in code | 6259908f4a966d76dd5f0b8c |
class UserChangeForm(forms.ModelForm): <NEW_LINE> <INDENT> password = ReadOnlyPasswordHashField() <NEW_LINE> class Meta: <NEW_LINE> <INDENT> model = MyUser <NEW_LINE> fields = ('email', 'password', 'nick_name','real_name','work','sex','height','weight','phone_num', 'is_active', 'is_admin') <NEW_LINE> <DEDENT> def clean... | A form for updating users. Includes all the fields on
the user, but replaces the password field with admin's
password hash display field. | 6259908fd8ef3951e32c8cb1 |
class TotalUUXSlayer(tf.keras.layers.Layer): <NEW_LINE> <INDENT> def __init__(self): <NEW_LINE> <INDENT> super(TotalUUXSlayer, self).__init__(dtype='float64') <NEW_LINE> self.F = BHDVCS() <NEW_LINE> <DEDENT> def call(self, inputs): <NEW_LINE> <INDENT> return self.F.TotalUUXS(inputs[:, :8], inputs[:, 8], inputs[:, 9], i... | class for incorporating TotalUUXS function into tensorflow layer | 6259908f656771135c48ae85 |
class loggedException(Exception): <NEW_LINE> <INDENT> pass | Raised after an exception has been caught and logged in a checking class, allowing execution to fall back to the loop over files. | 6259908ff9cc0f698b1c6120 |
class WeChatButtonError(Exception): <NEW_LINE> <INDENT> pass | An wechat button error occurred. | 6259908f656771135c48ae86 |
class Not(object): <NEW_LINE> <INDENT> def __init__(self, argument): <NEW_LINE> <INDENT> self.argument = argument | Negation | 6259908fadb09d7d5dc0c205 |
class Backlight(enum.Enum): <NEW_LINE> <INDENT> ON = 'on' <NEW_LINE> OFF = 'off' <NEW_LINE> TOGGLE = 'toggle' <NEW_LINE> OPEN = 'open' <NEW_LINE> BLINK = 'blink' <NEW_LINE> FLASH = 'flash' | Enumeration listing all possible backlight settings that can be
set as an value for the -backlight argument | 6259908f283ffb24f3cf554b |
class NumArray: <NEW_LINE> <INDENT> def __init__(self, nums: List[int]): <NEW_LINE> <INDENT> self.nums = [0]*len(nums) <NEW_LINE> self.tree = [0]*(len(nums)+1) <NEW_LINE> for i, num in enumerate(nums): <NEW_LINE> <INDENT> self.update(i, num) <NEW_LINE> <DEDENT> <DEDENT> def update(self, i: int, val: int) -> None: <NEW_... | Binary Index Tree | 6259908f97e22403b383cba3 |
class Package: <NEW_LINE> <INDENT> def __init__(self, name): <NEW_LINE> <INDENT> assert isinstance(name, str) <NEW_LINE> for tag in _tags: <NEW_LINE> <INDENT> if tag.attr_type is list and tag.name in ["build_requires", "requires", "conflicts", "obsoletes", "provides"]: <NEW_LINE> <INDENT> setattr(self, tag.name, tag.at... | Represents a single package in a RPM spec file.
Each spec file describes at least one package and can contain one or more subpackages (described
by the %package directive). For example, consider following spec file::
Name: foo
Version: 0.1
%description
%{name} is the library that eve... | 6259908f8a349b6b43687f0b |
class Max(nn.Module): <NEW_LINE> <INDENT> def __init__(self, axis=-1, keepdims=False): <NEW_LINE> <INDENT> self.axis = axis <NEW_LINE> self.keepdims = keepdims <NEW_LINE> super().__init__() <NEW_LINE> <DEDENT> def __call__(self, x, seq_len=None): <NEW_LINE> <INDENT> if seq_len is not None: <NEW_LINE> <INDENT> mask = co... | >>> seq_axis = 1
>>> x = torch.cumsum(torch.ones((3,7,4)), dim=seq_axis)
>>> Max(axis=seq_axis)(x, seq_len=[4,5,6]) | 6259908fa05bb46b3848bf7b |
class sale_confirm(osv.osv_memory): <NEW_LINE> <INDENT> _name = "sale.confirm" <NEW_LINE> _description = "Confirm the selected quotations" <NEW_LINE> def sale_confirm(self, cr, uid, ids, context=None): <NEW_LINE> <INDENT> wf_service = netsvc.LocalService('workflow') <NEW_LINE> if context is None: <NEW_LINE> <INDENT> co... | This wizard will confirm the all the selected draft quotation | 6259908f3617ad0b5ee07dfe |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.