diff --git a/docs/Functions.ipynb b/docs/Functions.ipynb index 48a3945..67f3ef5 100644 --- a/docs/Functions.ipynb +++ b/docs/Functions.ipynb @@ -42,7 +42,7 @@ "class MyPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"defining-functions\")\n", + " super().__init__()\n", " \n", " @events.invoke\n", " def lambda_func(self, event, context):\n", @@ -140,7 +140,7 @@ "class MyPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"helper-function\")\n", + " super().__init__()\n", " \n", " def helper_function(self):\n", " return \"Hello World!\"\n", diff --git a/docs/Pipeline.ipynb b/docs/Pipeline.ipynb index b59f5ad..b4267c8 100644 --- a/docs/Pipeline.ipynb +++ b/docs/Pipeline.ipynb @@ -42,7 +42,7 @@ "class SimplestPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"pipeline\")\n", + " super().__init__()\n", " \n", " @events.invoke\n", " def lambda_func(self, event, context):\n", @@ -78,8 +78,7 @@ "class NotSoSimplePipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"pipeline\",\n", - " resources=[bucket, queue])\n", + " super().__init__(resources=[bucket, queue])\n", " \n", " @events.bucket_notification(bucket=bucket, event_type=\"s3:ObjectCreated:Put\", destination=queue)\n", " def bucket_kickoff(self, event, context):\n", @@ -299,7 +298,7 @@ "class MyPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"pipeline\")\n", + " super().__init__()\n", " self.execution.runtime = \"python2.7\"\n", " self.execution.region = \"us-west-2\"\n", " self.execution.stage = \"prod\"" diff --git a/docs/Resources.ipynb b/docs/Resources.ipynb index 4465ac4..d73b116 100644 --- a/docs/Resources.ipynb +++ b/docs/Resources.ipynb @@ -171,8 +171,7 @@ "class MyPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"pipeline-name\",\n", - " resources=[my_topic, my_table])" + " super().__init__(resources=[my_topic, my_table])" ] }, { @@ -191,8 +190,7 @@ "class MyPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"pipeline-name\",\n", - " resources=[my_topic, my_table])\n", + " super().__init__(resources=[my_topic, my_table])\n", " \n", " @events.sns(resource=my_topic)\n", " def sns_trigger(self, event, context):\n", @@ -215,8 +213,7 @@ "class MyPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"pipeline-name\",\n", - " resources=[my_topic, my_table])\n", + " super().__init__(resources=[my_topic, my_table])\n", " \n", " @events.sns(resource=my_topic)\n", " def sns_trigger(self, event, context):\n", diff --git a/docs/quickstart.ipynb b/docs/quickstart.ipynb index 0a917d8..5beaeac 100644 --- a/docs/quickstart.ipynb +++ b/docs/quickstart.ipynb @@ -49,7 +49,7 @@ "class MyFirstPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"my-first-pipeline\")" + " super().__init__()" ] }, { @@ -69,7 +69,7 @@ "class MyFirstPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"my-first-pipeline\")\n", + " super().__init__()\n", " \n", " @events.http(method=\"get\", path=\"helloworld\", cors=\"true\")\n", " def hello_world(self, event, context):\n", @@ -116,8 +116,7 @@ "class MyFirstPipeline(Pipeline):\n", " \n", " def __init__(self):\n", - " super().__init__(name=\"my-first-pipeline\",\n", - " resources=[table])\n", + " super().__init__(resources=[table])\n", " \n", " @events.http(method=\"get\", path=\"helloworld/{message}\", cors=\"true\")\n", " def hello_world(self, event, context):\n",