text stringlengths 0 828 |
|---|
asynchronous HTTP request, please pass async=True |
>>> thread = api.get_braintree_gateway_by_id(braintree_gateway_id, async=True) |
>>> result = thread.get() |
:param async bool |
:param str braintree_gateway_id: ID of braintreeGateway to return (required) |
:return: BraintreeGateway |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._get_braintree_gateway_by_id_with_http_info(braintree_gateway_id, **kwargs) |
else: |
(data) = cls._get_braintree_gateway_by_id_with_http_info(braintree_gateway_id, **kwargs) |
return data" |
4176,"def list_all_braintree_gateways(cls, **kwargs): |
""""""List BraintreeGateways |
Return a list of BraintreeGateways |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.list_all_braintree_gateways(async=True) |
>>> result = thread.get() |
:param async bool |
:param int page: page number |
:param int size: page size |
:param str sort: page order |
:return: page[BraintreeGateway] |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._list_all_braintree_gateways_with_http_info(**kwargs) |
else: |
(data) = cls._list_all_braintree_gateways_with_http_info(**kwargs) |
return data" |
4177,"def replace_braintree_gateway_by_id(cls, braintree_gateway_id, braintree_gateway, **kwargs): |
""""""Replace BraintreeGateway |
Replace all attributes of BraintreeGateway |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.replace_braintree_gateway_by_id(braintree_gateway_id, braintree_gateway, async=True) |
>>> result = thread.get() |
:param async bool |
:param str braintree_gateway_id: ID of braintreeGateway to replace (required) |
:param BraintreeGateway braintree_gateway: Attributes of braintreeGateway to replace (required) |
:return: BraintreeGateway |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._replace_braintree_gateway_by_id_with_http_info(braintree_gateway_id, braintree_gateway, **kwargs) |
else: |
(data) = cls._replace_braintree_gateway_by_id_with_http_info(braintree_gateway_id, braintree_gateway, **kwargs) |
return data" |
4178,"def update_braintree_gateway_by_id(cls, braintree_gateway_id, braintree_gateway, **kwargs): |
""""""Update BraintreeGateway |
Update attributes of BraintreeGateway |
This method makes a synchronous HTTP request by default. To make an |
asynchronous HTTP request, please pass async=True |
>>> thread = api.update_braintree_gateway_by_id(braintree_gateway_id, braintree_gateway, async=True) |
>>> result = thread.get() |
:param async bool |
:param str braintree_gateway_id: ID of braintreeGateway to update. (required) |
:param BraintreeGateway braintree_gateway: Attributes of braintreeGateway to update. (required) |
:return: BraintreeGateway |
If the method is called asynchronously, |
returns the request thread. |
"""""" |
kwargs['_return_http_data_only'] = True |
if kwargs.get('async'): |
return cls._update_braintree_gateway_by_id_with_http_info(braintree_gateway_id, braintree_gateway, **kwargs) |
else: |
(data) = cls._update_braintree_gateway_by_id_with_http_info(braintree_gateway_id, braintree_gateway, **kwargs) |
return data" |
4179,"def diagnose(df,preview_rows = 2, |
display_max_cols = 0,display_width = None): |
"""""" Prints information about the DataFrame pertinent to data cleaning. |
Parameters |
---------- |
df - DataFrame |
The DataFrame to summarize |
preview_rows - int, default 5 |
Amount of rows to preview from the head and tail of the DataFrame |
display_max_cols - int, default None |
Maximum amount of columns to display. If set to None, all columns will be displayed. |
If set to 0, only as many as fit in the screen's width will be displayed |
display_width - int, default None |
Width of output. Can be width of file or width of console for printing. |
Set to None for pandas to detect it from console. |
"""""" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.