Skip to content

Commit 31848c4

Browse files
authored
doc fixes and version up (#7)
1 parent 6e31f55 commit 31848c4

6 files changed

Lines changed: 30 additions & 12 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Pages
22
on:
33
push:
44
branches:
5-
- pfefar/fixes
5+
- main
66
jobs:
77
build:
88
runs-on: ubuntu-20.04

docs/changelog.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ The Change Log for this project contains all meaningful changes to the function
44
of the code base.
55

66
(v0.1.0) :
7-
- Added SFTP and Buyer classes for sdk interactions.
7+
- Added SFTP and Buyer classes for sdk interactions.
8+
9+
(v0.2.0) :
10+
- removed sftp and bunch of refactors

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = "fortress_sdk"
1010
copyright = "2022, Fortress Labs"
1111
author = "Fortress Labs"
12-
release = "0.1.0"
12+
release = "0.2.0"
1313

1414
# add sourcecode to path
1515
import sys, os

docs/tutorial.rst

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,32 @@ Pretty print query history
6363
6464
6565
66+
Get queryable table names
67+
----------------------------
68+
69+
.. code-block:: python
70+
71+
print("----------------------TABLE NAMES-----------------------")
72+
columns = buyer.get_columns()
73+
print(columns.keys())
74+
75+
['CONDITION_ERA', 'CONDITION_ERA_CONDITION_OCCURRENCE', 'CONDITION_ERA_DEATH',
76+
'CONDITION_ERA_DEVICE_EXPOSURE', 'CONDITION_ERA_DOSE_ERA', 'CONDITION_ERA_DRUG_ERA',
77+
'CONDITION_ERA_DRUG_EXPOSURE', 'CONDITION_ERA_EPISODE', 'CONDITION_ERA_MEASUREMENT',
78+
...
79+
...
80+
'PROCEDURE_OCCURRENCE_VISIT_DETAIL', 'PROCEDURE_OCCURRENCE_VISIT_OCCURRENCE', 'SPECIMEN',
81+
'SPECIMEN_VISIT_DETAIL', 'SPECIMEN_VISIT_OCCURRENCE', 'VISIT_DETAIL',
82+
'VISIT_DETAIL_VISIT_OCCURRENCE', 'VISIT_OCCURRENCE']
83+
84+
85+
6686
Get queryable table columns
6787
------------------------------
6888

6989
.. code-block:: python
7090
71-
###########################################
72-
#### Print Table DDL columns ####
73-
###########################################
74-
75-
76-
print("-----------------------COLUMNS-----------------------")
91+
print("----------------------TABLE COLUMNS-----------------------")
7792
columns = buyer.get_columns()
7893
print(columns["PERSON"])
7994
print(columns["PERSON_VISIT_OCCURRENCE"])
@@ -93,4 +108,4 @@ Get queryable table columns
93108
'provider_id', 'race_concept_id', 'race_source_concept_id', 'race_source_value',
94109
'visit_concept_id', 'visit_end_date', 'visit_end_datetime', 'visit_occurrence_id',
95110
'visit_source_concept_id', 'visit_source_value', 'visit_start_date', 'visit_start_datetime',
96-
'visit_type_concept_id', 'year_of_birth']
111+
'visit_type_concept_id', 'year_of_birth']

fortress_sdk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.2.0"
22
__author__ = "Fortress Labs"
33

44
from .fortress_sdk import Buyer

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
VERSION = "0.1.0"
3+
VERSION = "0.2.0"
44
DESCRIPTION = "Fortress SDK"
55
LONG_DESCRIPTION = (
66
"SDK for accesssing and performing private computation on Fortress platform"

0 commit comments

Comments
 (0)