jsii-pacmak 1.40.0 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  # be installed in the virtual environment used for building the distribution
4
4
  # package (wheel, sdist), but not declared as build-system dependencies.
5
5
 
6
- setuptools~=58.1.0 # build-system
6
+ setuptools~=58.5.3 # build-system
7
7
  wheel~=0.37.0 # build-system
8
8
 
9
- twine~=3.4.2
9
+ twine~=3.5.0
@@ -1,6 +1,6 @@
1
1
  import * as spec from '@jsii/spec';
2
2
  import { CodeMaker } from 'codemaker';
3
- import { Rosetta } from 'jsii-rosetta';
3
+ import { Rosetta, ApiLocation } from 'jsii-rosetta';
4
4
  import { Generator, GeneratorOptions } from '../generator';
5
5
  import { Target, TargetOptions } from '../target';
6
6
  import { NamingContext, PythonImports } from './python/type-name';
@@ -50,13 +50,13 @@ declare class PythonGenerator extends Generator {
50
50
  private rootModule?;
51
51
  private readonly types;
52
52
  constructor(rosetta: Rosetta, options?: GeneratorOptions);
53
- emitDocString(code: CodeMaker, docs: spec.Docs | undefined, options?: {
53
+ emitDocString(code: CodeMaker, apiLocation: ApiLocation, docs: spec.Docs | undefined, options?: {
54
54
  arguments?: DocumentableArgument[];
55
55
  documentableItem?: string;
56
56
  trailingNewLine?: boolean;
57
57
  }): void;
58
- convertExample(example: string): string;
59
- convertMarkdown(markdown: string): string;
58
+ convertExample(example: string, apiLoc: ApiLocation): string;
59
+ convertMarkdown(markdown: string, apiLoc: ApiLocation): string;
60
60
  private prefixDisclaimer;
61
61
  getPythonType(fqn: string): PythonType;
62
62
  protected getAssemblyOutputDir(assm: spec.Assembly): string;
@@ -94,6 +94,7 @@ declare class PythonGenerator extends Generator {
94
94
  */
95
95
  interface DocumentableArgument {
96
96
  name: string;
97
+ definingType: spec.Type;
97
98
  docs?: spec.Docs;
98
99
  }
99
100
  export {};