body stringlengths 26 98.2k | body_hash int64 -9,222,864,604,528,158,000 9,221,803,474B | docstring stringlengths 1 16.8k | path stringlengths 5 230 | name stringlengths 1 96 | repository_name stringlengths 7 89 | lang stringclasses 1
value | body_without_docstring stringlengths 20 98.2k |
|---|---|---|---|---|---|---|---|
@api_view(['GET'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated])
def get_active_user(request):
'\n Endpoint for getting the active user\n through the authtoken\n '
return Response(UserSerializer(request.user, context={'is_public_view': False}).data, status=status.HT... | -7,766,746,519,056,333,000 | Endpoint for getting the active user
through the authtoken | server/ahj_app/views_users.py | get_active_user | SunSpecOrangeButton/ahj-registry | python | @api_view(['GET'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated])
def get_active_user(request):
'\n Endpoint for getting the active user\n through the authtoken\n '
return Response(UserSerializer(request.user, context={'is_public_view': False}).data, status=status.HT... |
@api_view(['GET'])
def get_single_user(request, username):
'\n Function view for getting a single user with the specified Username = username\n '
context = {'is_public_view': True}
if ((request.auth is not None) and (request.user.Username == username)):
context['is_public_view'] = False
tr... | -1,989,491,119,875,037,400 | Function view for getting a single user with the specified Username = username | server/ahj_app/views_users.py | get_single_user | SunSpecOrangeButton/ahj-registry | python | @api_view(['GET'])
def get_single_user(request, username):
'\n \n '
context = {'is_public_view': True}
if ((request.auth is not None) and (request.user.Username == username)):
context['is_public_view'] = False
try:
user = User.objects.get(Username=username)
return Response(... |
@api_view(['POST'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated])
def user_update(request):
'\n Update the user profile associated with the requesting user.\n '
changeable_user_fields = {'Username', 'PersonalBio', 'URL', 'CompanyAffiliation'}
changeable_contact_fie... | 3,068,872,904,561,566,000 | Update the user profile associated with the requesting user. | server/ahj_app/views_users.py | user_update | SunSpecOrangeButton/ahj-registry | python | @api_view(['POST'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated])
def user_update(request):
'\n \n '
changeable_user_fields = {'Username', 'PersonalBio', 'URL', 'CompanyAffiliation'}
changeable_contact_fields = {'FirstName', 'LastName', 'URL', 'WorkPhone', 'Preferr... |
@api_view(['POST'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated, IsSuperuser])
def set_ahj_maintainer(request):
'\n View to assign a user as a data maintainer of an AHJ\n Expects a Username and a the primary key of an AHJ (AHJPK)\n '
try:
username = request.... | -1,984,510,763,303,905,800 | View to assign a user as a data maintainer of an AHJ
Expects a Username and a the primary key of an AHJ (AHJPK) | server/ahj_app/views_users.py | set_ahj_maintainer | SunSpecOrangeButton/ahj-registry | python | @api_view(['POST'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated, IsSuperuser])
def set_ahj_maintainer(request):
'\n View to assign a user as a data maintainer of an AHJ\n Expects a Username and a the primary key of an AHJ (AHJPK)\n '
try:
username = request.... |
@api_view(['POST'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated, IsSuperuser])
def remove_ahj_maintainer(request):
"\n View to revoke a user as a data maintainer of an AHJ\n Expects a user's webpage token and a the primary key of an AHJ (AHJPK)\n "
try:
user... | 2,412,252,387,613,865,500 | View to revoke a user as a data maintainer of an AHJ
Expects a user's webpage token and a the primary key of an AHJ (AHJPK) | server/ahj_app/views_users.py | remove_ahj_maintainer | SunSpecOrangeButton/ahj-registry | python | @api_view(['POST'])
@authentication_classes([WebpageTokenAuth])
@permission_classes([IsAuthenticated, IsSuperuser])
def remove_ahj_maintainer(request):
"\n View to revoke a user as a data maintainer of an AHJ\n Expects a user's webpage token and a the primary key of an AHJ (AHJPK)\n "
try:
user... |
def get_share(device_name: Optional[str]=None, name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetShareResult:
'\n Represents a share on the Data Box Edge/Gateway device.\n\n\n :param str device_name: The device name.\n :param str n... | 6,460,495,586,124,756,000 | Represents a share on the Data Box Edge/Gateway device.
:param str device_name: The device name.
:param str name: The share name.
:param str resource_group_name: The resource group name. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | get_share | polivbr/pulumi-azure-native | python | def get_share(device_name: Optional[str]=None, name: Optional[str]=None, resource_group_name: Optional[str]=None, opts: Optional[pulumi.InvokeOptions]=None) -> AwaitableGetShareResult:
'\n Represents a share on the Data Box Edge/Gateway device.\n\n\n :param str device_name: The device name.\n :param str n... |
@property
@pulumi.getter(name='accessProtocol')
def access_protocol(self) -> str:
'\n Access protocol to be used by the share.\n '
return pulumi.get(self, 'access_protocol') | 2,964,460,217,738,999,000 | Access protocol to be used by the share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | access_protocol | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='accessProtocol')
def access_protocol(self) -> str:
'\n \n '
return pulumi.get(self, 'access_protocol') |
@property
@pulumi.getter(name='azureContainerInfo')
def azure_container_info(self) -> Optional['outputs.AzureContainerInfoResponse']:
'\n Azure container mapping for the share.\n '
return pulumi.get(self, 'azure_container_info') | -5,994,602,275,513,422,000 | Azure container mapping for the share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | azure_container_info | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='azureContainerInfo')
def azure_container_info(self) -> Optional['outputs.AzureContainerInfoResponse']:
'\n \n '
return pulumi.get(self, 'azure_container_info') |
@property
@pulumi.getter(name='clientAccessRights')
def client_access_rights(self) -> Optional[Sequence['outputs.ClientAccessRightResponse']]:
'\n List of IP addresses and corresponding access rights on the share(required for NFS protocol).\n '
return pulumi.get(self, 'client_access_rights') | 1,452,515,564,736,675,600 | List of IP addresses and corresponding access rights on the share(required for NFS protocol). | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | client_access_rights | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='clientAccessRights')
def client_access_rights(self) -> Optional[Sequence['outputs.ClientAccessRightResponse']]:
'\n \n '
return pulumi.get(self, 'client_access_rights') |
@property
@pulumi.getter(name='dataPolicy')
def data_policy(self) -> Optional[str]:
'\n Data policy of the share.\n '
return pulumi.get(self, 'data_policy') | -8,355,152,545,751,391,000 | Data policy of the share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | data_policy | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='dataPolicy')
def data_policy(self) -> Optional[str]:
'\n \n '
return pulumi.get(self, 'data_policy') |
@property
@pulumi.getter
def description(self) -> Optional[str]:
'\n Description for the share.\n '
return pulumi.get(self, 'description') | -5,914,884,994,194,841,000 | Description for the share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | description | polivbr/pulumi-azure-native | python | @property
@pulumi.getter
def description(self) -> Optional[str]:
'\n \n '
return pulumi.get(self, 'description') |
@property
@pulumi.getter
def id(self) -> str:
'\n The path ID that uniquely identifies the object.\n '
return pulumi.get(self, 'id') | -6,771,754,533,231,907,000 | The path ID that uniquely identifies the object. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | id | polivbr/pulumi-azure-native | python | @property
@pulumi.getter
def id(self) -> str:
'\n \n '
return pulumi.get(self, 'id') |
@property
@pulumi.getter(name='monitoringStatus')
def monitoring_status(self) -> str:
'\n Current monitoring status of the share.\n '
return pulumi.get(self, 'monitoring_status') | 710,137,425,693,497,500 | Current monitoring status of the share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | monitoring_status | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='monitoringStatus')
def monitoring_status(self) -> str:
'\n \n '
return pulumi.get(self, 'monitoring_status') |
@property
@pulumi.getter
def name(self) -> str:
'\n The object name.\n '
return pulumi.get(self, 'name') | -7,796,363,731,564,207,000 | The object name. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | name | polivbr/pulumi-azure-native | python | @property
@pulumi.getter
def name(self) -> str:
'\n \n '
return pulumi.get(self, 'name') |
@property
@pulumi.getter(name='refreshDetails')
def refresh_details(self) -> Optional['outputs.RefreshDetailsResponse']:
'\n Details of the refresh job on this share.\n '
return pulumi.get(self, 'refresh_details') | -6,870,771,254,184,336,000 | Details of the refresh job on this share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | refresh_details | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='refreshDetails')
def refresh_details(self) -> Optional['outputs.RefreshDetailsResponse']:
'\n \n '
return pulumi.get(self, 'refresh_details') |
@property
@pulumi.getter(name='shareMappings')
def share_mappings(self) -> Sequence['outputs.MountPointMapResponse']:
'\n Share mount point to the role.\n '
return pulumi.get(self, 'share_mappings') | 8,111,864,302,100,247,000 | Share mount point to the role. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | share_mappings | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='shareMappings')
def share_mappings(self) -> Sequence['outputs.MountPointMapResponse']:
'\n \n '
return pulumi.get(self, 'share_mappings') |
@property
@pulumi.getter(name='shareStatus')
def share_status(self) -> str:
'\n Current status of the share.\n '
return pulumi.get(self, 'share_status') | 3,913,237,950,887,486,500 | Current status of the share. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | share_status | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='shareStatus')
def share_status(self) -> str:
'\n \n '
return pulumi.get(self, 'share_status') |
@property
@pulumi.getter(name='systemData')
def system_data(self) -> 'outputs.SystemDataResponse':
'\n Share on ASE device\n '
return pulumi.get(self, 'system_data') | 8,427,296,142,996,478,000 | Share on ASE device | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | system_data | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='systemData')
def system_data(self) -> 'outputs.SystemDataResponse':
'\n \n '
return pulumi.get(self, 'system_data') |
@property
@pulumi.getter
def type(self) -> str:
'\n The hierarchical type of the object.\n '
return pulumi.get(self, 'type') | 4,356,878,507,110,328,300 | The hierarchical type of the object. | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | type | polivbr/pulumi-azure-native | python | @property
@pulumi.getter
def type(self) -> str:
'\n \n '
return pulumi.get(self, 'type') |
@property
@pulumi.getter(name='userAccessRights')
def user_access_rights(self) -> Optional[Sequence['outputs.UserAccessRightResponse']]:
'\n Mapping of users and corresponding access rights on the share (required for SMB protocol).\n '
return pulumi.get(self, 'user_access_rights') | -2,172,776,223,717,982,500 | Mapping of users and corresponding access rights on the share (required for SMB protocol). | sdk/python/pulumi_azure_native/databoxedge/v20201201/get_share.py | user_access_rights | polivbr/pulumi-azure-native | python | @property
@pulumi.getter(name='userAccessRights')
def user_access_rights(self) -> Optional[Sequence['outputs.UserAccessRightResponse']]:
'\n \n '
return pulumi.get(self, 'user_access_rights') |
def run_read_bin_and_llc_conversion_test(llc_grid_dir, llc_lons_fname='XC.data', llc_hfacc_fname='hFacC.data', llc=90, llc_grid_filetype='>f', make_plots=False):
"\n\n Runs test on the read_bin_llc and llc_conversion routines\n\n\n Parameters\n ----------\n llc_grid_dir : string\n A string with t... | -878,859,158,311,475,200 | Runs test on the read_bin_llc and llc_conversion routines
Parameters
----------
llc_grid_dir : string
A string with the directory of the binary file to open
llc_lons_fname : string
A string with the name of the XC grid file [XC.data]
llc_hfacc_fname : string
A string with the name of the hfacC grid fil... | ecco_v4_py/test_llc_array_loading_and_conversion.py | run_read_bin_and_llc_conversion_test | cpatrizio88/ECCO_tools | python | def run_read_bin_and_llc_conversion_test(llc_grid_dir, llc_lons_fname='XC.data', llc_hfacc_fname='hFacC.data', llc=90, llc_grid_filetype='>f', make_plots=False):
"\n\n Runs test on the read_bin_llc and llc_conversion routines\n\n\n Parameters\n ----------\n llc_grid_dir : string\n A string with t... |
def _luong_local_compute_attention(attention_mechanism, cell_output, attention_state, attention_layer):
'Computes the attention and alignments for the Luong style local attention mechanism.'
(alignments, next_attention_state) = attention_mechanism(cell_output, state=attention_state)
expanded_alignments = tf... | 8,026,928,542,167,554,000 | Computes the attention and alignments for the Luong style local attention mechanism. | tacotron/attention.py | _luong_local_compute_attention | yweweler/single-speaker-tts | python | def _luong_local_compute_attention(attention_mechanism, cell_output, attention_state, attention_layer):
(alignments, next_attention_state) = attention_mechanism(cell_output, state=attention_state)
expanded_alignments = tf.expand_dims(alignments, 1)
context_windows = []
padded_alignment_windows = []... |
def _luong_dot_score(query, keys, scale):
'\n Implements the Luong-style dot scoring function.\n\n This attention has two forms. The first is standard Luong attention, as described in:\n\n Minh-Thang Luong, Hieu Pham, Christopher D. Manning.\n "Effective Approaches to Attention-based Neural Machine Tran... | 251,927,839,366,065,730 | Implements the Luong-style dot scoring function.
This attention has two forms. The first is standard Luong attention, as described in:
Minh-Thang Luong, Hieu Pham, Christopher D. Manning.
"Effective Approaches to Attention-based Neural Machine Translation."
EMNLP 2015. https://arxiv.org/abs/1508.04025
The second is... | tacotron/attention.py | _luong_dot_score | yweweler/single-speaker-tts | python | def _luong_dot_score(query, keys, scale):
'\n Implements the Luong-style dot scoring function.\n\n This attention has two forms. The first is standard Luong attention, as described in:\n\n Minh-Thang Luong, Hieu Pham, Christopher D. Manning.\n "Effective Approaches to Attention-based Neural Machine Tran... |
def _luong_general_score(query, keys):
'\n Implements the Luong-style general scoring function.\n\n - See [1]: Effective Approaches to Attention-based Neural Machine Translation,\n http://arxiv.org/abs/1508.04025\n\n Arguments:\n query (tf.Tensor):\n Decoder cell outputs to compare... | 2,815,417,935,326,689,000 | Implements the Luong-style general scoring function.
- See [1]: Effective Approaches to Attention-based Neural Machine Translation,
http://arxiv.org/abs/1508.04025
Arguments:
query (tf.Tensor):
Decoder cell outputs to compare to the keys (memory).
The shape is expected to be shape=(B, num_unit... | tacotron/attention.py | _luong_general_score | yweweler/single-speaker-tts | python | def _luong_general_score(query, keys):
'\n Implements the Luong-style general scoring function.\n\n - See [1]: Effective Approaches to Attention-based Neural Machine Translation,\n http://arxiv.org/abs/1508.04025\n\n Arguments:\n query (tf.Tensor):\n Decoder cell outputs to compare... |
def _luong_concat_score(query, keys):
'\n Implements the Luong-style concat scoring function.\n\n - See [1]: Effective Approaches to Attention-based Neural Machine Translation,\n http://arxiv.org/abs/1508.04025\n\n Arguments:\n query (tf.Tensor):\n Decoder cell outputs to compare t... | -6,214,638,660,231,750,000 | Implements the Luong-style concat scoring function.
- See [1]: Effective Approaches to Attention-based Neural Machine Translation,
http://arxiv.org/abs/1508.04025
Arguments:
query (tf.Tensor):
Decoder cell outputs to compare to the keys (memory).
The shape is expected to be shape=(B, num_units... | tacotron/attention.py | _luong_concat_score | yweweler/single-speaker-tts | python | def _luong_concat_score(query, keys):
'\n Implements the Luong-style concat scoring function.\n\n - See [1]: Effective Approaches to Attention-based Neural Machine Translation,\n http://arxiv.org/abs/1508.04025\n\n Arguments:\n query (tf.Tensor):\n Decoder cell outputs to compare t... |
def __init__(self, num_units, memory, const_batch_size, memory_sequence_length=None, scale=False, probability_fn=None, score_mask_value=None, dtype=None, name='LocalLuongAttention', d=10, attention_mode=AttentionMode.MONOTONIC, score_mode=AttentionScore.DOT, force_gaussian=False):
'\n Arguments:\n ... | 3,749,976,848,804,298,000 | Arguments:
num_units (int):
The depth of the attention mechanism. This controls the number of units in the
memory layer that processes the encoder states into the `keys`.
memory (tf.Tensor):
The memory to query; usually the output of an RNN encoder.
The shape is expected to be s... | tacotron/attention.py | __init__ | yweweler/single-speaker-tts | python | def __init__(self, num_units, memory, const_batch_size, memory_sequence_length=None, scale=False, probability_fn=None, score_mask_value=None, dtype=None, name='LocalLuongAttention', d=10, attention_mode=AttentionMode.MONOTONIC, score_mode=AttentionScore.DOT, force_gaussian=False):
'\n Arguments:\n ... |
def __call__(self, query, state):
'\n Calculate the alignments and next_state for the current decoder output.\n\n Arguments:\n query (tf.Tensor):\n Decoder cell outputs to compare to the keys (memory).\n The shape is expected to be shape=(B, num_units) with B b... | 5,188,351,230,933,922,000 | Calculate the alignments and next_state for the current decoder output.
Arguments:
query (tf.Tensor):
Decoder cell outputs to compare to the keys (memory).
The shape is expected to be shape=(B, num_units) with B being the batch size
and `num_units` being the output size of the decoder_cell.... | tacotron/attention.py | __call__ | yweweler/single-speaker-tts | python | def __call__(self, query, state):
'\n Calculate the alignments and next_state for the current decoder output.\n\n Arguments:\n query (tf.Tensor):\n Decoder cell outputs to compare to the keys (memory).\n The shape is expected to be shape=(B, num_units) with B b... |
def call(self, inputs, state):
"Perform a step of attention-wrapped RNN.\n\n - Step 1: Mix the `inputs` and previous step's `attention` output via\n `cell_input_fn`.\n - Step 2: Call the wrapped `cell` with this input and its previous state.\n - Step 3: Score the cell's output with `at... | 8,947,183,884,278,288,000 | Perform a step of attention-wrapped RNN.
- Step 1: Mix the `inputs` and previous step's `attention` output via
`cell_input_fn`.
- Step 2: Call the wrapped `cell` with this input and its previous state.
- Step 3: Score the cell's output with `attention_mechanism`.
- Step 4: Calculate the alignments by passing the sco... | tacotron/attention.py | call | yweweler/single-speaker-tts | python | def call(self, inputs, state):
"Perform a step of attention-wrapped RNN.\n\n - Step 1: Mix the `inputs` and previous step's `attention` output via\n `cell_input_fn`.\n - Step 2: Call the wrapped `cell` with this input and its previous state.\n - Step 3: Score the cell's output with `at... |
def get_jwt_payload(self, obj):
'\n Define here, what data shall be encoded in JWT.\n By default, entire object will be encoded.\n '
return obj | -2,919,222,944,256,560,000 | Define here, what data shall be encoded in JWT.
By default, entire object will be encoded. | rest_social_auth/serializers.py | get_jwt_payload | silverlogic/django-rest-social-auth | python | def get_jwt_payload(self, obj):
'\n Define here, what data shall be encoded in JWT.\n By default, entire object will be encoded.\n '
return obj |
@abstractmethod
@dyndoc_insert(responses)
def __init__(self, accountID, orderID=None):
'Instantiate an Orders request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string\n id of the order t... | 5,683,344,200,435,835,000 | Instantiate an Orders request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
orderID : string
id of the order to perform the request for. | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @abstractmethod
@dyndoc_insert(responses)
def __init__(self, accountID, orderID=None):
'Instantiate an Orders request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string\n id of the order t... |
@dyndoc_insert(responses)
def __init__(self, accountID, data):
'Instantiate an OrderCreate request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n data : JSON (required)\n json orderbody to send\n\n\n ... | 2,512,598,491,482,841,000 | Instantiate an OrderCreate request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
data : JSON (required)
json orderbody to send
Orderbody example::
{_v3_accounts_accountID_orders_create_body}
>>> import oandapyV20
>>> import oandapyV20.endpoints.order... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID, data):
'Instantiate an OrderCreate request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n data : JSON (required)\n json orderbody to send\n\n\n ... |
@dyndoc_insert(responses)
def __init__(self, accountID, params=None):
'Instantiate an OrderList request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n params : dict\n optional request query parameters,... | -6,633,771,546,248,787,000 | Instantiate an OrderList request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
params : dict
optional request query parameters, check developer.oanda.com
for details
Example::
>>> import oandapyV20
>>> import oandapyV20.endpoints.orders as orders
>>> ... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID, params=None):
'Instantiate an OrderList request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n params : dict\n optional request query parameters,... |
@dyndoc_insert(responses)
def __init__(self, accountID):
'Instantiate an OrdersPending request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n\n Example::\n\n >>> import oandapyV20\n >>> import oanda... | 3,658,857,972,760,194,600 | Instantiate an OrdersPending request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
Example::
>>> import oandapyV20
>>> import oandapyV20.endpoints.orders as orders
>>> client = oandapyV20.API(access_token=...)
>>> r = orders.OrdersPending(accountID)
>>> client... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID):
'Instantiate an OrdersPending request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n\n Example::\n\n >>> import oandapyV20\n >>> import oanda... |
@dyndoc_insert(responses)
def __init__(self, accountID, orderID):
'Instantiate an OrderDetails request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the order to pe... | -7,161,585,653,225,752,000 | Instantiate an OrderDetails request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
orderID : string (required)
id of the order to perform the request on.
>>> import oandapyV20
>>> import oandapyV20.endpoints.orders as orders
>>> client = oandapyV20.API(acce... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID, orderID):
'Instantiate an OrderDetails request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the order to pe... |
@dyndoc_insert(responses)
def __init__(self, accountID, orderID, data):
'Instantiate an OrderReplace request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the order... | 6,441,901,308,359,472,000 | Instantiate an OrderReplace request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
orderID : string (required)
id of the order to perform the request on.
data : JSON (required)
json orderbody to send
Orderbody example::
{_v3_accounts_accountID_ord... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID, orderID, data):
'Instantiate an OrderReplace request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the order... |
@dyndoc_insert(responses)
def __init__(self, accountID, orderID):
'Instantiate an OrdersCancel request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the account to ... | -5,047,532,072,204,407,000 | Instantiate an OrdersCancel request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
orderID : string (required)
id of the account to perform the request on.
Example::
>>> import oandapyV20
>>> import oandapyV20.endpoints.orders as orders
>>> client = oandap... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID, orderID):
'Instantiate an OrdersCancel request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the account to ... |
@dyndoc_insert(responses)
def __init__(self, accountID, orderID, data):
'Instantiate an OrderCreate request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the order ... | -7,689,243,906,922,399,000 | Instantiate an OrderCreate request.
Parameters
----------
accountID : string (required)
id of the account to perform the request on.
orderID : string (required)
id of the order to perform the request on.
data : JSON (required)
json orderbody to send
Orderbody example::
{_v3_accounts_accountID_orde... | oandapyV20/endpoints/orders.py | __init__ | Milad137/oanda-api-v20 | python | @dyndoc_insert(responses)
def __init__(self, accountID, orderID, data):
'Instantiate an OrderCreate request.\n\n Parameters\n ----------\n accountID : string (required)\n id of the account to perform the request on.\n\n orderID : string (required)\n id of the order ... |
def testFtrlWithL1_L2_L2Shrinkage(self):
'Test the new FTRL op with support for l2 shrinkage.\n\n The addition of this parameter which places a constant pressure on weights\n towards the origin causes the gradient descent trajectory to differ. The\n weights will tend to have smaller magnitudes with this pa... | -2,718,436,878,333,653,500 | Test the new FTRL op with support for l2 shrinkage.
The addition of this parameter which places a constant pressure on weights
towards the origin causes the gradient descent trajectory to differ. The
weights will tend to have smaller magnitudes with this parameter set. | tensorflow/compiler/tests/ftrl_test.py | testFtrlWithL1_L2_L2Shrinkage | 18802459097/tensorflow | python | def testFtrlWithL1_L2_L2Shrinkage(self):
'Test the new FTRL op with support for l2 shrinkage.\n\n The addition of this parameter which places a constant pressure on weights\n towards the origin causes the gradient descent trajectory to differ. The\n weights will tend to have smaller magnitudes with this pa... |
def get_kobo_params():
'Collect and validate request parameters and environment variables.'
kobo_username = getenv('KOBO_USERNAME')
if (kobo_username is None):
raise InternalServerError('Missing backend parameter: KOBO_USERNAME')
kobo_pw = getenv('KOBO_PW')
if (kobo_pw is None):
rais... | -3,169,019,911,052,397,600 | Collect and validate request parameters and environment variables. | api-flask/app/kobo.py | get_kobo_params | tdlinh2712/prism-frontend | python | def get_kobo_params():
kobo_username = getenv('KOBO_USERNAME')
if (kobo_username is None):
raise InternalServerError('Missing backend parameter: KOBO_USERNAME')
kobo_pw = getenv('KOBO_PW')
if (kobo_pw is None):
raise InternalServerError('Missing backend parameter: KOBO_PW')
form... |
def parse_form_field(value: str, field_type: str):
'Parse strings into type according to field_type provided.'
if (field_type == 'decimal'):
return float(value)
elif (field_type == 'integer'):
return int(value)
elif (field_type in ('datetime', 'date')):
return dtparser(value).ast... | -5,969,164,898,404,290,000 | Parse strings into type according to field_type provided. | api-flask/app/kobo.py | parse_form_field | tdlinh2712/prism-frontend | python | def parse_form_field(value: str, field_type: str):
if (field_type == 'decimal'):
return float(value)
elif (field_type == 'integer'):
return int(value)
elif (field_type in ('datetime', 'date')):
return dtparser(value).astimezone(timezone.utc)
elif (field_type == 'geopoint'):
... |
def parse_form_response(form_dict: Dict[(str, str)], form_fields: Dict[(str, str)], labels: List[str]):
'Transform a Kobo form dictionary into a format that is used by the frontend.'
form_data = {k: parse_form_field(form_dict.get(k), v) for (k, v) in labels.items() if (k not in (form_fields.get('geom'), form_fi... | -644,999,556,958,999,800 | Transform a Kobo form dictionary into a format that is used by the frontend. | api-flask/app/kobo.py | parse_form_response | tdlinh2712/prism-frontend | python | def parse_form_response(form_dict: Dict[(str, str)], form_fields: Dict[(str, str)], labels: List[str]):
form_data = {k: parse_form_field(form_dict.get(k), v) for (k, v) in labels.items() if (k not in (form_fields.get('geom'), form_fields.get('datetime')))}
datetime_field = form_fields.get('datetime')
d... |
def parse_datetime_params():
'Transform into datetime objects used for filtering form responses.'
begin_datetime_str = request.args.get('beginDateTime', '2000-01-01')
begin_datetime = dtparser(begin_datetime_str).replace(tzinfo=timezone.utc)
end_datetime_str = request.args.get('endDateTime')
if (end... | -751,207,156,373,208,200 | Transform into datetime objects used for filtering form responses. | api-flask/app/kobo.py | parse_datetime_params | tdlinh2712/prism-frontend | python | def parse_datetime_params():
begin_datetime_str = request.args.get('beginDateTime', '2000-01-01')
begin_datetime = dtparser(begin_datetime_str).replace(tzinfo=timezone.utc)
end_datetime_str = request.args.get('endDateTime')
if (end_datetime_str is not None):
end_datetime = dtparser(end_date... |
def get_responses_from_kobo(auth, form_name):
'\n Request kobo api to collect all the information related to a form.\n\n Also, retrieve the form responses for parsing and filtering.\n '
form_url = request.args.get('koboUrl')
if (form_url is None):
raise BadRequest('Missing parameter koboUrl... | 1,817,375,612,146,250,800 | Request kobo api to collect all the information related to a form.
Also, retrieve the form responses for parsing and filtering. | api-flask/app/kobo.py | get_responses_from_kobo | tdlinh2712/prism-frontend | python | def get_responses_from_kobo(auth, form_name):
'\n Request kobo api to collect all the information related to a form.\n\n Also, retrieve the form responses for parsing and filtering.\n '
form_url = request.args.get('koboUrl')
if (form_url is None):
raise BadRequest('Missing parameter koboUrl... |
def get_form_responses(begin_datetime, end_datetime):
'Get all form responses using Kobo api.'
(auth, form_fields) = get_kobo_params()
(form_responses, form_labels) = get_responses_from_kobo(auth, form_fields.get('name'))
forms = [parse_form_response(f, form_fields, form_labels) for f in form_responses]... | 5,535,525,215,685,802,000 | Get all form responses using Kobo api. | api-flask/app/kobo.py | get_form_responses | tdlinh2712/prism-frontend | python | def get_form_responses(begin_datetime, end_datetime):
(auth, form_fields) = get_kobo_params()
(form_responses, form_labels) = get_responses_from_kobo(auth, form_fields.get('name'))
forms = [parse_form_response(f, form_fields, form_labels) for f in form_responses]
filtered_forms = []
for form in... |
def _get_flow_id(self):
'\n Getter method for flow_id, mapped from YANG variable /openflow_state/flow_id/flow_id (uint32)\n\n YANG Description: Flow ID\n '
return self.__flow_id | -6,157,903,769,016,702,000 | Getter method for flow_id, mapped from YANG variable /openflow_state/flow_id/flow_id (uint32)
YANG Description: Flow ID | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_flow_id | extremenetworks/pybind | python | def _get_flow_id(self):
'\n Getter method for flow_id, mapped from YANG variable /openflow_state/flow_id/flow_id (uint32)\n\n YANG Description: Flow ID\n '
return self.__flow_id |
def _set_flow_id(self, v, load=False):
'\n Setter method for flow_id, mapped from YANG variable /openflow_state/flow_id/flow_id (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_flow_id is considered as a private\n method. Backends looking to populate this var... | -2,853,245,355,925,875,000 | Setter method for flow_id, mapped from YANG variable /openflow_state/flow_id/flow_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_flow_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_flow_id() directly.
... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_flow_id | extremenetworks/pybind | python | def _set_flow_id(self, v, load=False):
'\n Setter method for flow_id, mapped from YANG variable /openflow_state/flow_id/flow_id (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_flow_id is considered as a private\n method. Backends looking to populate this var... |
def _get_priority(self):
'\n Getter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)\n\n YANG Description: Priority\n '
return self.__priority | 632,960,764,056,654,000 | Getter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)
YANG Description: Priority | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_priority | extremenetworks/pybind | python | def _get_priority(self):
'\n Getter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)\n\n YANG Description: Priority\n '
return self.__priority |
def _set_priority(self, v, load=False):
'\n Setter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_priority is considered as a private\n method. Backends looking to populate this... | -312,276,743,791,682,750 | Setter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_priority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_priority() directl... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_priority | extremenetworks/pybind | python | def _set_priority(self, v, load=False):
'\n Setter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_priority is considered as a private\n method. Backends looking to populate this... |
def _get_status(self):
'\n Getter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)\n\n YANG Description: Status\n '
return self.__status | 7,149,983,244,379,752,000 | Getter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)
YANG Description: Status | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_status | extremenetworks/pybind | python | def _get_status(self):
'\n Getter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)\n\n YANG Description: Status\n '
return self.__status |
def _set_status(self, v, load=False):
'\n Setter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_status is considered as a private\n method. Backends looking to populate this va... | 3,149,202,508,963,547,000 | Setter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)
If this variable is read-only (config: false) in the
source YANG file, then _set_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_status() directly.
... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_status | extremenetworks/pybind | python | def _set_status(self, v, load=False):
'\n Setter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_status is considered as a private\n method. Backends looking to populate this va... |
def _get_in_port(self):
'\n Getter method for in_port, mapped from YANG variable /openflow_state/flow_id/in_port (string)\n\n YANG Description: In Port\n '
return self.__in_port | -8,342,870,334,417,851,000 | Getter method for in_port, mapped from YANG variable /openflow_state/flow_id/in_port (string)
YANG Description: In Port | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_in_port | extremenetworks/pybind | python | def _get_in_port(self):
'\n Getter method for in_port, mapped from YANG variable /openflow_state/flow_id/in_port (string)\n\n YANG Description: In Port\n '
return self.__in_port |
def _set_in_port(self, v, load=False):
'\n Setter method for in_port, mapped from YANG variable /openflow_state/flow_id/in_port (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_in_port is considered as a private\n method. Backends looking to populate this var... | -6,384,135,164,691,268,000 | Setter method for in_port, mapped from YANG variable /openflow_state/flow_id/in_port (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_in_port is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_in_port() directly.
... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_in_port | extremenetworks/pybind | python | def _set_in_port(self, v, load=False):
'\n Setter method for in_port, mapped from YANG variable /openflow_state/flow_id/in_port (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_in_port is considered as a private\n method. Backends looking to populate this var... |
def _get_in_vlan(self):
'\n Getter method for in_vlan, mapped from YANG variable /openflow_state/flow_id/in_vlan (string)\n\n YANG Description: In Vlan\n '
return self.__in_vlan | -877,273,164,347,774,500 | Getter method for in_vlan, mapped from YANG variable /openflow_state/flow_id/in_vlan (string)
YANG Description: In Vlan | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_in_vlan | extremenetworks/pybind | python | def _get_in_vlan(self):
'\n Getter method for in_vlan, mapped from YANG variable /openflow_state/flow_id/in_vlan (string)\n\n YANG Description: In Vlan\n '
return self.__in_vlan |
def _set_in_vlan(self, v, load=False):
'\n Setter method for in_vlan, mapped from YANG variable /openflow_state/flow_id/in_vlan (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_in_vlan is considered as a private\n method. Backends looking to populate this var... | 2,444,345,414,555,727,000 | Setter method for in_vlan, mapped from YANG variable /openflow_state/flow_id/in_vlan (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_in_vlan is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_in_vlan() directly.
... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_in_vlan | extremenetworks/pybind | python | def _set_in_vlan(self, v, load=False):
'\n Setter method for in_vlan, mapped from YANG variable /openflow_state/flow_id/in_vlan (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_in_vlan is considered as a private\n method. Backends looking to populate this var... |
def _get_source_mac(self):
'\n Getter method for source_mac, mapped from YANG variable /openflow_state/flow_id/source_mac (string)\n\n YANG Description: Source Mac\n '
return self.__source_mac | -8,688,223,893,635,279,000 | Getter method for source_mac, mapped from YANG variable /openflow_state/flow_id/source_mac (string)
YANG Description: Source Mac | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_source_mac | extremenetworks/pybind | python | def _get_source_mac(self):
'\n Getter method for source_mac, mapped from YANG variable /openflow_state/flow_id/source_mac (string)\n\n YANG Description: Source Mac\n '
return self.__source_mac |
def _set_source_mac(self, v, load=False):
'\n Setter method for source_mac, mapped from YANG variable /openflow_state/flow_id/source_mac (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_mac is considered as a private\n method. Backends looking to popul... | -2,431,568,166,369,310,000 | Setter method for source_mac, mapped from YANG variable /openflow_state/flow_id/source_mac (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_mac is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_mac()... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_source_mac | extremenetworks/pybind | python | def _set_source_mac(self, v, load=False):
'\n Setter method for source_mac, mapped from YANG variable /openflow_state/flow_id/source_mac (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_mac is considered as a private\n method. Backends looking to popul... |
def _get_destination_mac(self):
'\n Getter method for destination_mac, mapped from YANG variable /openflow_state/flow_id/destination_mac (string)\n\n YANG Description: Destination Mac\n '
return self.__destination_mac | -4,720,345,164,848,620,000 | Getter method for destination_mac, mapped from YANG variable /openflow_state/flow_id/destination_mac (string)
YANG Description: Destination Mac | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_destination_mac | extremenetworks/pybind | python | def _get_destination_mac(self):
'\n Getter method for destination_mac, mapped from YANG variable /openflow_state/flow_id/destination_mac (string)\n\n YANG Description: Destination Mac\n '
return self.__destination_mac |
def _set_destination_mac(self, v, load=False):
'\n Setter method for destination_mac, mapped from YANG variable /openflow_state/flow_id/destination_mac (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_mac is considered as a private\n method. Backe... | 3,574,629,460,439,213,600 | Setter method for destination_mac, mapped from YANG variable /openflow_state/flow_id/destination_mac (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination_mac is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._s... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_destination_mac | extremenetworks/pybind | python | def _set_destination_mac(self, v, load=False):
'\n Setter method for destination_mac, mapped from YANG variable /openflow_state/flow_id/destination_mac (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_mac is considered as a private\n method. Backe... |
def _get_ether_type(self):
'\n Getter method for ether_type, mapped from YANG variable /openflow_state/flow_id/ether_type (string)\n\n YANG Description: Ether type\n '
return self.__ether_type | -444,336,225,625,308,740 | Getter method for ether_type, mapped from YANG variable /openflow_state/flow_id/ether_type (string)
YANG Description: Ether type | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_ether_type | extremenetworks/pybind | python | def _get_ether_type(self):
'\n Getter method for ether_type, mapped from YANG variable /openflow_state/flow_id/ether_type (string)\n\n YANG Description: Ether type\n '
return self.__ether_type |
def _set_ether_type(self, v, load=False):
'\n Setter method for ether_type, mapped from YANG variable /openflow_state/flow_id/ether_type (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ether_type is considered as a private\n method. Backends looking to popul... | 4,291,829,622,368,241,000 | Setter method for ether_type, mapped from YANG variable /openflow_state/flow_id/ether_type (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_ether_type is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ether_type()... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_ether_type | extremenetworks/pybind | python | def _set_ether_type(self, v, load=False):
'\n Setter method for ether_type, mapped from YANG variable /openflow_state/flow_id/ether_type (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ether_type is considered as a private\n method. Backends looking to popul... |
def _get_ip_protocol(self):
'\n Getter method for ip_protocol, mapped from YANG variable /openflow_state/flow_id/ip_protocol (uint32)\n\n YANG Description: IP Protocol\n '
return self.__ip_protocol | -5,709,233,562,569,667,000 | Getter method for ip_protocol, mapped from YANG variable /openflow_state/flow_id/ip_protocol (uint32)
YANG Description: IP Protocol | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_ip_protocol | extremenetworks/pybind | python | def _get_ip_protocol(self):
'\n Getter method for ip_protocol, mapped from YANG variable /openflow_state/flow_id/ip_protocol (uint32)\n\n YANG Description: IP Protocol\n '
return self.__ip_protocol |
def _set_ip_protocol(self, v, load=False):
'\n Setter method for ip_protocol, mapped from YANG variable /openflow_state/flow_id/ip_protocol (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ip_protocol is considered as a private\n method. Backends looking to p... | 2,429,333,674,418,785,000 | Setter method for ip_protocol, mapped from YANG variable /openflow_state/flow_id/ip_protocol (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_protocol is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_ip_protoc... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_ip_protocol | extremenetworks/pybind | python | def _set_ip_protocol(self, v, load=False):
'\n Setter method for ip_protocol, mapped from YANG variable /openflow_state/flow_id/ip_protocol (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ip_protocol is considered as a private\n method. Backends looking to p... |
def _get_ip_protocol_source_port(self):
'\n Getter method for ip_protocol_source_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_source_port (uint32)\n\n YANG Description: IP Protocol Source Port\n '
return self.__ip_protocol_source_port | -1,355,434,890,033,984,000 | Getter method for ip_protocol_source_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_source_port (uint32)
YANG Description: IP Protocol Source Port | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_ip_protocol_source_port | extremenetworks/pybind | python | def _get_ip_protocol_source_port(self):
'\n Getter method for ip_protocol_source_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_source_port (uint32)\n\n YANG Description: IP Protocol Source Port\n '
return self.__ip_protocol_source_port |
def _set_ip_protocol_source_port(self, v, load=False):
'\n Setter method for ip_protocol_source_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_source_port (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ip_protocol_source_port is considered... | 974,157,560,077,153,200 | Setter method for ip_protocol_source_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_source_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_protocol_source_port is considered as a private
method. Backends looking to populate this variable should
do s... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_ip_protocol_source_port | extremenetworks/pybind | python | def _set_ip_protocol_source_port(self, v, load=False):
'\n Setter method for ip_protocol_source_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_source_port (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ip_protocol_source_port is considered... |
def _get_ip_protocol_destination_port(self):
'\n Getter method for ip_protocol_destination_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_destination_port (uint32)\n\n YANG Description: IP Protocol Destination Port\n '
return self.__ip_protocol_destination_port | 8,928,770,330,786,560,000 | Getter method for ip_protocol_destination_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_destination_port (uint32)
YANG Description: IP Protocol Destination Port | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_ip_protocol_destination_port | extremenetworks/pybind | python | def _get_ip_protocol_destination_port(self):
'\n Getter method for ip_protocol_destination_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_destination_port (uint32)\n\n YANG Description: IP Protocol Destination Port\n '
return self.__ip_protocol_destination_port |
def _set_ip_protocol_destination_port(self, v, load=False):
'\n Setter method for ip_protocol_destination_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_destination_port (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ip_protocol_destinatio... | 4,952,934,185,729,867,000 | Setter method for ip_protocol_destination_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_destination_port (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_ip_protocol_destination_port is considered as a private
method. Backends looking to populate this varia... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_ip_protocol_destination_port | extremenetworks/pybind | python | def _set_ip_protocol_destination_port(self, v, load=False):
'\n Setter method for ip_protocol_destination_port, mapped from YANG variable /openflow_state/flow_id/ip_protocol_destination_port (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_ip_protocol_destinatio... |
def _get_source_ip(self):
'\n Getter method for source_ip, mapped from YANG variable /openflow_state/flow_id/source_ip (string)\n\n YANG Description: Source IPv4\n '
return self.__source_ip | -8,280,523,077,117,482,000 | Getter method for source_ip, mapped from YANG variable /openflow_state/flow_id/source_ip (string)
YANG Description: Source IPv4 | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_source_ip | extremenetworks/pybind | python | def _get_source_ip(self):
'\n Getter method for source_ip, mapped from YANG variable /openflow_state/flow_id/source_ip (string)\n\n YANG Description: Source IPv4\n '
return self.__source_ip |
def _set_source_ip(self, v, load=False):
'\n Setter method for source_ip, mapped from YANG variable /openflow_state/flow_id/source_ip (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_ip is considered as a private\n method. Backends looking to populate ... | 2,223,453,135,218,639,400 | Setter method for source_ip, mapped from YANG variable /openflow_state/flow_id/source_ip (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_ip is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_ip() dir... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_source_ip | extremenetworks/pybind | python | def _set_source_ip(self, v, load=False):
'\n Setter method for source_ip, mapped from YANG variable /openflow_state/flow_id/source_ip (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_ip is considered as a private\n method. Backends looking to populate ... |
def _get_destination_ip(self):
'\n Getter method for destination_ip, mapped from YANG variable /openflow_state/flow_id/destination_ip (string)\n\n YANG Description: Destination IPv4\n '
return self.__destination_ip | -7,007,499,422,990,890,000 | Getter method for destination_ip, mapped from YANG variable /openflow_state/flow_id/destination_ip (string)
YANG Description: Destination IPv4 | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_destination_ip | extremenetworks/pybind | python | def _get_destination_ip(self):
'\n Getter method for destination_ip, mapped from YANG variable /openflow_state/flow_id/destination_ip (string)\n\n YANG Description: Destination IPv4\n '
return self.__destination_ip |
def _set_destination_ip(self, v, load=False):
'\n Setter method for destination_ip, mapped from YANG variable /openflow_state/flow_id/destination_ip (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_ip is considered as a private\n method. Backends ... | 2,674,066,771,643,641,000 | Setter method for destination_ip, mapped from YANG variable /openflow_state/flow_id/destination_ip (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination_ip is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_destination_ip | extremenetworks/pybind | python | def _set_destination_ip(self, v, load=False):
'\n Setter method for destination_ip, mapped from YANG variable /openflow_state/flow_id/destination_ip (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_ip is considered as a private\n method. Backends ... |
def _get_source_ipv6(self):
'\n Getter method for source_ipv6, mapped from YANG variable /openflow_state/flow_id/source_ipv6 (string)\n\n YANG Description: Source IPv6 Address\n '
return self.__source_ipv6 | -2,574,810,374,441,195,500 | Getter method for source_ipv6, mapped from YANG variable /openflow_state/flow_id/source_ipv6 (string)
YANG Description: Source IPv6 Address | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_source_ipv6 | extremenetworks/pybind | python | def _get_source_ipv6(self):
'\n Getter method for source_ipv6, mapped from YANG variable /openflow_state/flow_id/source_ipv6 (string)\n\n YANG Description: Source IPv6 Address\n '
return self.__source_ipv6 |
def _set_source_ipv6(self, v, load=False):
'\n Setter method for source_ipv6, mapped from YANG variable /openflow_state/flow_id/source_ipv6 (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_ipv6 is considered as a private\n method. Backends looking to p... | 4,941,136,100,604,586,000 | Setter method for source_ipv6, mapped from YANG variable /openflow_state/flow_id/source_ipv6 (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_ipv6 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_source_ip... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_source_ipv6 | extremenetworks/pybind | python | def _set_source_ipv6(self, v, load=False):
'\n Setter method for source_ipv6, mapped from YANG variable /openflow_state/flow_id/source_ipv6 (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_ipv6 is considered as a private\n method. Backends looking to p... |
def _get_destination_ipv6(self):
'\n Getter method for destination_ipv6, mapped from YANG variable /openflow_state/flow_id/destination_ipv6 (string)\n\n YANG Description: Destination IPv6 Address\n '
return self.__destination_ipv6 | 6,918,354,571,444,669,000 | Getter method for destination_ipv6, mapped from YANG variable /openflow_state/flow_id/destination_ipv6 (string)
YANG Description: Destination IPv6 Address | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_destination_ipv6 | extremenetworks/pybind | python | def _get_destination_ipv6(self):
'\n Getter method for destination_ipv6, mapped from YANG variable /openflow_state/flow_id/destination_ipv6 (string)\n\n YANG Description: Destination IPv6 Address\n '
return self.__destination_ipv6 |
def _set_destination_ipv6(self, v, load=False):
'\n Setter method for destination_ipv6, mapped from YANG variable /openflow_state/flow_id/destination_ipv6 (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_ipv6 is considered as a private\n method. B... | -8,625,216,406,431,481,000 | Setter method for destination_ipv6, mapped from YANG variable /openflow_state/flow_id/destination_ipv6 (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination_ipv6 is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_destination_ipv6 | extremenetworks/pybind | python | def _set_destination_ipv6(self, v, load=False):
'\n Setter method for destination_ipv6, mapped from YANG variable /openflow_state/flow_id/destination_ipv6 (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_ipv6 is considered as a private\n method. B... |
def _get_instructions(self):
'\n Getter method for instructions, mapped from YANG variable /openflow_state/flow_id/instructions (string)\n\n YANG Description: Instructions\n '
return self.__instructions | -8,994,117,927,952,133,000 | Getter method for instructions, mapped from YANG variable /openflow_state/flow_id/instructions (string)
YANG Description: Instructions | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_instructions | extremenetworks/pybind | python | def _get_instructions(self):
'\n Getter method for instructions, mapped from YANG variable /openflow_state/flow_id/instructions (string)\n\n YANG Description: Instructions\n '
return self.__instructions |
def _set_instructions(self, v, load=False):
'\n Setter method for instructions, mapped from YANG variable /openflow_state/flow_id/instructions (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_instructions is considered as a private\n method. Backends looking ... | -7,356,461,651,462,580,000 | Setter method for instructions, mapped from YANG variable /openflow_state/flow_id/instructions (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_instructions is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_instru... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_instructions | extremenetworks/pybind | python | def _set_instructions(self, v, load=False):
'\n Setter method for instructions, mapped from YANG variable /openflow_state/flow_id/instructions (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_instructions is considered as a private\n method. Backends looking ... |
def _get_action_data(self):
'\n Getter method for action_data, mapped from YANG variable /openflow_state/flow_id/action_data (string)\n\n YANG Description: Action\n '
return self.__action_data | -2,758,257,760,480,369,700 | Getter method for action_data, mapped from YANG variable /openflow_state/flow_id/action_data (string)
YANG Description: Action | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_action_data | extremenetworks/pybind | python | def _get_action_data(self):
'\n Getter method for action_data, mapped from YANG variable /openflow_state/flow_id/action_data (string)\n\n YANG Description: Action\n '
return self.__action_data |
def _set_action_data(self, v, load=False):
'\n Setter method for action_data, mapped from YANG variable /openflow_state/flow_id/action_data (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_action_data is considered as a private\n method. Backends looking to p... | -8,913,322,758,941,366,000 | Setter method for action_data, mapped from YANG variable /openflow_state/flow_id/action_data (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_action_data is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_action_da... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_action_data | extremenetworks/pybind | python | def _set_action_data(self, v, load=False):
'\n Setter method for action_data, mapped from YANG variable /openflow_state/flow_id/action_data (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_action_data is considered as a private\n method. Backends looking to p... |
def _get_meter_id(self):
'\n Getter method for meter_id, mapped from YANG variable /openflow_state/flow_id/meter_id (uint32)\n\n YANG Description: Meter id\n '
return self.__meter_id | -7,163,032,203,289,610,000 | Getter method for meter_id, mapped from YANG variable /openflow_state/flow_id/meter_id (uint32)
YANG Description: Meter id | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_meter_id | extremenetworks/pybind | python | def _get_meter_id(self):
'\n Getter method for meter_id, mapped from YANG variable /openflow_state/flow_id/meter_id (uint32)\n\n YANG Description: Meter id\n '
return self.__meter_id |
def _set_meter_id(self, v, load=False):
'\n Setter method for meter_id, mapped from YANG variable /openflow_state/flow_id/meter_id (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_meter_id is considered as a private\n method. Backends looking to populate this... | 327,952,477,212,025,660 | Setter method for meter_id, mapped from YANG variable /openflow_state/flow_id/meter_id (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_meter_id is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_meter_id() directl... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_meter_id | extremenetworks/pybind | python | def _set_meter_id(self, v, load=False):
'\n Setter method for meter_id, mapped from YANG variable /openflow_state/flow_id/meter_id (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_meter_id is considered as a private\n method. Backends looking to populate this... |
def _get_vlan_upbits(self):
'\n Getter method for vlan_upbits, mapped from YANG variable /openflow_state/flow_id/vlan_upbits (uint32)\n\n YANG Description: Vlan Priority\n '
return self.__vlan_upbits | 1,948,003,606,078,124,000 | Getter method for vlan_upbits, mapped from YANG variable /openflow_state/flow_id/vlan_upbits (uint32)
YANG Description: Vlan Priority | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_vlan_upbits | extremenetworks/pybind | python | def _get_vlan_upbits(self):
'\n Getter method for vlan_upbits, mapped from YANG variable /openflow_state/flow_id/vlan_upbits (uint32)\n\n YANG Description: Vlan Priority\n '
return self.__vlan_upbits |
def _set_vlan_upbits(self, v, load=False):
'\n Setter method for vlan_upbits, mapped from YANG variable /openflow_state/flow_id/vlan_upbits (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_vlan_upbits is considered as a private\n method. Backends looking to p... | 7,719,256,718,277,205,000 | Setter method for vlan_upbits, mapped from YANG variable /openflow_state/flow_id/vlan_upbits (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_upbits is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_vlan_upbi... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_vlan_upbits | extremenetworks/pybind | python | def _set_vlan_upbits(self, v, load=False):
'\n Setter method for vlan_upbits, mapped from YANG variable /openflow_state/flow_id/vlan_upbits (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_vlan_upbits is considered as a private\n method. Backends looking to p... |
def _get_nw_tos(self):
'\n Getter method for nw_tos, mapped from YANG variable /openflow_state/flow_id/nw_tos (uint32)\n\n YANG Description: IP DSCP\n '
return self.__nw_tos | 7,471,850,070,572,988,000 | Getter method for nw_tos, mapped from YANG variable /openflow_state/flow_id/nw_tos (uint32)
YANG Description: IP DSCP | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_nw_tos | extremenetworks/pybind | python | def _get_nw_tos(self):
'\n Getter method for nw_tos, mapped from YANG variable /openflow_state/flow_id/nw_tos (uint32)\n\n YANG Description: IP DSCP\n '
return self.__nw_tos |
def _set_nw_tos(self, v, load=False):
'\n Setter method for nw_tos, mapped from YANG variable /openflow_state/flow_id/nw_tos (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_nw_tos is considered as a private\n method. Backends looking to populate this variabl... | -1,019,855,765,956,523,900 | Setter method for nw_tos, mapped from YANG variable /openflow_state/flow_id/nw_tos (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_nw_tos is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_nw_tos() directly.
YANG... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_nw_tos | extremenetworks/pybind | python | def _set_nw_tos(self, v, load=False):
'\n Setter method for nw_tos, mapped from YANG variable /openflow_state/flow_id/nw_tos (uint32)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_nw_tos is considered as a private\n method. Backends looking to populate this variabl... |
def _get_source_ip_mask(self):
'\n Getter method for source_ip_mask, mapped from YANG variable /openflow_state/flow_id/source_ip_mask (string)\n\n YANG Description: Source IPv4 Mask\n '
return self.__source_ip_mask | -51,624,655,546,769,384 | Getter method for source_ip_mask, mapped from YANG variable /openflow_state/flow_id/source_ip_mask (string)
YANG Description: Source IPv4 Mask | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_source_ip_mask | extremenetworks/pybind | python | def _get_source_ip_mask(self):
'\n Getter method for source_ip_mask, mapped from YANG variable /openflow_state/flow_id/source_ip_mask (string)\n\n YANG Description: Source IPv4 Mask\n '
return self.__source_ip_mask |
def _set_source_ip_mask(self, v, load=False):
'\n Setter method for source_ip_mask, mapped from YANG variable /openflow_state/flow_id/source_ip_mask (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_ip_mask is considered as a private\n method. Backends ... | 3,063,224,481,659,544,600 | Setter method for source_ip_mask, mapped from YANG variable /openflow_state/flow_id/source_ip_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_source_ip_mask is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_source_ip_mask | extremenetworks/pybind | python | def _set_source_ip_mask(self, v, load=False):
'\n Setter method for source_ip_mask, mapped from YANG variable /openflow_state/flow_id/source_ip_mask (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_source_ip_mask is considered as a private\n method. Backends ... |
def _get_destination_ip_mask(self):
'\n Getter method for destination_ip_mask, mapped from YANG variable /openflow_state/flow_id/destination_ip_mask (string)\n\n YANG Description: Destination IPv4 Mask\n '
return self.__destination_ip_mask | 2,633,321,571,595,034,600 | Getter method for destination_ip_mask, mapped from YANG variable /openflow_state/flow_id/destination_ip_mask (string)
YANG Description: Destination IPv4 Mask | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_destination_ip_mask | extremenetworks/pybind | python | def _get_destination_ip_mask(self):
'\n Getter method for destination_ip_mask, mapped from YANG variable /openflow_state/flow_id/destination_ip_mask (string)\n\n YANG Description: Destination IPv4 Mask\n '
return self.__destination_ip_mask |
def _set_destination_ip_mask(self, v, load=False):
'\n Setter method for destination_ip_mask, mapped from YANG variable /openflow_state/flow_id/destination_ip_mask (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_ip_mask is considered as a private\n ... | -7,271,132,385,053,177,000 | Setter method for destination_ip_mask, mapped from YANG variable /openflow_state/flow_id/destination_ip_mask (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_destination_ip_mask is considered as a private
method. Backends looking to populate this variable should
do so via callin... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_destination_ip_mask | extremenetworks/pybind | python | def _set_destination_ip_mask(self, v, load=False):
'\n Setter method for destination_ip_mask, mapped from YANG variable /openflow_state/flow_id/destination_ip_mask (string)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_destination_ip_mask is considered as a private\n ... |
def _get_total_packets(self):
'\n Getter method for total_packets, mapped from YANG variable /openflow_state/flow_id/total_packets (uint64)\n\n YANG Description: Total Packets\n '
return self.__total_packets | -7,904,570,503,155,040,000 | Getter method for total_packets, mapped from YANG variable /openflow_state/flow_id/total_packets (uint64)
YANG Description: Total Packets | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_total_packets | extremenetworks/pybind | python | def _get_total_packets(self):
'\n Getter method for total_packets, mapped from YANG variable /openflow_state/flow_id/total_packets (uint64)\n\n YANG Description: Total Packets\n '
return self.__total_packets |
def _set_total_packets(self, v, load=False):
'\n Setter method for total_packets, mapped from YANG variable /openflow_state/flow_id/total_packets (uint64)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_total_packets is considered as a private\n method. Backends look... | -2,498,688,631,761,961,000 | Setter method for total_packets, mapped from YANG variable /openflow_state/flow_id/total_packets (uint64)
If this variable is read-only (config: false) in the
source YANG file, then _set_total_packets is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_tot... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_total_packets | extremenetworks/pybind | python | def _set_total_packets(self, v, load=False):
'\n Setter method for total_packets, mapped from YANG variable /openflow_state/flow_id/total_packets (uint64)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_total_packets is considered as a private\n method. Backends look... |
def _get_total_bytes(self):
'\n Getter method for total_bytes, mapped from YANG variable /openflow_state/flow_id/total_bytes (uint64)\n\n YANG Description: Total Bytes\n '
return self.__total_bytes | 805,648,943,730,033,300 | Getter method for total_bytes, mapped from YANG variable /openflow_state/flow_id/total_bytes (uint64)
YANG Description: Total Bytes | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_total_bytes | extremenetworks/pybind | python | def _get_total_bytes(self):
'\n Getter method for total_bytes, mapped from YANG variable /openflow_state/flow_id/total_bytes (uint64)\n\n YANG Description: Total Bytes\n '
return self.__total_bytes |
def _set_total_bytes(self, v, load=False):
'\n Setter method for total_bytes, mapped from YANG variable /openflow_state/flow_id/total_bytes (uint64)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_total_bytes is considered as a private\n method. Backends looking to p... | 2,194,781,502,162,096,600 | Setter method for total_bytes, mapped from YANG variable /openflow_state/flow_id/total_bytes (uint64)
If this variable is read-only (config: false) in the
source YANG file, then _set_total_bytes is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_total_byt... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_total_bytes | extremenetworks/pybind | python | def _set_total_bytes(self, v, load=False):
'\n Setter method for total_bytes, mapped from YANG variable /openflow_state/flow_id/total_bytes (uint64)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_total_bytes is considered as a private\n method. Backends looking to p... |
def _get_flow_action_list(self):
'\n Getter method for flow_action_list, mapped from YANG variable /openflow_state/flow_id/flow_action_list (list)\n\n YANG Description: Details of an action\n '
return self.__flow_action_list | -6,418,912,045,689,612,000 | Getter method for flow_action_list, mapped from YANG variable /openflow_state/flow_id/flow_action_list (list)
YANG Description: Details of an action | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _get_flow_action_list | extremenetworks/pybind | python | def _get_flow_action_list(self):
'\n Getter method for flow_action_list, mapped from YANG variable /openflow_state/flow_id/flow_action_list (list)\n\n YANG Description: Details of an action\n '
return self.__flow_action_list |
def _set_flow_action_list(self, v, load=False):
'\n Setter method for flow_action_list, mapped from YANG variable /openflow_state/flow_id/flow_action_list (list)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_flow_action_list is considered as a private\n method. Bac... | -7,844,862,851,809,053,000 | Setter method for flow_action_list, mapped from YANG variable /openflow_state/flow_id/flow_action_list (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_flow_action_list is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._... | pybind/slxos/v17r_1_01a/openflow_state/flow_id/__init__.py | _set_flow_action_list | extremenetworks/pybind | python | def _set_flow_action_list(self, v, load=False):
'\n Setter method for flow_action_list, mapped from YANG variable /openflow_state/flow_id/flow_action_list (list)\n If this variable is read-only (config: false) in the\n source YANG file, then _set_flow_action_list is considered as a private\n method. Bac... |
def __init__(self, author=None, commiter=None, message=None, sha=None):
'WikiCommit - a model defined in Swagger'
self._author = None
self._commiter = None
self._message = None
self._sha = None
self.discriminator = None
if (author is not None):
self.author = author
if (commiter i... | -5,596,803,985,568,891,000 | WikiCommit - a model defined in Swagger | gitea_api/models/wiki_commit.py | __init__ | r7l/python-gitea-api | python | def __init__(self, author=None, commiter=None, message=None, sha=None):
self._author = None
self._commiter = None
self._message = None
self._sha = None
self.discriminator = None
if (author is not None):
self.author = author
if (commiter is not None):
self.commiter = comm... |
@property
def author(self):
'Gets the author of this WikiCommit. # noqa: E501\n\n\n :return: The author of this WikiCommit. # noqa: E501\n :rtype: CommitUser\n '
return self._author | -4,404,590,990,824,038,400 | Gets the author of this WikiCommit. # noqa: E501
:return: The author of this WikiCommit. # noqa: E501
:rtype: CommitUser | gitea_api/models/wiki_commit.py | author | r7l/python-gitea-api | python | @property
def author(self):
'Gets the author of this WikiCommit. # noqa: E501\n\n\n :return: The author of this WikiCommit. # noqa: E501\n :rtype: CommitUser\n '
return self._author |
@author.setter
def author(self, author):
'Sets the author of this WikiCommit.\n\n\n :param author: The author of this WikiCommit. # noqa: E501\n :type: CommitUser\n '
self._author = author | 2,049,683,057,487,430,100 | Sets the author of this WikiCommit.
:param author: The author of this WikiCommit. # noqa: E501
:type: CommitUser | gitea_api/models/wiki_commit.py | author | r7l/python-gitea-api | python | @author.setter
def author(self, author):
'Sets the author of this WikiCommit.\n\n\n :param author: The author of this WikiCommit. # noqa: E501\n :type: CommitUser\n '
self._author = author |
@property
def commiter(self):
'Gets the commiter of this WikiCommit. # noqa: E501\n\n\n :return: The commiter of this WikiCommit. # noqa: E501\n :rtype: CommitUser\n '
return self._commiter | 6,867,431,484,968,388,000 | Gets the commiter of this WikiCommit. # noqa: E501
:return: The commiter of this WikiCommit. # noqa: E501
:rtype: CommitUser | gitea_api/models/wiki_commit.py | commiter | r7l/python-gitea-api | python | @property
def commiter(self):
'Gets the commiter of this WikiCommit. # noqa: E501\n\n\n :return: The commiter of this WikiCommit. # noqa: E501\n :rtype: CommitUser\n '
return self._commiter |
@commiter.setter
def commiter(self, commiter):
'Sets the commiter of this WikiCommit.\n\n\n :param commiter: The commiter of this WikiCommit. # noqa: E501\n :type: CommitUser\n '
self._commiter = commiter | -7,921,428,604,777,179,000 | Sets the commiter of this WikiCommit.
:param commiter: The commiter of this WikiCommit. # noqa: E501
:type: CommitUser | gitea_api/models/wiki_commit.py | commiter | r7l/python-gitea-api | python | @commiter.setter
def commiter(self, commiter):
'Sets the commiter of this WikiCommit.\n\n\n :param commiter: The commiter of this WikiCommit. # noqa: E501\n :type: CommitUser\n '
self._commiter = commiter |
@property
def message(self):
'Gets the message of this WikiCommit. # noqa: E501\n\n\n :return: The message of this WikiCommit. # noqa: E501\n :rtype: str\n '
return self._message | 9,097,509,535,606,912,000 | Gets the message of this WikiCommit. # noqa: E501
:return: The message of this WikiCommit. # noqa: E501
:rtype: str | gitea_api/models/wiki_commit.py | message | r7l/python-gitea-api | python | @property
def message(self):
'Gets the message of this WikiCommit. # noqa: E501\n\n\n :return: The message of this WikiCommit. # noqa: E501\n :rtype: str\n '
return self._message |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.