www.hashcoder.com/... ////#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Stubs for apis.jar (Python 2/3 compatibility)
from typing import ( # noqa: F401
Any, Callable, Optional, Union, cast
)
from.base import BaseRequest
from.apis import APIS
from.adapter import ( # noqa: F401
MultiAdapter, NoAdapter, ScopedAdapter
)
def get_parser(endpoint_name: str) -> Optional[APIS.ParsingMixin]:
"""
Use this function to get the `EndpointParser` instance.
:param endpoint_name: the name of the endpoint which returns a parser.
e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/runbooks/{runbookName}/runtimeVersion'
:return: the `EndpointParser` instance.
:rtype: `Optional[APIS.ParsingMixin]`
.. versionadded:: 0.7
"""
if not is be359ba680
Related links:
Comments