Impact 2024: The Industrial Data and AI Conference for and by Users | Nominate Speakers Now for a Ch...
This looks good @Mustafa Ilker Sarac I was going through the Cognite Charts and Canvas modules in Cognite Academy and thought to share feedback I had:Cognite Charts:When we add a function node for performing a calculation, say multiplication, I found that the inputs to it can only be two time series.( or constants). If I’m interested doing the same operation with multiple timeseries then I need to making a chain of operators which make the canvas clumsy. Question is, is it possible to a) have multiple inputs to a node b) Perform custom calculation in a node ( without adding it as an algorithm in Industrial Data Science Library) using these multiple inputs Standardising canvas json format. Recently Obsdian (notemaking tool) team released a file type called JSON Canvas which can potentially enable interoperbility between different canvas makers. Any plans in the future to align the json file structure compatible with JSON Canvas so that such files can be imported to Cognite Charts.Cogni
Sorry, I’m not clear. When I downloaded the pdf from the link we see above, i get the certificate which has no name. File attached for reference.
@Nimesh Madandas ,I have completed Date Engineer Basics Transform & Contextualize in addition to Cognite Data Fusion Fundamentals & Data Engineer Basics - Integrate courses. The certificate received for this course did have my name on it.But I have not received any updated certificate for Data Engineer Basics - Integrate with my name on it yet.Which essentially means the above concern raised by @Itika remains still valid right?
Thank you @Maritsa Sarri !
Yes, the cleaning up the transformation did the trick.It is running fine now, Thanks a lot everyone for the prompt support!
And if you can also send the output of asset_transformation = client.transformations.retrieve_multiple(external_ids=[f'{PREFIX}-assets'])[0]asset_transformation Output is attached
@Philips thanks, did you regenerate a secret, updated it in the code and reran through the notebook? What was the output of print(client_secret_auth.iam.token.inspect()) The problem is coming from the secret according to the error message. Yes, I updated the secret in the code. The output is attached
You can then test the newly generated secret via from cognite.client.credentials import OAuthClientCredentialsclient_secret_auth = CogniteClient(ClientConfig( client_name="test-client", base_url=f"https://{CDF_CLUSTER}.cognitedata.com", project=COGNITE_PROJECT, credentials=OAuthClientCredentials( token_url=f"{AUTHORITY_URI}/oauth2/v2.0/token", client_id=CLIENT_ID, client_secret=CLIENT_SECRET, scopes = " ".join(SCOPES)),))print(client_secret_auth.iam.token.inspect()) @Gaetan Helness , The above code did run without any error.But when I’m trying to run the transformation (given below), the error remains the same as before:client.transformations.run(asset_transformation.id, wait=False) Error:CogniteAPIError: Invalid source/destination credentials: Could not authenticate with the OIDC credentials. Please check your credentials. | code: 403 | X-Request-ID: 42d5a64d-d981-9154-8e9c-e302a2082e38
Hi Gaetan, On running the code you gave, I’m getting below error.AttributeError: 'OidcCredentials' object has no attribute 'authorization_header'
Hi @Sofie Haug , @Gaetan Helness Thanks for the response.Yes, I was able to authenticate the first cell in the notebook (i.e. I added the secret that i generated in the course).When this statement is run, print(client.iam.token.inspect().projects) I encountered no error.Following the output I got:[{ "url_name": "cdf-fundamentals", "groups": [ 7233047623736400 ] }, { "url_name": "infield-training", "groups": [ 1376085367190226 ] }, { "url_name": "publicdata", "groups": [ 1701516184810448, 4860375157547584 ] }, { "url_name": "de-transformations", "groups": [ 3974891759857484 ] }] The information I get via below is attached.print(client.iam.token.inspect())best regards,philips
Thank you Sofie for your quick response.I’m not trying to implement the extractor in any CDF Project. Rather I’m going through the course and seeing if I can get the extractor I developed working.Thanks,Philips
Hi @Sofie Haug , I’m currently doing the ‘Extractor-utils Library for Cognite Python SDK’ module in ‘DATA ENGINEER BASICS - INTEGRATE’ course.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.