Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
tweet_model
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • serpucga
  • tweet_model
  • Repository

Switch branch/tag
  • tweet_model
  • setup.py
Find file
BlameHistoryPermalink
  • Serbaf's avatar
    Refactoring and modularization · f80d9a00
    Serbaf authored Mar 26, 2019
    Since the last release the main improvements have been:
    
     * Raise a custom exception instead of sysexiting when confronted with a wrong
     CSV file.
     * Change prints for logger messages.
     * Modularize the "get_tweets_from_csv" dividing it into 3 functions to
     provide more isolated functions. Now this function makes use of
     "get_tweet_from_csv_line", which returns a single Tweet object when
     provided with two lists representing the contents of a CSV header and
     one of its entries. There is also a "raw" alternative of that
     function, which works with raw lines and converts them to lists to then
     call the "non-raw" version.
    f80d9a00
setup.py 1.62 KB
EditWeb IDE
×

Replace setup.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.