Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 898bbe5

Browse files
authored
Clarify that sar_client is keyword argument (#18)
1 parent 60b8d0b commit 898bbe5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import serverlessrepo
2020

2121
### Publish Applications
2222

23-
#### publish_application(template, sar_client)
23+
#### publish_application(template, sar_client=None)
2424

2525
Given an [AWS Serverless Application Model (SAM)](https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md) template, it publishes a new application using the specified metadata in AWS Serverless Application Repository. If the application already exists, it updates metadata of the application and publishes a new version if specified in the template.
2626

@@ -67,7 +67,7 @@ There are three possible values for the `actions` field:
6767
* If application is updated, it shows updated metadata values.
6868
* If application is updated and new version is created, it shows updated metadata values as well as the new version number.
6969

70-
#### update_application_metadata(template, application_id, sar_client)
70+
#### update_application_metadata(template, application_id, sar_client=None)
7171

7272
Parses the application metadata from the SAM template and only updates the metadata.
7373

@@ -88,15 +88,15 @@ with open('template.yaml', 'r') as f:
8888

8989
### Manage Application Permissions
9090

91-
#### make_application_public(application_id, sar_client)
91+
#### make_application_public(application_id, sar_client=None)
9292

9393
Makes an application public so that it's visible to everyone.
9494

95-
#### make_application_private(application_id, sar_client)
95+
#### make_application_private(application_id, sar_client=None)
9696

9797
Makes an application private so that it's only visible to the owner.
9898

99-
#### share_application_with_accounts(application_id, account_ids, sar_client)
99+
#### share_application_with_accounts(application_id, account_ids, sar_client=None)
100100

101101
Shares the application with specified AWS accounts.
102102

serverlessrepo/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Serverlessrepo version and package meta-data."""
22

33
__title__ = 'serverlessrepo'
4-
__version__ = '0.1.2'
4+
__version__ = '0.1.3'
55
__license__ = 'Apache 2.0'
66
__description__ = (
77
'A Python library with convenience helpers for working '

0 commit comments

Comments
 (0)