Skip to content

Commit

Permalink
Generated 2023-10-09 for EmrStudio.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Mar 26, 2024
1 parent 95a122d commit a22ae57
Show file tree
Hide file tree
Showing 10 changed files with 165 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-emrstudio/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2024-03-26 Version: 1.0.0
- Generated 2023-10-09 for `EmrStudio`.

13 changes: 13 additions & 0 deletions aliyun-python-sdk-emrstudio/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 1999-present Alibaba Group Holding Ltd.

Licensed 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

http://www.apache.org/licenses/LICENSE-2.0

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.
1 change: 1 addition & 0 deletions aliyun-python-sdk-emrstudio/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include LICENSE README.rst ChangeLog.txt
15 changes: 15 additions & 0 deletions aliyun-python-sdk-emrstudio/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
=============================================================
aliyun-python-sdk-emrstudio
=============================================================

.. This is the emrstudio module of Aliyun Python SDK.
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.

This module works on Python versions:

2.6.5 and greater

**Documentation:**

Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
1 change: 1 addition & 0 deletions aliyun-python-sdk-emrstudio/aliyunsdkemrstudio/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.0.0'
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 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
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# 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.

from aliyunsdkcore.request import RoaRequest

class ListProjectsRequest(RoaRequest):

def __init__(self):
RoaRequest.__init__(self, 'EmrStudio', '2023-10-09', 'ListProjects')
self.set_protocol_type('https')
self.set_uri_pattern('/dolphinscheduler/v3/projects')
self.set_method('GET')

def get_searchVal(self): # String
return self.get_query_params().get('searchVal')

def set_searchVal(self, searchVal): # String
self.add_query_param('searchVal', searchVal)
def get_nextToken(self): # String
return self.get_query_params().get('nextToken')

def set_nextToken(self, nextToken): # String
self.add_query_param('nextToken', nextToken)
def get_maxResults(self): # Integer
return self.get_query_params().get('maxResults')

def set_maxResults(self, maxResults): # Integer
self.add_query_param('maxResults', maxResults)
def get_workspaceId(self): # Long
return self.get_query_params().get('workspaceId')

def set_workspaceId(self, workspaceId): # Long
self.add_query_param('workspaceId', workspaceId)
Empty file.
5 changes: 5 additions & 0 deletions aliyun-python-sdk-emrstudio/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[metadata]
license_file = LICENSE

[bdist_wheel]
universal = 1
78 changes: 78 additions & 0 deletions aliyun-python-sdk-emrstudio/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
#!/usr/bin/python
'''
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
http://www.apache.org/licenses/LICENSE-2.0
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.
'''

from setuptools import setup, find_packages
import os
import sys

"""
setup module for emrstudio.
Created on 7/3/2015
@author: alex
"""

PACKAGE = "aliyunsdkemrstudio"
NAME = "aliyun-python-sdk-emrstudio"
DESCRIPTION = "The emrstudio module of Aliyun Python sdk."
AUTHOR = "Aliyun"
AUTHOR_EMAIL = "[email protected]"
URL = "http://develop.aliyun.com/sdk/python"

TOPDIR = os.path.dirname(__file__) or "."
VERSION = __import__(PACKAGE).__version__

desc_file = open("README.rst")
try:
LONG_DESCRIPTION = desc_file.read()
finally:
desc_file.close()

setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license="Apache",
url=URL,
keywords=["aliyun","sdk","emrstudio"],
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
platforms="any",
install_requires=["aliyun-python-sdk-core>=2.11.5",],
classifiers=(
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development",
)

)

0 comments on commit a22ae57

Please sign in to comment.