Navigation

    Quantiacs Community

    • Register
    • Login
    • Search
    • Categories
    • News
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Local Development with Notifications

    Support
    4
    4
    290
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nosaai
      nosaai last edited by

      I successfully installed a things required for local development without a hitch. All seems well and things run except I get the following notifications:

      NOTICE: The environment variable DATA_BASE_URL was not specified. The default value is 'https://data-api.quantiacs.io/'
      NOTICE: The environment variable CACHE_RETENTION was not specified. The default value is '7'
      NOTICE: The environment variable CACHE_DIR was not specified. The default value is 'data-cache'

      Is there a way to get rid of all this? Maybe I am missing something. Please advise.

      1 Reply Last reply Reply Quote 0
      • A
        antinomy last edited by

        It's safe to ignore these notices but if they bother you, you can set the variables together with your API key using the defaults and the messages go away:

        import os
        
        os.environ['API_KEY'] = 'YOUR-API-KEY'
        os.environ['DATA_BASE_URL'] = 'https://data-api.quantiacs.io/'
        os.environ['CACHE_RETENTION'] = '7'
        os.environ['CACHE_DIR'] = 'data-cache'
        
        1 Reply Last reply Reply Quote 0
        • L
          linen.jynx Banned last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • X
            xfinityauthorize Banned last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors
            • Documentation
            • About
            • Career
            • My account
            • Privacy policy
            • Terms and Conditions
            • Cookies policy
            Home
            Copyright © 2014 - 2021 Quantiacs LLC.
            Powered by NodeBB | Contributors