Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read in Assignments from CSV #12

Closed
samhinshaw opened this issue Aug 24, 2018 · 1 comment
Closed

Read in Assignments from CSV #12

samhinshaw opened this issue Aug 24, 2018 · 1 comment
Labels
deprecated function Function that is not currently necessary, but may be useful in the future.

Comments

@samhinshaw
Copy link
Contributor

The development of this function was tabled in favor of the config file. Still, it may be a useful option to have in the future.

def get_assignments_from_csv(self, path: str):
  """
  Bring in assignments from a CSV file. 
  CSV file should contain the following columns: 
  
  [required]
  - name (str): the name of the assignment
  - duedate (str): due date for the assignment
  - notebook_path (str): github URL at which the jupyter notebook lives
  - points_possible (int): the number of possible points

  [optional]
  - published (bool): whether the assignment should be published
  - description (str): a description of the assignment
  - unlock_at (str): a date at which the assignment becomes available
  - lock_at (str): date after the due date to which students can submit their assignment for partial credit

  :param path: Path to the CSV file. 
  """
  assignments = pd.read_csv(path)
  print(assignments)
@samhinshaw samhinshaw added the deprecated function Function that is not currently necessary, but may be useful in the future. label Aug 24, 2018
@trevorcampbell
Copy link
Contributor

no longer relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecated function Function that is not currently necessary, but may be useful in the future.
Projects
None yet
Development

No branches or pull requests

2 participants