Skip to content

Commit dfa5dbc

Browse files
Populate git meta on sdk
1 parent 35af06f commit dfa5dbc

14 files changed

+16
-16
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Python 3.7+
2121
If the python package is hosted on a repository, you can install directly using:
2222

2323
```sh
24-
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
24+
pip install git+https://github.com/makeplane/plane-python-sdk.git
2525
```
26-
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
26+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/makeplane/plane-python-sdk.git`)
2727

2828
Then import the package:
2929
```python

git_push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ if [ "$git_host" = "" ]; then
1414
fi
1515

1616
if [ "$git_user_id" = "" ]; then
17-
git_user_id="GIT_USER_ID"
17+
git_user_id="makeplane"
1818
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
1919
fi
2020

2121
if [ "$git_repo_id" = "" ]; then
22-
git_repo_id="GIT_REPO_ID"
22+
git_repo_id="plane-python-sdk"
2323
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
2424
fi
2525

plane/models/access_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AccessEnum(str, Enum):
3434
EXTERNAL = 'EXTERNAL'
3535

3636
@classmethod
37-
def from_json(cls, json_str: str) -> AccessEnum:
37+
def from_json(cls, json_str: str) -> AccessEnum: # noqa: F821
3838
"""Create an instance of AccessEnum from a JSON string"""
3939
return AccessEnum(json.loads(json_str))
4040

plane/models/entity_type_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class EntityTypeEnum(str, Enum):
3434
USER_COVER = 'USER_COVER'
3535

3636
@classmethod
37-
def from_json(cls, json_str: str) -> EntityTypeEnum:
37+
def from_json(cls, json_str: str) -> EntityTypeEnum: # noqa: F821
3838
"""Create an instance of EntityTypeEnum from a JSON string"""
3939
return EntityTypeEnum(json.loads(json_str))
4040

plane/models/group_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class GroupEnum(str, Enum):
3838
TRIAGE = 'triage'
3939

4040
@classmethod
41-
def from_json(cls, json_str: str) -> GroupEnum:
41+
def from_json(cls, json_str: str) -> GroupEnum: # noqa: F821
4242
"""Create an instance of GroupEnum from a JSON string"""
4343
return GroupEnum(json.loads(json_str))
4444

plane/models/intake_issue_status_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class IntakeIssueStatusEnum(int, Enum):
3737
NUMBER_2 = 2
3838

3939
@classmethod
40-
def from_json(cls, json_str: str) -> IntakeIssueStatusEnum:
40+
def from_json(cls, json_str: str) -> IntakeIssueStatusEnum: # noqa: F821
4141
"""Create an instance of IntakeIssueStatusEnum from a JSON string"""
4242
return IntakeIssueStatusEnum(json.loads(json_str))
4343

plane/models/module_status_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ModuleStatusEnum(str, Enum):
3838
CANCELLED = 'cancelled'
3939

4040
@classmethod
41-
def from_json(cls, json_str: str) -> ModuleStatusEnum:
41+
def from_json(cls, json_str: str) -> ModuleStatusEnum: # noqa: F821
4242
"""Create an instance of ModuleStatusEnum from a JSON string"""
4343
return ModuleStatusEnum(json.loads(json_str))
4444

plane/models/network_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class NetworkEnum(int, Enum):
3434
NUMBER_2 = 2
3535

3636
@classmethod
37-
def from_json(cls, json_str: str) -> NetworkEnum:
37+
def from_json(cls, json_str: str) -> NetworkEnum: # noqa: F821
3838
"""Create an instance of NetworkEnum from a JSON string"""
3939
return NetworkEnum(json.loads(json_str))
4040

plane/models/priority_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PriorityEnum(str, Enum):
3737
NONE = 'none'
3838

3939
@classmethod
40-
def from_json(cls, json_str: str) -> PriorityEnum:
40+
def from_json(cls, json_str: str) -> PriorityEnum: # noqa: F821
4141
"""Create an instance of PriorityEnum from a JSON string"""
4242
return PriorityEnum(json.loads(json_str))
4343

plane/models/property_type_enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class PropertyTypeEnum(str, Enum):
4141
FILE = 'FILE'
4242

4343
@classmethod
44-
def from_json(cls, json_str: str) -> PropertyTypeEnum:
44+
def from_json(cls, json_str: str) -> PropertyTypeEnum: # noqa: F821
4545
"""Create an instance of PropertyTypeEnum from a JSON string"""
4646
return PropertyTypeEnum(json.loads(json_str))
4747

0 commit comments

Comments
 (0)