You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2021/04/08 05:37:25 UTC
[flink-statefun] branch master updated (27a709b -> 379957c)
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git.
from 27a709b [hotfix] [docs] Replace Flink with StateFun in docs landing page
new 2c3742a [hotfix] Update README.md
new 379957c [hotfix][python] fix bad interpolation
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 4 ++--
statefun-sdk-python/statefun/statefun_builder.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
[flink-statefun] 02/02: [hotfix][python] fix bad interpolation
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 379957c557d74ab01f23df3fbb51f891197c25fe
Author: Seth Wiesman <sj...@gmail.com>
AuthorDate: Tue Apr 6 17:47:40 2021 -0500
[hotfix][python] fix bad interpolation
This closes #220.
---
statefun-sdk-python/statefun/statefun_builder.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/statefun-sdk-python/statefun/statefun_builder.py b/statefun-sdk-python/statefun/statefun_builder.py
index ade3b63..8d14a69 100644
--- a/statefun-sdk-python/statefun/statefun_builder.py
+++ b/statefun-sdk-python/statefun/statefun_builder.py
@@ -58,7 +58,7 @@ class StatefulFunctions(object):
sig = inspect.getfullargspec(fun)
if len(sig.args) != 2:
raise ValueError(
- f"The registered function ${typename} does not expect a context and a message but rather {sig.args}.")
+ f"The registered function {typename} does not expect a context and a message but rather {sig.args}.")
self._functions[typename] = StatefulFunction(fun=fun, specs=storage_spec, is_async=is_async)
def bind(self, typename, specs: typing.List[ValueSpec] = None):
[flink-statefun] 01/02: [hotfix] Update README.md
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 2c3742a1b55a35686a0b8741457843263b201fc6
Author: Siddique Ahmad <Si...@gmail.com>
AuthorDate: Thu Apr 8 09:21:26 2021 +0500
[hotfix] Update README.md
This closes #221.
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 92dcd7c..0fabab8 100755
--- a/README.md
+++ b/README.md
@@ -117,7 +117,7 @@ This makes it possible to execute functions on a Kubernetes deployment, a FaaS p
Follow the steps here to get started right away with Stateful Functions.
This guide will walk you through setting up to
-start developing and testing your own Stateful Functions (Java) application, and running an existing example. If you prefer to get started with Python, have a look into the [StateFun Python SDK](https://github.com/apache/flink-statefun/tree/master/statefun-sdk-python) and the [Python Greeter example](https://github.com/apache/flink-statefun/tree/master/statefun-examples/statefun-python-greeter-example).
+start developing and testing your own Stateful Functions (Java) application, and running an existing example. If you prefer to get started with Python, have a look into the [StateFun Python SDK](https://github.com/apache/flink-statefun/tree/master/statefun-sdk-python) and the [Python Greeter example](https://github.com/apache/flink-statefun-playground/tree/dev/python/greeter).
### <a name="project-setup"></a>Project Setup
@@ -157,7 +157,7 @@ Please see the [Harness example](statefun-examples/statefun-flink-harness-exampl
### <a name="greeter"></a>Running a full example
-As a simple demonstration, we will be going through the steps to run the [Greeter example](statefun-examples/statefun-greeter-example).
+As a simple demonstration, we will be going through the steps to run the [Greeter example](https://github.com/apache/flink-statefun-playground/tree/dev/java/greeter).
Before anything else, make sure that you have locally [built the project as well as the base Stateful Functions Docker image](#build).
Then, follow the next steps to run the example: