{"action":"created","issue":{"url":"https://api.github.com/repos/oss-gate/workshop/issues/835","repository_url":"https://api.github.com/repos/oss-gate/workshop","labels_url":"https://api.github.com/repos/oss-gate/workshop/issues/835/labels{/name}","comments_url":"https://api.github.com/repos/oss-gate/workshop/issues/835/comments","events_url":"https://api.github.com/repos/oss-gate/workshop/issues/835/events","html_url":"https://github.com/oss-gate/workshop/issues/835","id":326870185,"number":835,"title":"OSS Gate Workshop: MonotaRO: 2018-05-28: licuiwei: Luigi: Work log","user":{"login":"licuiwei","id":39683511,"avatar_url":"https://avatars3.githubusercontent.com/u/39683511?v=4","gravatar_id":"","url":"https://api.github.com/users/licuiwei","html_url":"https://github.com/licuiwei","followers_url":"https://api.github.com/users/licuiwei/followers","following_url":"https://api.github.com/users/licuiwei/following{/other_user}","gists_url":"https://api.github.com/users/licuiwei/gists{/gist_id}","starred_url":"https://api.github.com/users/licuiwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licuiwei/subscriptions","organizations_url":"https://api.github.com/users/licuiwei/orgs","repos_url":"https://api.github.com/users/licuiwei/repos","events_url":"https://api.github.com/users/licuiwei/events{/privacy}","received_events_url":"https://api.github.com/users/licuiwei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-05-28T01:33:19Z","updated_at":"2018-05-28T02:33:28Z","closed_at":null,"author_association":"NONE","body":"This is a work log of a \"OSS Gate workshop\".\r\n\"OSS Gate workshop\" is an activity to increase OSS developers.\r\nHere's been discussed in Japanese. Thanks.\r\n\r\n## 作業ログ作成時の説明\r\n\r\n以下のテンプレートを埋めてタイトルに設定します。埋め方例はスクロールすると見えてきます。\r\n\r\n    OSS Gate Workshop: ${LOCATION}: ${YEAR}-${MONTH}-${DAY}: ${ACCOUNT_NAME}: ${OSS_NAME}: Work log\r\n\r\nタイトル例↓：\r\n\r\n    OSS Gate Workshop: Tokyo: 2017-01-16: kou: Rabbit: Work log\r\n\r\n## OSS Gateワークショップ関連情報\r\n\r\n  * [スライド](https://slide.rabbit-shocker.org/authors/oss-gate/)：ワークショップの進行に使っているスライドがあります。\r\n  * [チャット](https://gitter.im/oss-gate/devel)：OSS開発に関することならなんでも相談できます。ワークショップが終わった後もオンラインで相談しながら継続的にOSSの開発に参加しましょう！\r\n  * [シナリオ](https://github.com/oss-gate/workshop/blob/master/tutorial/scenario.md)：ワークショップの目的・内容・進め方の詳細が書いています。\r\n  * [過去のビギナーの作業ログ](https://github.com/oss-gate/workshop/issues?q=is%3Aissue+is%3Aclosed+\"OSS+Gate+Workshop\"+in%3Atitle)：他の人の作業ログから学べることがいろいろあるはずです。\r\n"},"comment":{"url":"https://api.github.com/repos/oss-gate/workshop/issues/comments/392403504","html_url":"https://github.com/oss-gate/workshop/issues/835#issuecomment-392403504","issue_url":"https://api.github.com/repos/oss-gate/workshop/issues/835","id":392403504,"user":{"login":"licuiwei","id":39683511,"avatar_url":"https://avatars3.githubusercontent.com/u/39683511?v=4","gravatar_id":"","url":"https://api.github.com/users/licuiwei","html_url":"https://github.com/licuiwei","followers_url":"https://api.github.com/users/licuiwei/followers","following_url":"https://api.github.com/users/licuiwei/following{/other_user}","gists_url":"https://api.github.com/users/licuiwei/gists{/gist_id}","starred_url":"https://api.github.com/users/licuiwei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/licuiwei/subscriptions","organizations_url":"https://api.github.com/users/licuiwei/orgs","repos_url":"https://api.github.com/users/licuiwei/repos","events_url":"https://api.github.com/users/licuiwei/events{/privacy}","received_events_url":"https://api.github.com/users/licuiwei/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T02:33:28Z","updated_at":"2018-05-28T02:33:28Z","author_association":"NONE","body":"added local_scheduler=True to script, and code is now:\r\nimport luigi\r\nclass MyTask1(luigi.Task):\r\n    x = luigi.IntParameter()\r\n    y = luigi.IntParameter(default=0)\r\n\r\n    def run(self):\r\n        print(self.x + self.y)\r\n\r\n\r\nclass MyTask2(luigi.Task):\r\n    x = luigi.IntParameter()\r\n    y = luigi.IntParameter(default=1)\r\n    z = luigi.IntParameter(default=2)\r\n\r\n    def run(self):\r\n        print(self.x * self.y * self.z)\r\n\r\n\r\nif __name__ == '__main__':\r\n    luigi.build([MyTask1(x=10), MyTask2(x=15, z=3)], local_scheduler=True)\r\n"}}
{"actor":{"display_login":"licuiwei"}}