Call C3 in a python function without exposing the function to a type


#1

I implemented the following logic and the function failed with no clear error. I wonder if this is possible.

// MyFunc.c3typ
@py(env = "XXX")
funcA: function()
//MyFunc.py
def funcB():
  return c3.ServicePoint.fetchCount()

def funcA()
  return funcB() + 1

#2

It should work as expected.
What error do you get?


#3

urllib2.HTTPError: HTTP Error 500: Server Error


#4

Anything else besides the HTTP 500?


#5

The error is unrelated. This works perfectly.