cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

CREOSON: What's the hidden purpose that I don't understand?

SOLVED
Highlighted
Bedrock

CREOSON: What's the hidden purpose that I don't understand?

I tried equivalent functions listed in the manual https://creopyson.readthedocs.io/en/latest/modules.html for example:

  1. Called through a client session : c.drawing_get_sheet_format(1)
  2. Called from Creopyson module : creopyson.drawing.get_sheet_format(c,1)

And I found that they return the same result. Please ignore the specific example of "get_sheet_format"

my question is : why there are two ways to call the same function?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: CREOSON: What's the hidden purpose that I don't understand?

Hi

there is no hidden purpose, the client session way is the simpliest way.

The other exists because of the structure of the librairy

View solution in original post

2 REPLIES 2
Highlighted

Re: CREOSON: What's the hidden purpose that I don't understand?

That is really a package / library question for the developer ... I would post that question on: 

 

https://github.com/Zepmanbc/creopyson/issues

 

 

 

 

Highlighted

Re: CREOSON: What's the hidden purpose that I don't understand?

Hi

there is no hidden purpose, the client session way is the simpliest way.

The other exists because of the structure of the librairy

View solution in original post

Announcements