Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmonteiro committed Feb 1, 2024
1 parent 1e2989e commit a7f735e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: tercen/actions/start-tercen@main
# - uses: tercen/[email protected]
- name: Check open port
run: bash wait_conn.sh 127.0.0.1 5400
# - uses: nrukavkov/open-ports-check-action@v1
# with:
# port: 5400
# host: '127.0.0.1'
# pause: 2000
# needFail: 'true'
# reverse: 'false'
- name: Install client dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down
8 changes: 0 additions & 8 deletions tercen/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,6 @@ def __init__(self, m=None):
self.isPublic = True
self.acl = impl.Acl()
self.createdDate = impl.Date()
self.createdBy = ""
self.lastModifiedDate = impl.Date()
self.urls = list()
self.meta = list()
Expand Down Expand Up @@ -889,11 +888,6 @@ def fromJson(self, m):
else:
self.url = UrlBase.createFromJson(m.get(Vocabulary.url_OP))

if m.get(Vocabulary.createdBy_DP) is None:
self.createdBy = ""
else:
self.createdBy = m[Vocabulary.createdBy_DP]

@classmethod
def createFromJson(cls, m):
import tercen.model.impl as impl
Expand Down Expand Up @@ -967,7 +961,6 @@ def toJson(self):
m[Vocabulary.url_OP] = self.url if self.url is None else self.url.toJson()
m[Vocabulary.version_DP] = self.version
m[Vocabulary.isPublic_DP] = self.isPublic
m[Vocabulary.createdBy_DP] = self.createdBy
return m


Expand Down Expand Up @@ -1015,7 +1008,6 @@ def fromJson(self, m):
else:
self.billingInfo = BillingInfoBase.createFromJson(
m.get(Vocabulary.billingInfo_OP))


@classmethod
def createFromJson(cls, m):
Expand Down
1 change: 0 additions & 1 deletion tercen/model/vocabulary.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,4 +592,3 @@
palette_OP = "palette";
mainRelation_OP = "mainRelation";
metaData_OP = "metaData";
createdBy_DP = "createdBy";
1 change: 0 additions & 1 deletion tercen/util/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def add_table_step(self, data, int_columns=None, name=None):
fileDoc.name = "data.csv"
fileDoc.projectId = self.proj.id
fileDoc.acl.owner = self.proj.acl.owner
fileDoc.createdBy = self.proj.acl.owner
fileDoc.metadata.contentEncoding = "application/octet-stream"

self.fileDoc = self.client.fileService.uploadTable(fileDoc, utl.dataframe_to_table(df, values_as_list=True)[0].toJson() )
Expand Down

0 comments on commit a7f735e

Please sign in to comment.