Skip to content

Commit 6e6fa1e

Browse files
Update Diffusion Examples to 6.7.2
1 parent 0b17c68 commit 6e6fa1e

File tree

16 files changed

+69
-29
lines changed

16 files changed

+69
-29
lines changed

android/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ range query API does not use the `java.time` classes.
1414

1515
You can download the Android client library from the following location:
1616

17-
* [https://www.pushtechnology.com/developers/cloud/latest/#android-sdk](https://www.pushtechnology.com/developers/cloud/latest/#android-sdk)
17+
* [http://download.pushtechnology.com/cloud/latest/sdks.html](http://download.pushtechnology.com/cloud/latest/sdks.html#android)
1818

1919
The client library is also available in the `clients` directory of the Diffusion installation.
2020

apple/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ runtime platform. They will require minimum modification to run on either OS X o
1111

1212
You can download the Apple client libraries from the following location:
1313

14-
* [https://www.pushtechnology.com/developers/cloud/latest/#apple-sdk](https://www.pushtechnology.com/developers/cloud/latest/#apple-sdk)
14+
* [http://download.pushtechnology.com/cloud/latest/sdks.html](http://download.pushtechnology.com/cloud/latest/sdks.html#apple)
1515

1616
The client libraries are also available in the `clients` directory of the Diffusion installation.

c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The C API is available for the following operating systems:
1414

1515
You can download the C client libraries from the following locations:
1616

17-
* Download from [https://www.pushtechnology.com/developers/cloud/latest/#c-sdk](https://www.pushtechnology.com/developers/cloud/latest/#c-sdk)
17+
* Download from [our website](http://download.pushtechnology.com/cloud/latest/sdks.html#c)
1818

1919
* The client libraries are also available in the `clients` directory of the Diffusion server installation.
2020

dotnet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ In order for all examples to work you have to pull in
1313

1414
You can also download the client library from the following locations:
1515

16-
* Download from [https://www.pushtechnology.com/developers/cloud/latest/#dotnet-sdk](https://www.pushtechnology.com/developers/cloud/latest/#dotnet-sdk)
16+
* Download from [our website](http://download.pushtechnology.com/cloud/latest/sdks.html#dotnet)
1717

1818
* The client library is also available in the `clients` directory of the Diffusion server installation.

java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ The Java client library is available from the [Push Technology Maven repository]
1818

1919
You can also download the Java client library from the following locations:
2020

21-
* Download from [https://www.pushtechnology.com/developers/cloud/latest/#java-sdk](https://www.pushtechnology.com/developers/cloud/latest/#java-sdk)
21+
* Download from [our website](http://download.pushtechnology.com/cloud/latest/sdks.html#java)
2222

2323
* The client library is also available in the `clients` directory of the Diffusion installation.

java/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>com.pushtechnology.diffusion</groupId>
1313
<artifactId>diffusion-api-java-examples</artifactId>
14-
<version>6.7.1</version>
14+
<version>6.7.2</version>
1515
<packaging>jar</packaging>
1616
<description>Diffusion public API examples.</description>
1717

@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>com.pushtechnology.diffusion</groupId>
5656
<artifactId>diffusion-client</artifactId>
57-
<version>6.7.1</version>
57+
<version>6.7.2</version>
5858
<scope>runtime</scope>
5959
</dependency>
6060

js/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ You can install the Node version of the JavaScript client library with the follo
1313

1414
You can download the browser version of the JavaScript client library from the following locations:
1515

16-
* Download from [https://www.pushtechnology.com/developers/cloud/latest/#js-sdk](https://www.pushtechnology.com/developers/cloud/latest/#js-sdk)
16+
* Download from [our website](https://www.pushtechnology.com/developers/release/latest/#js-sdk)
1717

1818
* The client libraries are also available in the `clients` directory of the Diffusion installation.

js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "diffusion-examples",
3-
"version": "6.7.1",
3+
"version": "6.7.2",
44
"description": "Examples for using the Diffusion JavaScript client",
55
"main": "index.js",
66
"directories": {
77
"example": "examples"
88
},
99
"license": "Apache-2.0",
1010
"dependencies": {
11-
"diffusion": "6.7.1"
11+
"diffusion": "6.7.2"
1212
}
1313
}

python/examples/metrics/session_metrics.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ async def main():
2929
) as session:
3030
metrics = session.metrics
3131
session_filter = "x is 'y'"
32-
32+
3333
try:
34-
print(f"Adding the session metric collector 'Test' with session filter '{session_filter}'.")
35-
34+
print(
35+
f"""\
36+
Adding the session metric collector 'Test' with session filter '{session_filter}'."""
37+
)
38+
3639
collector = (
3740
SessionMetricCollectorBuilder()
3841
.group_by_properties("$Location")
@@ -54,10 +57,12 @@ async def main():
5457

5558
for session_metric_collector in listSessionMetricCollectors:
5659
print(
57-
f"Name: '{session_metric_collector.Name}', "
58-
f"Session filter: '{session_metric_collector.session_filter}', "
59-
f"Exports to Prometheus: '{session_metric_collector.exports_to_prometheus}', "
60-
f"Removes metrics with no matches: '{session_metric_collector.removes_metrics_with_no_matches}'"
60+
f"""
61+
Name: '{session_metric_collector.name}',
62+
Session filter: '{session_metric_collector.session_filter}',
63+
Exports to Prometheus: '{session_metric_collector.exports_to_prometheus}',
64+
Removes metrics with no matches: '{session_metric_collector.removes_metrics_with_no_matches}'
65+
"""
6166
)
6267

6368
for property in session_metric_collector.group_by_properties:

python/examples/metrics/topic_metrics.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ async def main():
3232

3333
try:
3434
print(
35-
f"Adding the topic metric collector 'Test' with topic selector '{topic_selector}'."
35+
f"""\
36+
Adding the topic metric collector 'Test' with topic selector '{topic_selector}'.
37+
"""
3638
)
3739

3840
collector = (

0 commit comments

Comments
 (0)