2 years ago
I am very new to python, and I went trhough the railway docs but I stil couldn't understand exactly how to set up the secret variables. What I am trying to do is very simple, I have two api keys, strings, i have loaded them up as service variables, and I put them in quotation marks...is that right? Or they dont need quotations?
I called them KeyA and KeyB, in the variables section
In my python class, I'll want to write
self.keyA = KeyA
self.keyB = KeyB
So exactly how do I write KeyA, and KeyB in my app? I couldn't figure it out from the documentation and Im wasting time trying different things. Thanks
5 Replies
2 years ago
Well Ive tried so many times I guess. I've tried all the things that I think make sense, but I need some guidance.
2 years ago
Strange I thought I did and that one had errored too, but I got up this morning and it's working. So I'm happy now, thanks.
Status changed to Solved brody • over 1 year ago
