Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jpush-api-python-client
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
jpush-api-python-client
Commits
d2c06e81
Commit
d2c06e81
authored
Jun 20, 2014
by
hupantingxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify function detail doc;
parent
de94b5d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
audience.py
jpush/push/audience.py
+3
-3
core.py
jpush/push/core.py
+1
-1
No files found.
jpush/push/audience.py
View file @
d2c06e81
...
...
@@ -3,17 +3,17 @@ import re
# Value selectors; aliases, tags, etc.
def
tag
(
*
tags
):
"""Select a
single tag
."""
"""Select a
(list of) tag(s)
."""
vtag
=
[
t
for
t
in
tags
]
return
{
"tag"
:
vtag
}
def
tag_and
(
*
tag_ands
):
"""Select a
single tag_and
."""
"""Select a
(list of) tag_and(s)
."""
vtag_and
=
[
t
for
t
in
tag_ands
]
return
{
"tag_and"
:
vtag_and
}
def
alias
(
*
alias
):
"""Select a
single alias
."""
"""Select a
(list of) alias(es)
."""
valias
=
[
t
for
t
in
alias
]
return
{
"alias"
:
valias
}
...
...
jpush/push/core.py
View file @
d2c06e81
...
...
@@ -37,7 +37,7 @@ class Push(object):
:returns: :py:class:`PushResponse` object with ``push_ids`` and
other response data.
:raises
Airship
Failure: Request failed.
:raises
JPush
Failure: Request failed.
:raises Unauthorized: Authentication failed.
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment