Skip to content

Commit 7be6beb

Browse files
authored
Merge pull request #239 from ee0703/master
kirk更改为compute并更新changelog
2 parents ceb1116 + 2007c79 commit 7be6beb

File tree

7 files changed

+10
-5
lines changed

7 files changed

+10
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#Changelog
22

3+
## 7.1.0 (2016-12-08)
4+
### 增加
5+
* 通用计算支持
6+
37
## 7.0.10 (2016-11-29)
48
### 修正
59
* 去掉homedir

manual_test_kirk.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
import logging
1111
import pytest
1212
from qiniu import auth
13-
from qiniu.services import kirk
13+
from qiniu.services import compute
1414

1515

1616
access_key = os.getenv('QINIU_ACCESS_KEY')
1717
secret_key = os.getenv('QINIU_SECRET_KEY')
1818
qn_auth = auth.QiniuMacAuth(access_key, secret_key)
19-
acc_client = kirk.app.AccountClient(qn_auth)
19+
acc_client = compute.app.AccountClient(qn_auth)
2020
qcos_client = None
2121
user_name = ''
2222
app_uri = ''
@@ -25,7 +25,7 @@
2525

2626

2727
def setup_module(module):
28-
acc_client = kirk.app.AccountClient(qn_auth)
28+
acc_client = compute.app.AccountClient(qn_auth)
2929
user_info = acc_client.get_account_info()[0]
3030
acc_client.create_app({'name': app_name, 'title': 'whatever', 'region': app_region})
3131

qiniu/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# flake8: noqa
1111

12-
__version__ = '7.0.10'
12+
__version__ = '7.1.0'
1313

1414
from .auth import Auth, QiniuMacAuth
1515

@@ -20,6 +20,7 @@
2020
from .services.storage.uploader import put_data, put_file, put_stream
2121
from .services.processing.pfop import PersistentFop
2222
from .services.processing.cmd import build_op, pipe_cmd, op_save
23-
from .services.kirk.app import AccountClient
23+
from .services.compute.app import AccountClient
24+
from .services.compute.qcos_api import QcosClient
2425

2526
from .utils import urlsafe_base64_encode, urlsafe_base64_decode, etag, entry
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)